Function at 0x420d80
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.00404840
mov dword [esp + 0x30], eax
push eax
call fcn.004044a0
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], edi
mov edi, dword [edi + 0x3c]
lea esi, [esp + 0x38]
push 0x120
push 0
push esi
call fcn.0040c830
add esp, 0xc
mov dword [esp + 0x20], ebx
mov ecx, ebx
push 0
push 0
push 0x120
push esi
push edi
push dword [esp + 0x2c]
call fcn.00443970
test eax, eax
js 0x420e67
mov dword [esp + 4], 0x6e516452
mov byte [esp + 8], 0xc0
mov dword [esp + 9], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x420e46
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.004213f0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x420e20
cmp byte [esp + 0x57], 0
js 0x420e74
lea eax, [esp + 0x40]
lea ecx, [esp + 4]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.00405be0
add esp, 0xc
mov bl, 1
jmp 0x420ec9
mov dword [esp + 0x18], 0
jmp 0x421337
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, edi
or eax, ebx
je 0x420ec7
mov esi, dword [esp + 0x48]
inc esi
push esi
call fcn.0040c7b0
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00443970
test eax, eax
setns bl
js 0x420ebc
lea eax, [esp + 4]
push esi
push eax
push dword [esp + 0x1c]
call fcn.00405be0
add esp, 0xc
push esi
call fcn.0040c7c0
add esp, 4
jmp 0x420ec9
xor ebx, ebx
mov dword [esp + 4], 0x46425c4a
mov word [esp + 8], 0x3357
mov dword [esp + 0xa], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x420f26
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00421460
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x420f00
cmp byte [esp + 0x137], 0
mov dword [esp + 0x18], ebx
js 0x420f55
lea eax, [esp + 0x120]
lea ecx, [esp + 4]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.00405be0
add esp, 0xc
mov al, 1
mov dword [esp + 0x2c], eax
jmp 0x420fc1
mov edi, dword [esp + 0x120]
mov ebx, dword [esp + 0x124]
mov eax, edi
or eax, ebx
je 0x420fb5
mov esi, dword [esp + 0x128]
inc esi
push esi
call fcn.0040c7b0
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00443970
test eax, eax
setns al
mov dword [esp + 0x2c], eax
js 0x420faa
lea eax, [esp + 4]
push esi
push eax
push dword [esp + 0x1c]
call fcn.00405be0
add esp, 0xc
push esi
call fcn.0040c7c0
add esp, 4
jmp 0x420fbd
mov dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], 0xaba9aab0
mov dword [esp + 8], 0x5a47b2bf
mov byte [esp + 0xc], 0xe0
mov word [esp + 0xd], 0
mov byte [esp + 0xf], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x421026
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.004214d0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x421000
cmp byte [esp + 0x6f], 0
js 0x42104b
lea eax, [esp + 0x58]
lea ecx, [esp + 4]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.00405be0
add esp, 0xc
mov al, 1
mov dword [esp + 0x28], eax
jmp 0x4210ae
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov eax, edi
or eax, ebx
je 0x4210a2
mov esi, dword [esp + 0x60]
inc esi
push esi
call fcn.0040c7b0
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00443970
test eax, eax
setns al
mov dword [esp + 0x28], eax
js 0x421097
lea eax, [esp + 4]
push esi
push eax
push dword [esp + 0x1c]
call fcn.00405be0
add esp, 0xc
push esi
call fcn.0040c7c0
add esp, 4
jmp 0x4210aa
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], 0xf9eac4f4
mov byte [esp + 8], 0x60
mov dword [esp + 9], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x421106
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00421560
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x4210e0
cmp byte [esp + 0x87], 0
js 0x42112e
lea eax, [esp + 0x70]
lea ecx, [esp + 4]
push eax
push ecx
push dword [esp + 0x1c]
call fcn.00405be0
add esp, 0xc
mov al, 1
mov dword [esp + 0x24], eax
jmp 0x421191
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov eax, edi
or eax, ebx
je 0x421185
mov esi, dword [esp + 0x78]
inc esi
push esi
call fcn.0040c7b0
add esp, 4
mov ecx, dword [esp + 0x20]
push 0
push 0
push esi
mov esi, eax
push eax
push ebx
push edi
call fcn.00443970
test eax, eax
setns al
mov dword [esp + 0x24], eax
js 0x42117a
lea eax, [esp + 4]
push esi
push eax
push dword [esp + 0x1c]
call fcn.00405be0
add esp, 0xc
push esi
call fcn.0040c7c0
add esp, 4
jmp 0x42118d
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x18]
and bl, byte [esp + 0x2c]
fild qword [esp + 0x138]
fstp qword [esp + 0x18]
mov dword [esp + 4], 0xeae2f9ed
mov dword [esp + 8], 0x8fdf0fe
mov dword [esp + 0xc], 0x6b09e5e5
mov word [esp + 0x10], 0
mov byte [esp + 0x12], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xe
ja 0x421206
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.004215d0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xf
jb 0x4211e0
and bl, byte [esp + 0x28]
sub esp, 0x10
fld qword [esp + 0x28]
fstp qword [esp + 8]
lea eax, [esp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00405c30
add esp, 0x10
mov edi, eax
movzx esi, byte [esp + 0x90]
mov dword [esp + 4], 0xdca7daaf
mov dword [esp + 8], 0xdfddaeaf
mov word [esp + 0xc], 0x4fa3
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xe
ja 0x421296
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00421640
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xf
jb 0x421270
and bl, byte [esp + 0x24]
mov dword [esp + 0x18], ebx
push esi
lea eax, [esp + 8]
push eax
push dword [esp + 0x1c]
call fcn.00405cc0
add esp, 0xc
mov esi, eax
movzx ebx, byte [esp + 0x91]
mov dword [esp + 4], 0x10a0b04
mov dword [esp + 8], 0x90c0231
mov dword [esp + 0xc], 0x971f
or esi, edi
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x421316
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.004216b0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x4212f0
push ebx
lea eax, [esp + 8]
push eax
push dword [esp + 0x1c]
call fcn.00405cc0
add esp, 0xc
or esi, eax
sete al
mov ecx, dword [esp + 0x18]
and cl, al
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov ecx, eax
or ecx, edx
je 0x42137d
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.00443970
test eax, eax
js 0x42137d
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.00420d80
add esp, 4
mov ecx, dword [esp + 0x18]
or cl, al
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ecx, eax
or ecx, edx
je 0x4213cd
mov ecx, edi
push 0
push 0
push 0x40
lea esi, [esp + 0x44]
push esi
push edx
push eax
call fcn.00443970
test eax, eax
mov ebx, dword [esp + 0x18]
js 0x4213b8
lea edx, [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
call fcn.00420d80
add esp, 4
or bl, al
test bl, bl
je 0x4213d5
push dword [esp + 0x30]
push dword [ebp + 8]
call fcn.004055a0
add esp, 8
jmp 0x4213e1
mov ebx, dword [esp + 0x18]
test bl, bl
jne 0x4213bc
push dword [esp + 0x30]
call fcn.00404710
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret