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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x422657
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp], ecx
call fcn.0040bae0
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0xc]
test cl, cl
jne 0x422647
mov ecx, dword [eax + 0x10]
inc ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x30]
lea edx, [eax + 0x30]
mov dword [esp + 0x1c], edx
test ecx, ecx
jne 0x422604
mov ecx, dword [eax + 0x64]
lea ebx, [eax + 0x64]
mov dword [esp + 0x18], ebx
test ecx, ecx
jne 0x4225bd
mov ecx, dword [esp + 0x30]
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [esp + 0x2c]
test esi, esi
xchg edi, ebx
setne bl
xchg edi, ebx
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x42255c
mov ebp, dword [esp + 0x34]
cmp ebp, 0x72
jne 0x42254b
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], ecx
cmp ebp, 0x77
jne 0x42253a
mov dword [eax + 0x74], esi
mov dword [eax + 0x78], ecx
mov ecx, dword [eax + 0x40]
mov ebp, dword [eax + 0x44]
test ecx, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
and esi, edi
test ebp, ebp
xchg edi, ebx
setg bl
xchg edi, ebx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x422412
mov esi, dword [eax + 0x74]
cmp ecx, esi
sete cl
mov esi, dword [eax + 0x78]
cmp ebp, esi
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42240e
mov ecx, dword [0x5e0f70]
test ecx, ecx
jne 0x4223f3
lea ecx, [0x52f248]
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
lea ecx, [0x4f8220]
mov dword [eax + 0x34], ecx
mov ecx, dword [0x5e0f70]
lea edx, [eax + 0x38]
test ecx, ecx
jne 0x4223de
mov dword [eax + 0x38], eax
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x3c], ecx
lea ecx, [eax + 0x18]
mov dword [esp], ecx
call fcn.0043ee80
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402410
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
test edx, edx
sete bl
test ecx, ecx
setb cl
and ecx, ebx
test edx, edx
setl dl
or edx, ecx
test dl, dl
jne 0x4223bc
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x74]
mov ebx, dword [eax + 0x78]
test edx, edx
setb dl
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and edx, ebp
test ebx, ebx
setl bl
or ebx, edx
test bl, bl
jne 0x42239d
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040bcb0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42238b
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x422379
add esp, 0x24
ret
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00422980
jmp 0x422375
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00422980
jmp 0x42236d
mov dword [esp], eax
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.00422b70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
jmp 0x422359
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.00422b70
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
jmp 0x422334
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040df80
mov eax, dword [esp + 0x28]
jmp 0x4222e0
mov dword [esp], edx
lea eax, [0x52f248]
mov dword [esp + 4], eax
call fcn.0040df80
mov eax, dword [esp + 0x28]
jmp 0x4222b7
xchg edi, eax
test al, al
xchg edi, eax
je 0x422465
mov ecx, dword [0x5e0f70]
test ecx, ecx
jne 0x42251b
lea ecx, [0x52f24c]
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
lea ecx, [0x4f8220]
mov dword [eax + 0x34], ecx
mov edx, dword [0x5e0f70]
lea ebp, [eax + 0x38]
test edx, edx
jne 0x422506
mov dword [eax + 0x38], eax
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x3c], ecx
lea ecx, [eax + 0x18]
mov dword [esp], ecx
call fcn.0043ee80
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
test ecx, ecx
seta cl
test edx, edx
sete bl
and ecx, ebx
test edx, edx
setg dl
or ecx, edx
test cl, cl
je 0x4222f1
mov ecx, dword [0x5e0f70]
test ecx, ecx
jne 0x4224ea
lea ecx, [0x52f250]
mov dword [eax + 0x64], ecx
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], edx
lea ecx, [0x4f8220]
mov dword [eax + 0x68], ecx
mov ecx, dword [0x5e0f70]
lea edx, [eax + 0x6c]
test ecx, ecx
jne 0x4224d8
mov dword [eax + 0x6c], eax
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x70], ecx
lea ecx, [eax + 0x4c]
mov dword [esp], ecx
call fcn.0043ee80
jmp 0x4222f1
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040df80
mov eax, dword [esp + 0x28]
jmp 0x4224c2
mov eax, dword [esp + 0x18]
mov dword [esp], eax
lea eax, [0x52f250]
mov dword [esp + 4], eax
call fcn.0040df80
mov eax, dword [esp + 0x28]
jmp 0x42249d
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040df80
mov eax, dword [esp + 0x28]
jmp 0x422454
mov dword [esp], edx
lea eax, [0x52f24c]
mov dword [esp + 4], eax
call fcn.0040df80
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
jmp 0x42242b
cmp ebp, 0xe9
je 0x42224b
jmp 0x422251
cmp ebp, 0xe9
je 0x42223c
jmp 0x422242
call fcn.0044c7c0
mov eax, dword [esp]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
setbe al
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x30]
cmp ebx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and eax, ebp
cmp ebx, edx
setl dl
or eax, edx
test al, al
je 0x4225a6
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov esi, 0xffffffff
mov ecx, 0xffffffff
jmp 0x42222f
mov eax, dword [esp + 0x28]
mov ecx, ebx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
jmp 0x42222f
lea ecx, [eax + 0x4c]
mov dword [esp], ecx
call fcn.0043f0c0
mov eax, dword [0x5e0f70]
test eax, eax
jne 0x4225ea
mov eax, dword [esp + 0x28]
mov dword [eax + 0x64], 0
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x422209
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040df80
mov eax, dword [esp + 0x28]
jmp 0x4225dd
lea ecx, [eax + 0x18]
mov dword [esp], ecx
call fcn.0043f0c0
mov eax, dword [0x5e0f70]
test eax, eax
jne 0x42262d
mov eax, dword [esp + 0x28]
mov dword [eax + 0x30], 0
mov edx, dword [esp + 0x1c]
jmp 0x4221f7
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040df80
mov eax, dword [esp + 0x28]
jmp 0x422624
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040bcb0
add esp, 0x24
ret
call fcn.00449fd0
jmp fcn.004221a0