Function at 0x420b10
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.00404890
mov dword [esp + 0x30], eax
push eax
call fcn.004044f0
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], edi
mov edi, dword [edi + 0x3c]
lea esi, [esp + 0x38]
push 0x120
push 0
push esi
call fcn.0040c770
add esp, 0xc
mov dword [esp + 0x1c], ebx
mov ecx, ebx
push 0
push 0
push 0x120
push esi
push edi
push dword [esp + 0x3c]
call fcn.00443670
test eax, eax
js 0x420c01
mov dword [esp + 8], 0x1269146e
mov byte [esp + 0xc], 0xf8
mov dword [esp + 0xd], 0
mov byte [esp + 0x11], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x420bdb
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00421170
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x420bb0
cmp byte [esp + 0x57], 0
mov edi, dword [esp + 0x18]
js 0x420c08
lea eax, [esp + 0x40]
lea ecx, [esp + 8]
push eax
push ecx
push edi
call fcn.00405bf0
add esp, 0xc
mov al, 1
mov dword [esp + 0x28], eax
jmp 0x420c6c
xor ebx, ebx
jmp 0x4210c4
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov eax, esi
or eax, edi
je 0x420c60
mov ebx, dword [esp + 0x48]
inc ebx
push ebx
call fcn.0040c6c0
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ebx
mov ebx, eax
push eax
push edi
push esi
call fcn.00443670
test eax, eax
setns al
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x18]
js 0x420c55
lea eax, [esp + 8]
push ebx
push eax
push edi
call fcn.00405bf0
add esp, 0xc
push ebx
call fcn.0040c6d0
add esp, 4
jmp 0x420c6c
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x18]
mov dword [esp + 8], 0x4e46504e
mov word [esp + 0xc], 0xfd51
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x420ccb
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.004211e0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x420ca0
cmp byte [esp + 0x137], 0
js 0x420cf3
lea eax, [esp + 0x120]
lea ecx, [esp + 8]
push eax
push ecx
push edi
call fcn.00405bf0
add esp, 0xc
mov al, 1
mov dword [esp + 0x24], eax
jmp 0x420d60
mov esi, dword [esp + 0x120]
mov edi, dword [esp + 0x124]
mov eax, esi
or eax, edi
je 0x420d54
mov ebx, dword [esp + 0x128]
inc ebx
push ebx
call fcn.0040c6c0
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ebx
mov ebx, eax
push eax
push edi
push esi
call fcn.00443670
test eax, eax
setns al
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x18]
js 0x420d49
lea eax, [esp + 8]
push ebx
push eax
push edi
call fcn.00405bf0
add esp, 0xc
push ebx
call fcn.0040c6d0
add esp, 4
jmp 0x420d60
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x18]
mov dword [esp + 8], 0x2d2f2a1c
mov dword [esp + 0xc], 0x322522d9
mov byte [esp + 0x10], 0xbc
mov word [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x420dcb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00421230
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x420da0
cmp byte [esp + 0x6f], 0
js 0x420ded
lea eax, [esp + 0x58]
lea ecx, [esp + 8]
push eax
push ecx
push edi
call fcn.00405bf0
add esp, 0xc
mov al, 1
mov dword [esp + 0x20], eax
jmp 0x420e51
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov eax, edi
or eax, ebx
je 0x420e45
mov esi, dword [esp + 0x60]
inc esi
push esi
call fcn.0040c6c0
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00443670
test eax, eax
setns al
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x18]
js 0x420e3a
lea eax, [esp + 8]
push esi
push eax
push edi
call fcn.00405bf0
add esp, 0xc
push esi
call fcn.0040c6d0
add esp, 4
jmp 0x420e51
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x18]
mov dword [esp + 8], 0x9b968090
mov byte [esp + 0xc], 0x24
mov dword [esp + 0xd], 0
mov word [esp + 0x11], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x420eab
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00421280
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x420e80
cmp byte [esp + 0x87], 0
js 0x420ecc
lea eax, [esp + 0x70]
lea ecx, [esp + 8]
push eax
push ecx
push edi
call fcn.00405bf0
add esp, 0xc
mov bl, 1
jmp 0x420f26
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov eax, edi
or eax, ebx
je 0x420f20
mov esi, dword [esp + 0x78]
inc esi
push esi
call fcn.0040c6c0
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00443670
test eax, eax
setns bl
mov edi, dword [esp + 0x18]
js 0x420f15
lea eax, [esp + 8]
push esi
push eax
push edi
call fcn.00405bf0
add esp, 0xc
push esi
call fcn.0040c6d0
add esp, 4
jmp 0x420f26
xor ebx, ebx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
and cl, bl
mov eax, dword [esp + 0x28]
and al, byte [esp + 0x24]
and al, cl
mov esi, eax
fild qword [esp + 0x138]
fstp qword [esp + 0x28]
mov dword [esp + 8], 0x8a8e977b
mov dword [esp + 0xc], 0x74877482
mov dword [esp + 0x10], 0x9738383
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x420f9b
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.004212f0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x420f70
sub esp, 0x10
fld qword [esp + 0x38]
fstp qword [esp + 8]
lea eax, [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00405c40
add esp, 0x10
test eax, eax
sete al
movzx ebx, byte [esp + 0x90]
mov dword [esp + 8], 0x445f4a47
mov dword [esp + 0xc], 0x47455657
mov dword [esp + 0x10], 0xf753
mov byte [esp + 0x14], 0
mov ecx, esi
and cl, al
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x42102b
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.00421350
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x421000
push ebx
lea eax, [esp + 0xc]
push eax
push edi
call fcn.00405cd0
add esp, 0xc
test eax, eax
setne bl
mov eax, esi
xor bl, al
movzx edi, byte [esp + 0x91]
mov dword [esp + 8], 0x818a8b84
mov dword [esp + 0xc], 0x898c8271
mov word [esp + 0x10], 0x179f
mov dword [esp + 0x12], 0
and bl, al
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xd
ja 0x4210ab
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 8]
push dword [esp + 4]
push eax
call fcn.004213c0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xe
jb 0x421080
push edi
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call fcn.00405cd0
add esp, 0xc
test eax, eax
sete al
and bl, al
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, eax
or ecx, edx
mov edi, dword [esp + 0x1c]
je 0x421102
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.00443670
test eax, eax
js 0x421102
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.00420b10
add esp, 4
or bl, al
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
or ecx, edx
je 0x42113d
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.00443670
test eax, eax
js 0x42113d
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.00420b10
add esp, 4
or bl, al
test bl, bl
je 0x421152
push dword [esp + 0x30]
push dword [ebp + 8]
call fcn.004055b0
add esp, 8
jmp 0x42115e
push dword [esp + 0x30]
call fcn.00404760
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret