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

Disassembly:
push 0xffffffffffffffff
push 0x4891c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ab13c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
push edi
mov eax, dword [0x4ab13c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
mov edi, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0
call fcn.004053c0
mov esi, dword [esi + 0x10]
push eax
push esi
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
push edi
mov dword [esp + 0x74], 0
call fcn.0041f7b0
mov ebp, eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
test eax, eax
mov dword [esp + 0x5c], 0xffffffff
je 0x4222f4
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00475f38
mov eax, dword [edi + 4]
test eax, eax
jbe 0x4222d2
cmp eax, 0xffffffff
jae 0x4222d2
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.00475f59
test esi, esi
je 0x4222f4
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x30], 0x2d
jne 0x422305
lea ecx, [esp + 0x31]
mov dword [esp + 0x10], ecx
jmp 0x42230d
lea edx, [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebp
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00476503
mov ebp, dword [esp + 0x7c]
add esp, 0x10
cmp byte [esp + 0x70], 0
mov edi, eax
jne 0x422369
test ebp, ebp
je 0x422362
mov eax, dword [ebp + 0x20]
cmp dword [eax], 0
je 0x42234d
mov ecx, dword [ebp + 0x30]
cmp dword [ecx], 0
jle 0x42234d
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x422357
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
cmp eax, 0xffffffff
je 0x422362
mov byte [esp + 0x71], al
jmp 0x422364
xor ebp, ebp
mov byte [esp + 0x70], 1
cmp byte [esp + 0x7c], 0
mov esi, dword [esp + 0x78]
jne 0x42239f
test esi, esi
je 0x42239d
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x42238f
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x42238f
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x422398
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x42239f
xor esi, esi
test ebp, ebp
jne 0x4223d4
test esi, esi
je 0x4223d8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], ecx
je 0x4223e1
cmp dword [esp + 0x18], 0
jne 0x4223e1
cmp edi, 0xffffffff
ja 0x4223e1
cmp byte [esp + 0x30], 0x2d
jne 0x4223ca
neg edi
mov edx, dword [esp + 0x20]
mov eax, edi
mov dword [edx], eax
jmp 0x4223e4
test esi, esi
je 0x4223a7
mov eax, dword [esp + 0x14]
or dword [eax], 1
jmp 0x4223ab
or dword [eax], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0045b0da
add esp, 0x50
ret 0x28