Function at 0x1003c4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4a0
mov eax, dword [0x10194180]
push ebp
mov ebp, ecx
mov dword [esp + 0x4a0], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1003c4d7
mov eax, 0x40000
pop ebp
mov ecx, dword [esp + 0x49c]
call fcn.100571c6
add esp, 0x4a0
ret 0x10
mov al, byte [ebp + 0x2c]
test al, al
je 0x1003c4f9
mov eax, 0x50000
pop ebp
mov ecx, dword [esp + 0x49c]
call fcn.100571c6
add esp, 0x4a0
ret 0x10
cmp dword [ebp], 0
push esi
mov esi, dword [esp + 0x4b8]
mov dword [esp + 0x10], 0
je 0x1003c51c
cmp esi, 4
je 0x1003c51c
mov dword [esp + 0x10], 0xc
mov eax, dword [esp + 0x4ac]
lea edx, [esp + 0x3a0]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1003c530
mov al, byte [esp + 0x3a0]
test al, al
jne 0x1003c561
pop esi
mov eax, 0x10000
pop ebp
mov ecx, dword [esp + 0x49c]
call fcn.100571c6
add esp, 0x4a0
ret 0x10
lea eax, [esp + 0x3a0]
cmp byte [eax], 0x5c
jne 0x1003c570
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1003c568
cmp esi, 4
sete al
test al, al
push ebx
mov byte [esp + 0xf], al
je 0x1003c5a8
lea eax, [esp + 0x3a4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003c591
sub eax, edx
cmp byte [esp + eax + 0x3a3], 0x2f
je 0x1003c5a8
mov bl, 1
jmp 0x1003c5aa
xor bl, bl
mov al, byte [esp + 0xf]
test al, al
push edi
mov edi, 8
mov dword [esp + 0x14], edi
jne 0x1003c5d0
lea eax, [esp + 0x3a8]
push eax
call fcn.1003a150
add esp, 4
test al, al
je 0x1003c5d6
xor edi, edi
mov dword [esp + 0x14], edi
cmp esi, 2
jne 0x1003c5ec
mov ecx, dword [esp + 0x4b8]
push ecx
mov ecx, ebp
call fcn.1003b5a0
jmp 0x1003c638
cmp esi, 1
jne 0x1003c60a
mov edx, dword [esp + 0x4bc]
mov eax, dword [esp + 0x4b8]
push edx
push eax
mov ecx, ebp
call fcn.1003a7e0
jmp 0x1003c638
cmp esi, 3
jne 0x1003c628
mov ecx, dword [esp + 0x4bc]
mov edx, dword [esp + 0x4b8]
push ecx
push edx
mov ecx, ebp
call fcn.1003a930
jmp 0x1003c638
cmp esi, 4
jne 0x1003cb6a
mov ecx, ebp
call fcn.1003aa20
xor esi, esi
cmp eax, esi
jne 0x1003cb6f
mov dword [esp + 0x3a4], esi
mov byte [esp + 0x80], 0
xor eax, eax
jmp 0x1003c660
mov cl, byte [esp + eax + 0x3a8]
mov byte [esp + eax + 0x190], cl
inc eax
test cl, cl
jne 0x1003c660
lea eax, [esp + 0x190]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003c680
sub eax, edx
test bl, bl
mov dword [esp + 0x60], eax
je 0x1003c6c0
lea edi, [esp + 0x190]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003c6a0
mov ax, word [0x101363a4]
mov word [edi], ax
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
inc eax
mov dword [esp + 0x60], eax
xor esi, esi
mov ecx, dword [ebp + 0x68]
mov dword [esp + 0x50], ecx
cmp dword [ebp], esi
mov ax, 8
mov byte [esp + 0x294], 0
mov dword [esp + 0x18c], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x398], 1
mov dword [esp + 0x3a0], esi
mov word [esp + 0x72], si
mov word [esp + 0x48], 0xb17
mov word [esp + 0x4a], 0x14
mov dword [esp + 0x54], esi
mov word [esp + 0x4c], ax
je 0x1003c722
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x1003c722
mov ax, 9
mov word [esp + 0x4c], ax
cmp edi, esi
mov word [esp + 0x74], ax
mov word [esp + 0x4e], di
jne 0x1003c743
mov eax, dword [ebp + 0x70]
cmp eax, esi
jl 0x1003c743
mov edx, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x58], eax
jmp 0x1003c747
mov dword [esp + 0x58], esi
mov eax, dword [ebp + 0x70]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x4c]
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov dword [esp + 0x5c], eax
add edx, dword [ebp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dl, byte [ebp + 0x58]
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], ecx
mov byte [esp + 0x21], dl
mov eax, esi
mov edx, edi
mov cl, 8
mov word [esp + 0x70], 0
mov dword [esp + 0x64], 0x11
mov dword [esp + 0x68], 9
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x54
mov byte [esp + 0x1e], 0xd
mov byte [esp + 0x1f], 0
mov byte [esp + 0x20], 7
call fcn.100594a0
mov byte [esp + 0x22], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.100594a0
mov byte [esp + 0x23], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.100594a0
mov esi, dword [ebp + 0x50]
mov edi, dword [ebp + 0x54]
mov bl, al
mov al, byte [ebp + 0x50]
mov byte [esp + 0x25], al
mov eax, esi
mov edx, edi
mov cl, 8
mov byte [esp + 0x24], bl
call fcn.100594a0
mov byte [esp + 0x26], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.100594a0
mov byte [esp + 0x27], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.100594a0
mov cl, byte [ebp + 0x60]
mov esi, dword [ebp + 0x60]
mov edi, dword [ebp + 0x64]
mov byte [esp + 0x28], al
mov byte [esp + 0x29], cl
mov eax, esi
mov edx, edi
mov cl, 8
call fcn.100594a0
mov byte [esp + 0x2a], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.100594a0
mov byte [esp + 0x2b], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.100594a0
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], edx
push ebp
lea ecx, [esp + 0x4c]
push 0x1003b580
push ecx
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], bl
mov byte [esp + 0x3e], 5
call fcn.10039660
add esp, 0xc
test eax, eax
je 0x1003c896
mov ecx, ebp
call fcn.1003abc0
mov eax, 0x400
jmp 0x1003cb6f
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
lea ecx, [eax + edx + 0x1e]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
add edx, ecx
test eax, eax
mov dword [ebp + 0x18], edx
je 0x1003c8c0
mov ecx, ebp
call fcn.1003abc0
mov eax, dword [ebp + 0x14]
jmp 0x1003cb6f
mov esi, dword [ebp]
test esi, esi
lea edi, [ebp + 0x30]
mov dword [edi], 0x12345678
mov dword [ebp + 0x34], 0x23456789
mov dword [ebp + 0x38], 0x34567890
je 0x1003c8f5
mov edi, edi
xor eax, eax
mov al, byte [esi]
test al, al
je 0x1003c8f5
push eax
push edi
call fcn.1003a070
add esp, 8
inc esi
jne 0x1003c8e0
mov al, byte [0x101a5f14]
test al, al
jne 0x1003c917
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
push esi
call fcn.1005946a
add esp, 4
xor esi, esi
lea esp, [esp]
call fcn.10059477
sar eax, 7
mov byte [esp + esi + 0x3c], al
inc esi
cmp esi, 0xc
jl 0x1003c920
mov edx, dword [esp + 0x50]
shr edx, 8
mov byte [esp + 0x47], dl
xor esi, esi
nop
xor eax, eax
mov al, byte [esp + esi + 0x3c]
push eax
push edi
call fcn.1003a0d0
add esp, 8
mov byte [esp + esi + 0x3c], al
inc esi
cmp esi, 0xc
jl 0x1003c940
cmp dword [ebp], 0
mov bl, byte [esp + 0x13]
je 0x1003c97a
test bl, bl
jne 0x1003c97a
push 0xc
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.1003a660
add dword [ebp + 0x18], 0xc
mov eax, dword [ebp]
xor esi, esi
cmp eax, esi
je 0x1003c98e
test bl, bl
jne 0x1003c98e
mov eax, 1
jmp 0x1003c990
xor eax, eax
test bl, bl
mov edi, dword [esp + 0x14]
mov byte [ebp + 0x2d], al
jne 0x1003c9bf
cmp edi, 8
jne 0x1003c9b0
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.1003c350
mov esi, eax
jmp 0x1003c9c5
cmp edi, esi
jne 0x1003c9c5
mov ecx, ebp
call fcn.1003ac20
mov esi, eax
jmp 0x1003c9c5
mov dword [ebp + 0x90], esi
mov al, byte [ebp + 0x80]
test al, al
mov byte [ebp + 0x2d], 0
je 0x1003c9e1
mov eax, dword [ebp + 0x7c]
test eax, eax
je 0x1003c9e1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x90]
mov ecx, dword [ebp + 0x74]
add eax, edx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [ebp + 0x7c], 0
mov dword [ebp + 0x70], ecx
jne 0x1003cb6f
test esi, esi
jne 0x1003c88c
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 0x78]
add eax, edx
cmp dword [esp + 0x58], eax
mov dword [esp + 0x58], eax
mov al, byte [ebp + 0x1c]
sete dl
test al, al
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], ecx
je 0x1003ca9e
cmp dword [ebp], 0
je 0x1003ca3c
test bl, bl
je 0x1003ca9e
test byte [esp + 0x4c], 1
mov word [esp + 0x4e], di
jne 0x1003ca4d
and byte [esp + 0x4c], 0xf7
mov cx, word [esp + 0x4c]
mov edx, dword [esp + 0x7c]
sub edx, dword [ebp + 0x10]
mov word [esp + 0x74], cx
push edx
mov ecx, ebp
call fcn.1003a770
test al, al
je 0x1003ca94
push ebp
lea eax, [esp + 0x4c]
push 0x1003b580
push eax
call fcn.10039660
add esp, 0xc
test eax, eax
jne 0x1003c88c
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, ebp
call fcn.1003a770
test al, al
jne 0x1003cae0
mov eax, 0x2000000
jmp 0x1003cb6f
cmp word [esp + 0x4e], di
je 0x1003caaf
mov eax, 0x4000000
jmp 0x1003cb6f
test edi, edi
jne 0x1003cab7
test dl, dl
je 0x1003caa5
push ebp
lea edx, [esp + 0x4c]
push 0x1003b580
push edx
call fcn.100398c0
add esp, 0xc
test eax, eax
jne 0x1003c88c
add dword [ebp + 0x18], 0x10
mov ax, word [esp + 0x74]
mov word [esp + 0x4c], ax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x1003cb6f
mov ecx, dword [esp + 0x68]
push ecx
call fcn.101209d2
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x18c]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x360
mov dword [esp + 0x190], eax
call fcn.101209a7
mov ecx, 0xd8
lea esi, [esp + 0x50]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x44]
add esp, 8
test ecx, ecx
jne 0x1003cb3f
mov dword [ebp + 0x44], eax
xor eax, eax
jmp 0x1003cb6f
mov edx, dword [ecx + 0x35c]
test edx, edx
je 0x1003cb60
lea esp, [esp]
mov ecx, dword [ecx + 0x35c]
mov edx, dword [ecx + 0x35c]
test edx, edx
jne 0x1003cb50
mov dword [ecx + 0x35c], eax
xor eax, eax
jmp 0x1003cb6f
mov eax, 0x10000
mov ecx, dword [esp + 0x4ac]
pop edi
pop ebx
pop esi
pop ebp
call fcn.100571c6
add esp, 0x4a0
ret 0x10