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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov ecx, dword [ebp + 0x14]
lea eax, [esi + 0x120]
mov dword [eax - 4], esp
xor edi, edi
dec edi
mov dword [eax + 8], edi
mov dword [eax + 4], 0x443ae0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov dword [esi + 0x70], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
xor edx, edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], edx
mov dword [eax + 8], edx
lea eax, [esi + 0xc]
push eax
call fcn.0049f000
mov edi, dword [esi + 0xc]
mov dword [esi + 0x78], 0x59787c
mov dword [esi + 0x7c], 0x440f40
mov eax, dword [0x59787c]
cmp eax, 0xffffffff
jne 0x4397bc
mov eax, dword [0x597880]
lea edx, [eax - 1]
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0xc]
sub edi, ecx
sar edi, 2
cmp edi, edx
jbe 0x4397ad
mov edi, dword [ecx + eax*4 - 4]
test edi, edi
je 0x4397ad
mov eax, dword [edi]
mov ebx, dword [eax + 0x28]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x128], 2
lea eax, [esi + 0x40]
mov ecx, edi
push eax
push 0x57a1ca
push str.0123456789abcdefABCDEFxX_pPiInN
call ebx
mov edi, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x43956f
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
xor eax, eax
lea ecx, [esi + 0x10]
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
xor edx, edx
cmp byte [ecx + 0xb], 0
sets dl
neg edx
or edx, 0xa
mov dword [esi + 0x128], 1
push eax
push edx
call fcn.004a0660
cmp byte [esi + 0x1b], 0
lea eax, [esi + 0x10]
jns 0x4395a7
mov eax, dword [esi + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edi, [esi + 0x78]
push 0xa0
push 0xff
push edi
call fcn.004c9370
add esp, 0xc
lea eax, [esi + 0x30]
mov dword [eax], edi
lea eax, [esi + 0x2c]
mov dword [eax], 0
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.004f6e60
test al, al
jne 0x4396ec
mov eax, dword [esi + 0xc]
movzx ebx, byte [esi + 0x1b]
test bl, bl
mov edx, dword [esi + 8]
jns 0x4395f6
mov ebx, dword [esi + 0x14]
lea ecx, [edx + ebx]
cmp eax, ecx
jne 0x439644
mov dword [esi + 8], ebx
lea eax, [ebx + ebx]
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.004a0660
mov eax, dword [esi + 0x18]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0x1b], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.004a0660
cmp byte [esi + 0x1b], 0
lea edx, [esi + 0x10]
jns 0x43963c
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
add eax, edx
mov dword [esi + 0xc], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [esi + 8], edx
je 0x439657
movzx eax, word [eax]
jmp 0x43967f
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x128], 1
mov ecx, edi
call ebx
mov edx, dword [esi + 8]
movzx eax, ax
lea ecx, [esi + 0x40]
push ecx
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esi + 0x78]
push ecx
lea ecx, [esi + 0x20]
push ecx
push 0
lea ecx, [esi + 0x2c]
push ecx
lea ecx, [esi + 0xc]
push ecx
push edx
push 0x10
push eax
call fcn.004fc670
add esp, 0x28
test eax, eax
jne 0x4396ec
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4396c2
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x4395d1
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x128], 1
mov ecx, edi
call ebx
jmp 0x4395d1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub eax, ecx
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.004a0660
lea eax, [esi + 0x34]
push eax
call fcn.0049f170
add esp, 4
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x1b], 0
lea ecx, [esi + 0x10]
jns 0x43971a
mov ecx, dword [esi + 0x10]
push dword [ebp + 0x1c]
push eax
push 0x578af3
push ecx
call fcn.004fc1d0
add esp, 0x10
mov edi, eax
mov ebx, dword [esi + 0x3c]
test ebx, ebx
jne 0x43979b
cmp edi, 1
je 0x439743
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.004f6e60
test al, al
je 0x439759
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0x1b], 0
jns 0x439772
push dword [esi + 0x10]
call fcn.004c5c98
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x439783
push dword [esi + 0x20]
call fcn.004c5c98
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov ecx, ebx
call fcn.004faf10
push ebx
call fcn.004c5c98
add esp, 4
jmp 0x439735
mov dword [esi + 0x128], 2
call fcn.004f6d20
mov dword [esi + 8], edi
lea eax, [esi + 0x78]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
lea eax, [esi + 0x34]
mov dword [eax], ecx
mov dword [esi + 0x128], 2
push 0x4432f0
push eax
push 0x59787c
call fcn.00443c90
add esp, 0xc
mov edi, dword [esi + 8]
jmp 0x4394eb