Function at 0x4399da
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 0x4399f8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
xor bl, bl
cmp dword [esi + 0x48], edi
je 0x439a6d
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x439a14
mov ecx, dword [ebp - 8]
sub ecx, dword [esi + 0x34]
cmp ecx, eax
jb 0x439c0b
lea edx, [esi + 0x18]
lea ecx, [esi + 0x80]
call fcn.0040285a
test al, al
je 0x439a6d
lea edx, [esi + 0x24]
lea ecx, [esi + 0x8c]
call fcn.004031b4
test al, al
je 0x439a6d
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x10]
jne 0x439a6d
mov eax, dword [esi + 0x7c]
cmp eax, dword [esi + 0x14]
jne 0x439a6d
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 8]
jne 0x439a6b
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0xc]
jne 0x439a6b
mov eax, dword [esi + 0x68]
cmp eax, dword [esi]
jne 0x439a6b
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 4]
je 0x439c0b
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.0043993e
test bl, bl
je 0x439a9a
lea edx, [esi + 0x98]
mov ecx, edi
call fcn.0040285a
test al, al
jne 0x439c0b
push edi
lea ecx, [esi + 0x98]
call fcn.00402606
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, eax
or ecx, edx
je 0x439ad0
push edx
lea ecx, [ebp - 0x28]
push eax
call fcn.004017b1
push 0x20
mov ecx, edi
call fcn.00401d76
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004026d4
cmp dword [esi + 0x1c], 0
je 0x439aea
push 0x20
mov ecx, edi
call fcn.00401d76
lea eax, [esi + 0x18]
mov ecx, edi
push eax
call fcn.00402716
cmp dword [esi + 0x28], 0
je 0x439bae
mov eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jae 0x439bae
push 0x20
mov ecx, edi
call fcn.00401d76
lea ebx, [esi + 0x50]
lea ecx, [esi + 0x24]
mov edx, ebx
call fcn.00401fde
push 0x20
push 0xa
mov ecx, ebx
call fcn.0040281e
mov eax, dword [esi + 0x54]
add eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jbe 0x439ba3
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x439b99
mov eax, ebx
shr eax, 3
jne 0x439b43
push 1
pop eax
sub ebx, eax
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x5c]
call fcn.00402cbf
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.0040320b
push 0x491d60
lea ecx, [esi + 0x5c]
push dword [ebp - 4]
call fcn.00403079
lea edx, [esi + 0x50]
lea ecx, [esi + 0x5c]
call fcn.00401fde
mov eax, dword [esi + 0x54]
add eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0xac]
jbe 0x439b95
test ebx, ebx
jne 0x439b39
test ebx, ebx
jne 0x439ba3
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.00402716
lea ecx, [esi + 0x44]
mov edx, edi
call fcn.00439c10
test al, al
je 0x439bf6
push 0
mov ecx, esi
call fcn.004398ab
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 0x439bed
mov ecx, dword [ebx]
call fcn.00401f21
push edi
lea ecx, [esi + 0x44]
call fcn.00402606
push esi
lea ecx, [esi + 0x68]
call fcn.00439c2e
cmp dword [esi + 0x30], 0
je 0x439c0b
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
pop edi
pop esi
pop ebx
leave
ret