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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x606588
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x5c]
call fcn.00424100
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov edx, 2
mov eax, 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov edx, 5
cmp esi, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], ecx
mov ecx, 6
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
jg 0x4226be
cmp esi, eax
jge 0x4226c4
mov dword [esp + 0x14], eax
jmp 0x4226c8
mov dword [esp + 0x14], edx
jmp 0x4226c8
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
call fcn.00421430
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ebx, eax
cmp esi, eax
jbe 0x4226ef
call fcn.0055cb74
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x5c]
cmp esi, eax
jbe 0x4226fc
call fcn.0055cb74
mov ecx, dword [esp + 0x5c]
push ebx
push edi
push esi
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x70]
call fcn.00424650
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 0x26e0]
xor esi, esi
lea eax, [esi + 1]
lea ecx, [ebx + 0x26e4]
mov edx, dword [ecx]
cmp edi, edx
jge 0x422730
mov esi, eax
mov edi, edx
inc eax
add ecx, 4
cmp eax, 3
jl 0x422726
xor eax, eax
lea ecx, [ebx + 0x21f0]
mov edx, eax
sar edx, 4
cmp edx, esi
je 0x422750
mov dword [ecx], 0
inc eax
add ecx, 0x14
cmp eax, 0x30
jl 0x422741
lea esi, [ebx + 0x25b0]
mov eax, esi
mov ecx, 7
mov edx, dword [eax]
neg edx
mov dword [eax], edx
add eax, 0x14
sub ecx, 1
jne 0x422766
mov eax, dword [esp + 0x14]
mov edi, dword [esp + eax*4 + 0x1c]
test edi, edi
jle 0x4227a1
cmp edi, 2
mov eax, 2
jg 0x42278c
mov eax, edi
push eax
push 1
lea ecx, [esp + 0x64]
push ecx
push ebx
call fcn.004216e0
sub edi, 2
test edi, edi
jg 0x422780
lea eax, [ebx + 0x21f0]
mov ecx, 0x30
lea esp, [esp]
mov dword [eax], 0
add eax, 0x14
sub ecx, 1
jne 0x4227b0
mov eax, esi
mov ecx, 7
mov edx, dword [eax]
neg edx
mov dword [eax], edx
add eax, 0x14
sub ecx, 1
jne 0x4227c5
mov eax, dword [esp + 0x14]
mov esi, dword [esp + eax*4 + 0x30]
xor edi, edi
cmp esi, edi
jle 0x4227f1
push 1
push 3
lea ecx, [esp + 0x64]
push ecx
push ebx
call fcn.004216e0
dec esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + edx*4 + 0x44]
push eax
push 2
lea ecx, [esp + 0x64]
push ecx
push ebx
call fcn.004216e0
cmp esi, edi
jle 0x42282f
lea eax, [ebx + 0x2600]
mov ecx, 3
mov dword [eax], edi
add eax, 0x14
sub ecx, 1
jne 0x422816
push 1
push 3
lea edx, [esp + 0x64]
push edx
push ebx
call fcn.004216e0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x5c]
push eax
push ecx
push ebx
call fcn.00421990
mov eax, dword [esp + 0x68]
cmp eax, edi
je 0x42284f
push eax
call fcn.0055c72e
add esp, 4
mov edx, dword [esp + 0x5c]
push edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
call fcn.0055c72e
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8