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

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
xor ebx, ebx
sub esp, 0x8c
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edx
mov eax, edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
call fcn.00439270
mov dword [esp + 0x30], eax
lea eax, [edi + 0x60]
mov dword [esp + 0x3c], eax
jmp 0x439571
lea eax, [esp + 0x44]
mov dword [esp + 8], 4
mov dword [esp + 0x38], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0046d3a0
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, ebp
or eax, 2
test edx, edx
cmovne ebp, eax
test esi, esi
mov dword [esp + ebx*4 + 0x6c], ebp
je 0x4398aa
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x78]
test eax, eax
jle 0x439800
cmp edi, dword [ebx + 0x50]
je 0x439830
cmp eax, 1
je 0x439885
cmp edi, dword [ebx + 0x54]
je 0x439890
cmp eax, 2
je 0x4398a0
cmp edi, dword [ebx + 0x58]
je 0x439920
cmp eax, 3
je 0x439930
cmp edi, dword [ebx + 0x5c]
je 0x439940
cmp eax, 4
je 0x439950
mov eax, ebx
mov ebx, 6
cmp edi, dword [eax + 0x60]
je 0x439960
add dword [esi + 0x18], 1
test ebp, 1
je 0x4394f3
add dword [esi + 0x1c], 1
and ebp, 2
je 0x4394fc
add dword [esi + 0x20], 1
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + 0x18]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0046ce70
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
test edx, edx
setne dl
movzx edx, dl
add edx, edx
test eax, eax
setne al
movzx eax, al
or eax, edx
cmp dword [esi + 0x10], eax
mov ebp, eax
je 0x439568
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x439565
mov edx, dword [esi + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0x38]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp], edi
call eax
mov dword [esi + 0x10], ebp
cmp ebx, 4
jg 0x439630
mov ecx, ebx
mov eax, 1
mov edx, 1
shl eax, cl
lea ecx, [ebx + 0x10]
shl edx, cl
mov ecx, eax
or ecx, edx
test dword [esp + 0x30], ecx
je 0x439630
mov esi, dword [esp + 0x30]
mov edi, dword [esp + ebx*4 + 0x58]
and edx, esi
test esi, eax
mov dword [esp + 0x44], edi
setne al
cmp edi, 0xffffffff
movzx eax, al
mov ebp, eax
jne 0x439440
test edx, edx
je 0x4395ba
or ebp, 2
mov dword [esp + ebx*4 + 0x6c], ebp
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 4], 0x24
mov dword [esp], 1
call dword [0x536380]
test eax, eax
mov esi, eax
je 0x439980
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0046ce50
lea eax, [esp + 0x50]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0046d210
test eax, eax
je 0x439810
add ebx, 1
jmp 0x4394e3
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
xor edi, edi
mov eax, dword [eax + 0x78]
lea ebp, [esi + 0x60]
test eax, eax
jle 0x43974e
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x2c]
test ebx, ebx
mov esi, dword [ebp + edi*4 + 0x50]
je 0x43969e
cmp dword [esp + 0x58], esi
je 0x439743
cmp ebx, 1
je 0x43969e
cmp esi, dword [esp + 0x5c]
je 0x439743
cmp ebx, 2
je 0x43969e
cmp esi, dword [esp + 0x60]
je 0x439743
cmp ebx, 3
je 0x43969e
cmp esi, dword [esp + 0x64]
je 0x439743
cmp ebx, 4
je 0x43969e
cmp esi, dword [esp + 0x68]
je 0x439743
cmp esi, 0xffffffff
mov dword [esp + 0x48], esi
je 0x439743
lea eax, [esp + 0x48]
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0046d3a0
test eax, eax
je 0x4397b7
mov ecx, dword [ebp + edi*4 + 0x64]
mov edx, dword [eax + 0x18]
sub edx, 1
test cl, 2
mov dword [eax + 0x18], edx
je 0x4396e5
sub dword [eax + 0x20], 1
and ecx, 1
je 0x4396ee
sub dword [eax + 0x1c], 1
test edx, edx
jne 0x4397a0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x439720
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 8], 4
mov dword [esp + 4], esi
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call edx
lea eax, [esp + 0x4c]
mov dword [esp + 8], 4
mov dword [esp + 0x4c], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0046d300
mov eax, dword [ebp + 0x78]
add edi, 1
cmp edi, eax
jl 0x439650
lea eax, [ebx*4]
mov edi, dword [esp + 0x2c]
cmp eax, 4
lea edx, [edi + 0x50]
jae 0x4397c0
test eax, eax
je 0x43976d
movzx edx, byte [esp + 0x58]
mov byte [edi + 0x50], dl
mov edi, dword [esp + 0x2c]
cmp eax, 4
lea esi, [esp + 0x6c]
lea edx, [edi + 0x64]
jae 0x4398e0
test eax, eax
jne 0x439970
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x78], ebx
add esp, 0x8c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ebp + 0x18]
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046cf00
mov eax, dword [ebp + 0x78]
jmp 0x439743
mov ecx, dword [esp + 0x58]
lea esi, [edi + 0x54]
and esi, 0xfffffffc
mov dword [edi + 0x50], ecx
mov ecx, dword [esp + eax + 0x54]
mov dword [edx + eax - 4], ecx
lea ecx, [esp + 0x58]
sub edx, esi
sub ecx, edx
add edx, eax
and edx, 0xfffffffc
cmp edx, 4
jb 0x43976d
and edx, 0xfffffffc
xor edi, edi
mov ebp, dword [ecx + edi]
mov dword [esi + edi], ebp
add edi, 4
cmp edi, edx
jb 0x4397ec
jmp 0x43976d
mov ebx, 1
jmp 0x4394e3
mov dword [esp], esi
call dword [0x53638c]
add esp, 0x8c
mov eax, 3
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 1
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x20]
mov ecx, dword [ecx + eax*4 + 0x64]
mov eax, dword [esi + 0x1c]
cmp ebp, ecx
je 0x439520
test cl, 1
je 0x439858
sub eax, 1
mov dword [esi + 0x1c], eax
and ecx, 2
je 0x439863
sub edx, 1
mov dword [esi + 0x20], edx
test ebp, 1
je 0x439871
add eax, 1
mov dword [esi + 0x1c], eax
and ebp, 2
je 0x439520
add edx, 1
mov dword [esi + 0x20], edx
jmp 0x439520
mov ebx, 2
jmp 0x4394e3
mov ebx, 2
mov eax, 1
jmp 0x439837
mov ebx, 3
jmp 0x4394e3
lea eax, [esp + 0x54]
mov dword [esp + 8], 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0046d3a0
test eax, eax
mov esi, eax
jne 0x439625
jmp 0x4395ce
mov ecx, dword [esp + 0x6c]
mov dword [edi + 0x64], ecx
mov ecx, dword [esp + eax + 0x68]
mov dword [edx + eax - 4], ecx
lea ecx, [edi + 0x68]
and ecx, 0xfffffffc
sub edx, ecx
add eax, edx
sub esi, edx
and eax, 0xfffffffc
cmp eax, 4
jb 0x439789
and eax, 0xfffffffc
xor edx, edx
mov edi, dword [esi + edx]
mov dword [ecx + edx], edi
add edx, 4
cmp edx, eax
jb 0x43990c
jmp 0x439789
mov ebx, 3
mov eax, 2
jmp 0x439837
mov ebx, 4
jmp 0x4394e3
mov ebx, 4
mov eax, 3
jmp 0x439837
mov ebx, 5
jmp 0x4394e3
mov ebx, 5
mov eax, 4
jmp 0x439837
movzx eax, byte [esi]
mov byte [edi + 0x64], al
jmp 0x439789
add esp, 0x8c
mov eax, 3
pop ebx
pop esi
pop edi
pop ebp
ret