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

Disassembly:
sub esp, 0x64
xor ecx, ecx
cmp dword [esp + 0x78], ecx
push ebx
push esi
push edi
push ebp
je 0x422300
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x7c]
cmp dword [ecx], 0xa
jne 0x422142
mov eax, dword [esp + 0x84]
jmp 0x422149
mov eax, dword [esp + 0x80]
lea esi, [eax + 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x42216b
xor edx, edx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + edx + 0x10], eax
mov dword [esp + edx + 0x54], ebx
add esi, 0xc
add edx, 4
dec ecx
jne 0x422155
mov dword [esp + 0x50], 0
cmp dword [esp + 0x28], 0
jle 0x4222b9
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], 0
cmp dword [esp + 0x24], 0
jle 0x42229f
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0
cmp dword [esp + 0x20], 0
jle 0x422285
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 0
cmp dword [esp + 0x1c], 0
jle 0x42226b
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x422251
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jle 0x422242
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jle 0x422233
mov esi, dword [esp + 0x2c]
mov eax, dword [0x432c40]
push esi
mov edx, dword [esp + 0x80]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x74], ecx
push edx
call fcn.00422320
add esp, 8
test eax, eax
jne 0x4222c3
add esi, dword [esp + 0x54]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x422203
mov eax, dword [esp + 0x58]
inc ebx
add dword [esp + 0x2c], eax
cmp ebx, dword [esp + 0x14]
jl 0x4221f7
mov eax, dword [esp + 0x5c]
inc edi
add dword [esp + 0x30], eax
cmp edi, dword [esp + 0x18]
jl 0x4221e7
mov eax, dword [esp + 0x60]
inc dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
add dword [esp + 0x34], eax
cmp dword [esp + 0x1c], ecx
jg 0x4221d7
mov eax, dword [esp + 0x64]
inc dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
add dword [esp + 0x3c], eax
cmp dword [esp + 0x20], ecx
jg 0x4221bc
mov eax, dword [esp + 0x68]
inc dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
add dword [esp + 0x44], eax
cmp dword [esp + 0x24], ecx
jg 0x4221a1
mov eax, dword [esp + 0x6c]
inc dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
add dword [esp + 0x4c], eax
cmp dword [esp + 0x28], ecx
jg 0x422186
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
cmp dword [0x432a20], 0x17d5
je 0x4222e7
cmp dword [0x432a20], 0x17d7
je 0x4222e7
cmp dword [0x432a20], 0x1968
jne 0x4222f3
mov eax, dword [0x432c40]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x14], ecx
mov eax, dword [0x432a20]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
push eax
push ecx
call fcn.00422320
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret