Function at 0x439580
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
lea edi, [esi + 0x120]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x43eff0
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
mov dl, 0xff
lea ebx, [esi + 0x38]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea ecx, [esi + 0x1b]
mov byte [ecx], dl
mov al, 0xff
lea edx, [esi + 0x1a]
mov byte [edx], al
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x50]
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
push edx
push ecx
push eax
push dword [ebp + 0x14]
mov dword [esi + 0x1c], ebx
push ebx
call fcn.00439a60
add esp, 0x14
xor eax, eax
lea ecx, [esi + 0x20]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [edi + 8], eax
push eax
push 0xa
call fcn.0046d150
cmp byte [esi + 0x2b], 0
lea ecx, [esi + 0x20]
jns 0x43961c
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x34]
mov dword [esi + 4], ecx
mov dword [eax], ecx
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x78]
push 0xa0
push 0xff
push ebx
call fcn.0048ef90
add esp, 0xc
lea eax, [esi + 0x30]
mov dword [esi + 0x44], ebx
mov dword [eax], ebx
lea eax, [esi + 0x48]
mov dword [eax], 0
lea eax, [esi + 0xf]
mov byte [eax], 1
lea eax, [esi + 0x19]
mov byte [eax], 0x45
test edi, edi
je 0x43972e
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov ebx, dword [esi + 4]
je 0x439716
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x439883
xor ecx, ecx
test edi, edi
je 0x43973b
mov dword [esi + 0x10], ecx
movzx ecx, byte [esi + 0x2b]
test cl, cl
jns 0x43969a
mov ecx, dword [esi + 0x24]
lea eax, [ebx + ecx]
cmp dword [esi + 0x34], eax
mov dword [esi + 8], edi
je 0x439821
mov cl, byte [esi + 0x1a]
mov dl, byte [esi + 0x1b]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [esi + 4], ebx
je 0x4398a1
movzx eax, byte [eax]
movsx ecx, cl
movsx edx, dl
movsx eax, al
lea edi, [esi + 0x50]
push edi
lea edi, [esi + 0x48]
push edi
lea edi, [esi + 0x30]
push edi
lea edi, [esi + 0x78]
push edi
lea edi, [esi + 0x38]
push edi
push ecx
push edx
lea ecx, [esi + 0x34]
push ecx
push ebx
lea ecx, [esi + 0x19]
push ecx
lea ecx, [esi + 0xf]
push ecx
push eax
call fcn.00439c20
add esp, 0x30
mov edi, dword [esi + 8]
test eax, eax
jne 0x4398cb
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4398bc
inc eax
mov dword [edi + 0xc], eax
jmp 0x439660
mov eax, dword [edi]
mov ecx, edi
mov dword [esi + 8], edi
call dword [eax + 0x20]
mov edx, dword [esi + 8]
xor edi, edi
cmp eax, 0xffffffff
je 0x439730
mov edi, edx
jmp 0x439730
xor edi, edi
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 4]
jmp 0x43967a
mov dword [esi + 0x10], 0
xor edi, edi
movzx eax, byte [esi + 0x43]
test al, al
jns 0x43974f
mov eax, dword [esi + 0x3c]
mov dword [esi + 8], edi
test eax, eax
je 0x439760
cmp byte [esi + 0xf], 0
jne 0x43991a
push dword [ebp + 0x18]
push dword [esi + 0x34]
push ebx
call fcn.0043ed80
add esp, 0xc
fstp dword [esi + 0x4c]
movd xmm0, dword [esi + 0x4c]
mov eax, dword [ebp + 0x1c]
movd dword [eax], xmm0
mov bl, byte [esi + 0x43]
test bl, bl
mov edx, dword [esi + 0x3c]
movzx eax, bl
mov dword [esi + 4], eax
cmovs eax, edx
test eax, eax
je 0x4397a6
mov edi, dword [esi + 0x30]
mov eax, edi
lea ecx, [esi + 0x78]
sub eax, ecx
cmp eax, 5
jge 0x439940
mov edx, dword [esi + 8]
test edx, edx
je 0x43981a
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
mov eax, dword [ebp + 8]
je 0x4397fa
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4398ee
test edx, edx
jne 0x4397cd
mov ecx, dword [ebp + 0x18]
or byte [ecx], 2
mov dword [eax], edx
cmp byte [esi + 0x2b], 0
js 0x439870
cmp byte [esi + 0x43], 0
js 0x439907
mov ecx, dword [esi + 0x120]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov eax, dword [edx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x128], 0
mov ecx, edx
call eax
mov edx, dword [esi + 8]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edx, ecx
jmp 0x43981c
xor edx, edx
mov eax, dword [ebp + 8]
jmp 0x4397b8
mov dword [esi + 4], ecx
lea eax, [ecx + ecx]
lea ecx, [esi + 0x20]
push 0
push eax
call fcn.0046d150
mov eax, dword [esi + 0x28]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0x2b], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x20]
push 0
push eax
call fcn.0046d150
mov edi, dword [esi + 8]
cmp byte [esi + 0x2b], 0
lea ebx, [esi + 0x20]
jns 0x439863
mov ebx, dword [esi + 0x20]
mov eax, dword [esi + 4]
add eax, ebx
mov dword [esi + 0x34], eax
jmp 0x4396a9
push dword [esi + 0x20]
call fcn.0048b376
mov eax, dword [ebp + 8]
add esp, 4
jmp 0x4397d9
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x10]
cmp eax, dword [ecx + 0x10]
mov ecx, dword [esi + 0x10]
je 0x4398d3
test edi, edi
je 0x43968c
jmp 0x439744
mov byte [esi + 0x17], dl
mov byte [esi + 0x18], cl
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov ebx, dword [esi + 4]
mov cl, byte [esi + 0x18]
mov dl, byte [esi + 0x17]
jmp 0x4396c1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov edi, dword [esi + 8]
jmp 0x439660
mov ebx, dword [esi + 4]
jmp 0x439744
mov eax, dword [ecx]
mov dword [esi + 8], edi
call dword [eax + 0x20]
mov edi, dword [esi + 8]
cmp eax, 0xffffffff
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 4]
jne 0x439894
jmp 0x439682
mov edi, dword [ecx + 0xc]
cmp edi, dword [ecx + 0x10]
je 0x4399f5
test edx, edx
jne 0x4397c7
jmp 0x4397cd
push dword [esi + 0x38]
call fcn.0048b376
mov eax, dword [ebp + 8]
add esp, 4
jmp 0x4397e3
mov eax, dword [esi + 0x30]
mov ecx, eax
lea edx, [esi + 0x78]
sub ecx, edx
cmp ecx, 0x9f
jg 0x439760
mov ecx, dword [esi + 0x48]
lea edx, [eax + 4]
mov dword [esi + 0x30], edx
mov dword [eax], ecx
jmp 0x439760
lea eax, [edi - 4]
lea ecx, [esi + 0x78]
cmp ecx, edi
je 0x439974
lea ecx, [esi + 0x78]
cmp eax, ecx
jbe 0x439974
lea ecx, [esi + 0x78]
mov edx, eax
mov edi, dword [ecx]
mov ebx, dword [edx]
mov dword [ecx], ebx
mov dword [edx], edi
add ecx, 4
add edx, 0xfffffffc
cmp ecx, edx
jb 0x439956
mov bl, byte [esi + 0x43]
mov edx, dword [esi + 0x3c]
movzx ecx, bl
mov dword [esi + 4], ecx
test bl, bl
jns 0x439981
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x1c], ecx
mov dword [esi + 4], edx
lea edx, [esi + 0x78]
cmp eax, edx
jbe 0x4399c9
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x1c]
mov dword [esi + 4], ecx
mov edx, dword [esi + 0x1c]
movzx edx, byte [edx]
mov ebx, edx
dec bl
cmp bl, 0x7d
ja 0x4399a7
mov ecx, dword [esi + 0x44]
cmp dword [ecx], edx
jne 0x4399e7
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x1c]
sub edx, edi
xor ebx, ebx
cmp edx, 2
setge bl
add edi, ebx
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 0x44]
add ecx, 4
mov dword [esi + 0x44], ecx
cmp ecx, eax
jb 0x439991
mov ecx, dword [esi + 0x1c]
movzx ecx, byte [ecx]
mov edx, ecx
dec dl
cmp dl, 0x7d
ja 0x4397a6
mov eax, dword [eax]
dec eax
cmp eax, ecx
jb 0x4397a6
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
jmp 0x4397a6
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x128], 0
mov dword [esi + 8], edx
call eax
mov edx, dword [esi + 8]
cmp eax, 0xffffffff
mov eax, dword [ebp + 8]
jne 0x4398fa
jmp 0x4397c3