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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x30], edi
mov dword [ebp - 8], edi
je 0x43985f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
xor bl, bl
cmp dword [esi + 0x48], edi
je 0x4398d4
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x43987b
mov ecx, dword [ebp - 8]
sub ecx, dword [esi + 0x34]
cmp ecx, eax
jb 0x439a72
lea edx, [esi + 0x18]
lea ecx, [esi + 0x80]
call fcn.00402781
test al, al
je 0x4398d4
lea edx, [esi + 0x24]
lea ecx, [esi + 0x8c]
call fcn.004030db
test al, al
je 0x4398d4
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x10]
jne 0x4398d4
mov eax, dword [esi + 0x7c]
cmp eax, dword [esi + 0x14]
jne 0x4398d4
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 8]
jne 0x4398d2
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0xc]
jne 0x4398d2
mov eax, dword [esi + 0x68]
cmp eax, dword [esi]
jne 0x4398d2
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 4]
je 0x439a72
mov bl, 1
mov eax, dword [esi + 0x38]
and dword [esi + 0x3c], 0
lea edi, [esi + 0x38]
mov ecx, esi
and byte [eax], 0
call fcn.004397a5
test bl, bl
je 0x439901
lea edx, [esi + 0x98]
mov ecx, edi
call fcn.00402781
test al, al
jne 0x439a72
push edi
lea ecx, [esi + 0x98]
call fcn.0040252d
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, eax
or ecx, edx
je 0x439937
push edx
lea ecx, [ebp - 0x28]
push eax
call fcn.00401727
push 0x20
mov ecx, edi
call fcn.00401cf1
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004025fb
cmp dword [esi + 0x1c], 0
je 0x439951
push 0x20
mov ecx, edi
call fcn.00401cf1
lea eax, [esi + 0x18]
mov ecx, edi
push eax
call fcn.0040263d
cmp dword [esi + 0x28], 0
je 0x439a15
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jae 0x439a15
push 0x20
mov ecx, edi
call fcn.00401cf1
lea ebx, [esi + 0x50]
lea ecx, [esi + 0x24]
mov edx, ebx
call fcn.00401f59
push 0x20
push 0xa
mov ecx, ebx
call fcn.00402745
mov eax, dword [esi + 0x54]
add eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jbe 0x439a0a
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x439a00
mov eax, ebx
shr eax, 3
jne 0x4399aa
push 1
pop eax
sub ebx, eax
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x5c]
call fcn.00402be6
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], ebx
shr dword [ebp - 4], 1
sub eax, ebx
lea ecx, [esi + 0x5c]
push eax
push dword [ebp - 4]
call fcn.00403132
push 0x48fd28
lea ecx, [esi + 0x5c]
push dword [ebp - 4]
call fcn.00402fa0
lea edx, [esi + 0x50]
lea ecx, [esi + 0x5c]
call fcn.00401f59
mov eax, dword [esi + 0x54]
add eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jbe 0x4399fc
test ebx, ebx
jne 0x4399a0
test ebx, ebx
jne 0x439a0a
mov eax, dword [esi + 0x50]
and dword [esi + 0x54], 0
and byte [eax], 0
lea eax, [esi + 0x50]
mov ecx, edi
push eax
call fcn.0040263d
lea ecx, [esi + 0x44]
mov edx, edi
call fcn.00439a77
test al, al
je 0x439a5d
push 0
mov ecx, esi
call fcn.00439712
mov eax, dword [esi + 0xa4]
lea ebx, [esi + 0xa4]
push dword [eax]
push dword [edi]
call dword [sym.imp.MSVCRT.dll_fputs]
cmp byte [esi + 0xa8], 0
pop ecx
pop ecx
je 0x439a54
mov ecx, dword [ebx]
call fcn.00401e9c
push edi
lea ecx, [esi + 0x44]
call fcn.0040252d
push esi
lea ecx, [esi + 0x68]
call fcn.00439a95
cmp dword [esi + 0x30], 0
je 0x439a72
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
pop edi
pop esi
pop ebx
leave
ret