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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov edi, edx
mov ebx, ecx
call fcn.00404e60
mov dword [esp + 0x28], eax
push eax
call fcn.00404780
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0x2c], edi
mov edi, dword [edi + 0x3c]
lea esi, [esp + 0x38]
push 0x120
push 0
push esi
call fcn.0040cc70
add esp, 0xc
mov dword [esp + 0x24], ebx
mov ecx, ebx
push 0
push 0
push 0x120
push esi
push edi
push dword [esp + 0x1c]
call fcn.004446e0
test eax, eax
js 0x423b11
mov dword [esp + 0xc], 0x869f809e
mov byte [esp + 0x10], 0x24
mov word [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x423aeb
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 4]
push eax
call fcn.004240a0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x423ac0
cmp byte [esp + 0x57], 0
mov esi, dword [esp + 0x20]
js 0x423b18
lea eax, [esp + 0x40]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
call fcn.004061e0
add esp, 0xc
mov al, 1
mov dword [esp + 8], eax
jmp 0x423b78
xor ebx, ebx
jmp 0x423ff4
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, edi
or eax, ebx
je 0x423b70
mov esi, dword [esp + 0x48]
inc esi
push esi
call fcn.0040cbf0
add esp, 4
mov ecx, dword [esp + 0x24]
push 0
push 0
push esi
mov esi, dword [esp + 0x2c]
push eax
push ebx
push edi
mov edi, eax
call fcn.004446e0
test eax, eax
setns al
mov dword [esp + 8], eax
js 0x423b65
lea eax, [esp + 0xc]
push edi
push eax
push esi
call fcn.004061e0
add esp, 0xc
push edi
call fcn.0040cc00
add esp, 4
jmp 0x423b78
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x766e6076
mov dword [esp + 0x10], 0x561
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x423bcb
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 4]
push eax
call fcn.004240f0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x423ba0
cmp byte [esp + 0x137], 0
js 0x423bf2
lea eax, [esp + 0x120]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
call fcn.004061e0
add esp, 0xc
mov ebx, 1
jmp 0x423c55
mov edi, dword [esp + 0x120]
mov ebx, dword [esp + 0x124]
mov eax, edi
or eax, ebx
je 0x423c53
mov esi, dword [esp + 0x128]
inc esi
push esi
call fcn.0040cbf0
add esp, 4
mov ecx, dword [esp + 0x24]
push 0
push 0
push esi
mov esi, dword [esp + 0x2c]
push eax
push ebx
push edi
mov edi, eax
call fcn.004446e0
mov ebx, eax
test eax, eax
js 0x423c43
lea eax, [esp + 0xc]
push edi
push eax
push esi
call fcn.004061e0
add esp, 0xc
push edi
call fcn.0040cc00
add esp, 4
not ebx
shr ebx, 0x1f
jmp 0x423c55
xor ebx, ebx
movzx edi, byte [esp + 8]
not edi
mov dword [esp + 0xc], 0xc5c7dad4
mov dword [esp + 0x10], 0xc2ddd2e9
mov byte [esp + 0x14], 0x44
mov dword [esp + 0x15], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x423cbb
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 4]
push eax
call fcn.00424150
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x423c90
or ebx, edi
cmp byte [esp + 0x6f], 0
js 0x423cdf
lea eax, [esp + 0x58]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
call fcn.004061e0
add esp, 0xc
mov al, 1
mov dword [esp + 8], eax
jmp 0x423d55
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, ecx
or eax, edx
je 0x423d4d
mov esi, dword [esp + 0x60]
inc esi
push esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x34], edx
call fcn.0040cbf0
add esp, 4
mov ecx, dword [esp + 0x24]
push 0
push 0
push esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
push eax
push dword [esp + 0x40]
push dword [esp + 0x1c]
call fcn.004446e0
test eax, eax
setns al
mov dword [esp + 8], eax
js 0x423d3f
lea eax, [esp + 0xc]
push dword [esp + 0x1c]
push eax
push esi
call fcn.004061e0
add esp, 0xc
push dword [esp + 0x1c]
call fcn.0040cc00
add esp, 4
jmp 0x423d55
mov dword [esp + 8], 0
cmp ebx, edi
setne bl
mov dword [esp + 0xc], 0x494a5c4c
mov byte [esp + 0x10], 0xf0
mov word [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x423dbb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 4]
push eax
call fcn.004241d0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x423d90
cmp byte [esp + 0x87], 0
js 0x423de0
lea eax, [esp + 0x70]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
call fcn.004061e0
add esp, 0xc
mov al, 1
mov dword [esp + 0x1c], eax
jmp 0x423e4b
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov eax, ecx
or eax, esi
je 0x423e3f
mov edi, dword [esp + 0x78]
inc edi
push edi
mov dword [esp + 0x20], ecx
call fcn.0040cbf0
add esp, 4
mov ecx, dword [esp + 0x24]
push 0
push 0
push edi
mov edi, eax
push eax
push esi
push dword [esp + 0x30]
call fcn.004446e0
test eax, eax
setns al
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x20]
js 0x423e34
lea eax, [esp + 0xc]
push edi
push eax
push esi
call fcn.004061e0
add esp, 0xc
push edi
call fcn.0040cc00
add esp, 4
jmp 0x423e4b
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x20]
fild qword [esp + 0x138]
fstp qword [esp + 0x30]
mov dword [esp + 0xc], 0xdedac3d7
mov dword [esp + 0x10], 0xe4cbdcc6
mov dword [esp + 0x14], 0x41dfcfcf
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x423ebb
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 4]
push eax
call fcn.00424220
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x423e90
and bl, byte [esp + 8]
sub esp, 0x10
fld qword [esp + 0x40]
fstp qword [esp + 8]
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00406230
add esp, 0x10
mov dword [esp + 8], eax
movzx edi, byte [esp + 0x90]
mov dword [esp + 0xc], 0x84eb86fb
mov dword [esp + 0x10], 0x8b8dfaf3
mov word [esp + 0x14], 0x3ff
mov dword [esp + 0x16], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xe
ja 0x423f4b
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 4]
push eax
call fcn.004242a0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xf
jb 0x423f20
and bl, byte [esp + 0x1c]
push edi
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004062c0
add esp, 0xc
mov edi, eax
movzx esi, byte [esp + 0x91]
mov dword [esp + 0xc], 0xf9feffcc
mov dword [esp + 0x10], 0xc1fcfec9
mov word [esp + 0x14], 0x53f3
mov dword [esp + 0x16], 0
mov word [esp + 0x1a], 0
or edi, dword [esp + 8]
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x423fdb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 4]
push eax
call fcn.004242f0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x423fb0
push esi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x28]
call fcn.004062c0
add esp, 0xc
or edi, eax
sete al
and bl, al
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, eax
or ecx, edx
mov edi, dword [esp + 0x24]
je 0x424032
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.004446e0
test eax, eax
js 0x424032
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.00423a20
add esp, 4
or bl, al
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
or ecx, edx
je 0x42406d
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.004446e0
test eax, eax
js 0x42406d
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.00423a20
add esp, 4
or bl, al
test bl, bl
je 0x424082
push dword [esp + 0x28]
push dword [ebp + 8]
call fcn.00405bc0
add esp, 8
jmp 0x42408e
push dword [esp + 0x28]
call fcn.00404d30
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret