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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4225c4
sub esp, 0x6c
mov eax, dword [esp + 0x70]
test byte [eax], al
nop
mov dword [esp], eax
call fcn.00409690
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x70]
cmp dword [ecx + 4], eax
jne 0x4225ad
mov dword [esp + 4], 0x412e8480
mov dword [esp], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.0044df80
movzx eax, byte [esp + 0x10]
test al, al
je 0x4221d8
mov eax, 0x412e8480
xor ecx, ecx
jmp 0x4221e0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0x3ff00000
mov dword [esp + 8], 0
call fcn.0044c960
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
call fcn.0044cde0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044e120
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x64]
mov ebp, dword [esp + 0xc]
test ebx, ebx
je 0x42228e
mov dword [esp + 0x4c], eax
nop
nop
mov dword [esp], edx
call fcn.00409890
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x64]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x42238f
mov dword [esp + 0x48], ebp
nop
call fcn.004653a0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x44]
add ebx, edx
mov ebp, dword [esp + 4]
mov dword [esp + 0x30], ebp
nop
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
adc ecx, ebp
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.00455c60
mov eax, dword [esp + 0x70]
mov byte [eax + 8], 1
lea ecx, [0x544328]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov word [esp + 8], 0x1313
mov dword [esp + 0xc], 2
call fcn.0043a4d0
call fcn.004653a0
mov eax, dword [esp]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 4]
mov dword [esp + 0x34], ebx
nop
nop
mov ebp, dword [esp + 0x70]
mov dword [esp], ebp
call fcn.00409690
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.00455610
nop
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00409890
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
sbb ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0x58]
test ebp, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [ebx + 0x5c]
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setg bl
xchg edi, ebx
and esi, ebp
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x422439
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.0044e120
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
adc edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x70]
mov ebx, dword [eax + 0x58]
cmp ecx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [eax + 0x5c]
cmp esi, edx
xchg edi, ebx
sete bl
xchg edi, ebx
setl dl
and edi, ebp
or edx, edi
test dl, dl
je 0x422427
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
jmp 0x422435
sub ebx, ecx
mov dword [eax + 0x58], ebx
mov ecx, dword [esp + 0x38]
sbb esi, ecx
mov dword [eax + 0x5c], esi
add esp, 0x6c
ret
mov edx, dword [ebx + 0x70]
mov eax, dword [edx]
call eax
mov eax, dword [esp]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call fcn.0044e090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.0044c2f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
call fcn.0044e040
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.0044c960
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.0044cde0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call fcn.0044e090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.0044c2f0
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0x24]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x47ae147b
mov dword [esp + 0x10], 0x3f847ae1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.00420fc0
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], ebx
test al, al
jne 0x4225a9
mov dword [ebp + 0x1c], 0xd2f1a9fc
mov dword [ebp + 0x20], 0x3f50624d
mov dword [ebp + 0x58], 0x2a05f200
mov dword [ebp + 0x5c], 1
mov dword [esp], ebp
call fcn.004225d0
add esp, 0x6c
ret
lea eax, [0x542809]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.00437710
nop
call fcn.00463190
jmp fcn.00422160