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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff009
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [edi + 0x7c], ebx
je 0x422c2a
mov ecx, dword [edi + 0x78]
lea eax, [esp + 0x18]
push eax
call fcn.0041f8b1
and dword [esp + 0x50], ebx
push ecx
mov ecx, dword [edi + 0x7c]
push eax
call fcn.004ba292
or dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
lea esi, [edi + 0x84]
cmp dword [esi], 0
je 0x422c5a
mov ecx, dword [edi + 0x78]
lea eax, [esp + 0x18]
push eax
call fcn.0041f8b1
xor ebx, ebx
lea ecx, [edi + 0x88]
push eax
inc ebx
call fcn.0042e1a5
mov byte [esp + 0x17], 0
test eax, eax
je 0x422c5f
mov byte [esp + 0x17], 1
test bl, 1
je 0x422c73
mov eax, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
cmp byte [esp + 0x17], 0
je 0x422d86
mov ecx, dword [edi + 0x78]
lea eax, [esp + 0x18]
push eax
call fcn.0041f8b1
mov ecx, dword [edi + 0x88]
push ecx
mov edx, dword [eax]
mov dword [edi + 0x88], edx
mov dword [eax], ecx
mov ecx, esp
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x422cbd
and dword [esi], 0
test ecx, ecx
je 0x422cbd
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x422cc8
xor esi, esi
jmp 0x422cd0
call fcn.004b9f96
lea esi, [eax - 1]
mov ebx, dword [edi + 0x78]
mov ecx, ebx
call fcn.0040b5a9
cmp esi, dword [ebx + 0x24]
jae 0x422ce7
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax + esi*4]
jmp 0x422ce9
xor esi, esi
test esi, esi
je 0x422d86
mov eax, dword [edi + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x98]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x90]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x94]
mov dword [esp + 0x3c], eax
mov al, byte [edi + 0xa0]
push 0xdc
mov byte [esp + 0x44], al
call fcn.004dc5b8
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], 1
test eax, eax
je 0x422d5e
movzx ecx, byte [edi + 0xa1]
push ecx
lea ecx, [esp + 0x30]
push ecx
push esi
mov ecx, eax
call fcn.0041fe61
mov esi, eax
jmp 0x422d60
xor esi, esi
or dword [esp + 0x50], 0xffffffff
lea ecx, [edi + 0x84]
push esi
call fcn.0040923a
test esi, esi
je 0x422d7f
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.004914a3
mov ecx, esi
call fcn.004209ee
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0x422da0
call fcn.004bc7ab
mov ecx, dword [edi + 0xa4]
call fcn.00491a88
mov ecx, dword [edi + 0xa8]
test ecx, ecx
je 0x422e84
push 3
call fcn.004b9d6e
lea ecx, [esp + 0x20]
call fcn.00412079
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 2
call fcn.0041fe0e
push 0xffffffffffffffff
mov byte [esp + 0x54], 3
mov ecx, dword [edi + 0xa8]
push eax
call fcn.004b9ce2
push ecx
mov ecx, esp
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
mov ecx, dword [edi + 0xa8]
cmp dword [ecx + 0x90], 0
setg al
xor ebx, ebx
mov byte [ecx + 0xa9], al
mov eax, ebx
cmp dword [esp + 0x28], eax
jle 0x422e38
lea esi, [eax + 1]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.0042fff8
mov ecx, dword [edi + 0xa8]
push eax
call fcn.004b9ce2
mov eax, esi
cmp eax, dword [esp + 0x28]
jl 0x422e16
mov eax, dword [edi + 0x78]
or ecx, 0xffffffff
cmp dword [eax + 0x190], ebx
je 0x422e5f
mov eax, dword [eax + 0x18c]
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
call fcn.0043007e
lea ecx, [eax + 1]
push ebx
push ecx
mov ecx, dword [edi + 0xa8]
call fcn.004ba02b
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0043bc3a
push dword [esp + 0x20]
call fcn.004dc624
pop ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret