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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov dword [esp + 0x48], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x34], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x58], 0x3c3d3e3f
mov dword [esp + 0x5c], 0
mov word [esp + 0x60], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 9
ja 0x439889
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x58]
lea edx, [eax - 0x1904aa58]
add eax, 0xa8
or eax, edx
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov ecx, eax
or ecx, 0x67
and eax, 0x67
add eax, ecx
inc al
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x58], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xa
jb 0x439840
mov eax, dword [esp + 0x58]
mov ecx, dword [0x449a0c]
test ecx, ecx
je 0x4398de
xor edx, edx
mov esi, dword [0x449a10]
nop
cmp dword [esi + edx*8], 0xd23749
je 0x4398b0
inc edx
cmp ecx, edx
jne 0x4398a0
jmp 0x4398de
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4398de
lea eax, [esp + 0x34]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x449a14]
push ecx
call fcn.0043a960
add esp, 0x24
test eax, eax
js 0x43a04a
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x2c], 0x10000
jmp 0x439947
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
cmp eax, 0x7fffffff
jae 0x439f7a
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov dword [esp + 0x18], 0x3c3d3e3f
lea eax, [esp + 0x1c]
mov word [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x4399c9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
lea esi, [eax - 0x1904aa58]
add eax, 0xa8
or eax, esi
and eax, edx
or esi, edx
sub esi, eax
mov dword [esp + 8], esi
mov eax, dword [esp + 8]
mov edx, eax
or edx, 0x67
and eax, 0x67
add eax, edx
inc al
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x439980
mov eax, dword [esp + 0x18]
mov edx, dword [0x449a0c]
test edx, edx
je 0x439a20
xor esi, esi
mov edi, dword [0x449a10]
nop
cmp dword [edi + esi*8], 0x1a7c99fc
je 0x4399f0
inc esi
cmp edx, esi
jne 0x4399e0
jmp 0x439a20
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x439a20
push 0
push 0x1c
lea eax, [esp + 0x60]
push eax
push 0
push dword [esp + 0x3c]
push ecx
push 6
push dword [0x449a14]
push edx
call fcn.0043a960
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x439f7a
test eax, eax
js 0x439930
cmp dword [esp + 0x68], 0x1000
jne 0x439930
cmp dword [esp + 0x6c], 1
je 0x439930
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x64], eax
jbe 0x439c1a
mov dword [esp + 0x18], 0x3c3d3e3f
lea eax, [esp + 0x1c]
mov word [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x439ad9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x1904aa58]
add eax, 0xa8
or eax, edx
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
mov ecx, eax
or ecx, 0x67
and eax, 0x67
add eax, ecx
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x439a90
mov eax, dword [0x449a0c]
test eax, eax
je 0x439b2a
mov ecx, dword [esp + 0x18]
xor edx, edx
mov esi, dword [0x449a10]
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x439b00
inc edx
cmp eax, edx
jne 0x439af0
jmp 0x439b2a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x439b2a
push 0x8000
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x449a14]
push eax
call fcn.0043a960
add esp, 0x1c
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0x3c3d3e3f
lea eax, [esp + 0x1c]
mov word [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x439bb9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x1904aa58]
add eax, 0xa8
or eax, edx
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
mov ecx, eax
or ecx, 0x67
and eax, 0x67
add eax, ecx
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x439b70
mov eax, dword [esp + 0x18]
mov ecx, dword [0x449a0c]
test ecx, ecx
je 0x439c0e
xor edx, edx
mov esi, dword [0x449a10]
nop
cmp dword [esi + edx*8], 0xd23749
je 0x439be0
inc edx
cmp ecx, edx
jne 0x439bd0
jmp 0x439c0e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x439c0e
push 4
push 0x3000
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x449a14]
push ecx
call fcn.0043a960
add esp, 0x24
test eax, eax
js 0x439f7a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 8]
push edx
push eax
push dword [esp + 0x14]
push dword [esp + 0x38]
call fcn.00439660
cmp eax, 0xbfffffff
ja 0x439930
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
call fcn.0043a060
add esp, 0x18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
cmp eax, ecx
je 0x439930
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], edx
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x78], eax
mov ecx, eax
jmp 0x439cb8
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
mov dword [esi + ecx*4], eax
add ebx, 4
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x80]
add ecx, 4
cmp ecx, dword [esp + 0x4c]
je 0x439f4e
mov eax, esi
xor eax, ebx
mov edx, esi
not edx
mov edi, edx
and edi, ebx
add edi, edi
sub edi, eax
mov eax, dword [ecx]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
sar edi, 2
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x44], ebx
je 0x439d00
mov ecx, ebx
sub ecx, esi
sar ecx, 2
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x2c]
jmp 0x439e98
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
lea eax, [edi + 1]
mov dword [esp + 0x10], esi
sub ebx, esi
mov ecx, ebx
sar ecx, 2
mov edx, ecx
shr edx, 1
mov dword [esp + 0x14], ecx
add edx, ecx
cmp edx, eax
ja 0x439d26
mov edx, eax
mov eax, edx
and eax, 0xfffffffb
mov ecx, edx
and ecx, 4
mov edi, edx
mov dword [esp + 0x40], edx
or edx, 4
imul edx, ecx
xor ecx, 4
imul ecx, eax
add edx, ecx
push edx
call fcn.00408da0
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
mov dword [esp + 0x30], eax
je 0x439e71
cmp eax, esi
jbe 0x439dd5
lea ecx, [esi + ebx]
cmp ecx, eax
jbe 0x439dd5
test ebx, ebx
je 0x439e60
mov eax, dword [esp + 0x10]
lea esi, [eax + ebx]
dec esi
mov eax, dword [esp + 0x30]
lea ecx, [eax + ebx]
dec ecx
mov edx, dword [esp + 0x3c]
add edx, dword [esp + 0x44]
mov edi, ebx
mov eax, ebx
and eax, 3
je 0x439e14
mov dword [esp + 0x3c], edx
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x44]
not edi
add edi, dword [esp + 0x10]
neg eax
xor ebx, ebx
nop
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
mov byte [ecx + ebx], dl
dec ebx
inc edi
cmp eax, ebx
jne 0x439db0
add esi, ebx
add ecx, ebx
mov eax, dword [esp + 0x7c]
add eax, ebx
mov edx, dword [esp + 0x3c]
cmp edx, 3
jae 0x439e1b
jmp 0x439e60
mov ecx, ebx
shr ecx, 2
mov edx, esi
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
add eax, edx
add edx, esi
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov esi, ebx
mov ebx, edx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, esi
test bl, 1
je 0x439e60
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [eax + ebx], cl
jmp 0x439e60
mov eax, edi
cmp edx, 3
jb 0x439e60
mov edx, eax
not edx
lea edi, [eax + eax]
add edi, 0xfffffffa
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + ebx*2]
mov byte [ecx + ebx*2], al
movzx eax, byte [esi + ebx*2 - 1]
mov byte [ecx + ebx*2 - 1], al
movzx eax, byte [esi + ebx*2 - 2]
mov byte [ecx + ebx*2 - 2], al
movzx eax, byte [esi + ebx*2 - 3]
mov byte [ecx + ebx*2 - 3], al
add ebx, 0xfffffffe
add edx, 4
add edi, 0xfffffff8
cmp edx, 0xffffffff
jne 0x439e30
mov esi, dword [esp + 0x10]
push esi
call fcn.00408db0
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edi, dword [esp + 0x38]
lea edx, [eax + edi*4]
mov dword [ecx + 4], edx
mov ebx, dword [esp + 0x40]
lea eax, [eax + ebx*4]
mov ebx, edx
mov dword [esp + 0x10], eax
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x50], eax
cmp ecx, edi
jae 0x439c90
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x30]
lea eax, [ebx + ecx*4]
mov dword [esp + 0x40], eax
mov eax, ecx
lea ecx, [esi + edi*4]
mov edx, ecx
mov edi, dword [esp + 0x44]
sub edx, edi
mov dword [esp + 0x14], eax
lea eax, [ebx + eax*4]
add eax, 4
mov ebx, dword [esp + 0x40]
lea esi, [ebx + edx]
cmp esi, eax
jbe 0x439f00
mov esi, ebx
cmp ecx, edi
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
je 0x439c90
push edx
push esi
push eax
call fcn.00408e20
mov ecx, dword [esp + 0x20]
add esp, 0xc
jmp 0x439c90
mov ecx, edx
shr ecx, 2
mov esi, ebx
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, edx
and esi, 0xfffffffc
add eax, esi
add esi, ebx
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, esi
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
je 0x439c90
and edx, 2
movzx ecx, byte [esi + edx]
mov byte [eax + edx], cl
mov ecx, dword [esp + 0x14]
jmp 0x439c90
mov eax, dword [esp + 0x78]
test eax, eax
je 0x439930
cmp eax, dword [esp + 0x4c]
je 0x439930
push eax
call fcn.00408db0
add esp, 4
mov dword [esp + 0x18], 0
jmp 0x439930
mov dword [esp + 0x18], 0x3c3d3e3f
mov dword [esp + 0x1c], 0
mov word [esp + 0x20], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x439ff9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x1904aa58]
add eax, 0xa8
or eax, edx
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
mov ecx, eax
or ecx, 0x67
and eax, 0x67
add eax, ecx
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x439fb0
mov eax, dword [0x449a0c]
test eax, eax
je 0x43a04a
mov ecx, dword [esp + 0x18]
xor edx, edx
mov esi, dword [0x449a10]
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x43a020
inc edx
cmp eax, edx
jne 0x43a010
jmp 0x43a04a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43a04a
push 0x8000
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x449a14]
push eax
call fcn.0043a960
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10