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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
xor esi, esi
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x4c], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x48]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x10], al
test edi, edi
je 0x402262
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402262
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x10]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
sub byte [esi + 0x433a60], 0x57
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x54], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x50]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x14], al
test edi, edi
je 0x4022cc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4022cc
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x14]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
add byte [esi + 0x433a60], 0xe0
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x5c], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x58]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x18], al
test edi, edi
je 0x402336
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402336
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x18]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x64], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x60]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x1c], al
test edi, edi
je 0x402399
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402399
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
xor byte [esi + 0x433a60], 0x5e
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x6c], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x68]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x20], al
test edi, edi
je 0x402403
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402403
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
add byte [esi + 0x433a60], 0x33
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x74], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x70]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x24], al
test edi, edi
je 0x40246d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40246d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x24]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
xor byte [esi + 0x433a60], 0x18
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x7c], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x78]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x28], al
test edi, edi
je 0x4024d7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4024d7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x28]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
add byte [esi + 0x433a60], 0xf8
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x84], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x80]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x2c], al
test edi, edi
je 0x402547
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402547
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x2c]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
add byte [esi + 0x433a60], 0x62
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x8c], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x88]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x30], al
test edi, edi
je 0x4025b7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4025b7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x30]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
xor byte [esi + 0x433a60], 0x57
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x94], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x90]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x34], al
test edi, edi
je 0x402627
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402627
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x34]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
xor byte [esi + 0x433a60], 0xfa
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x9c], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x98]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x38], al
test edi, edi
je 0x402697
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402697
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x38]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
add byte [esi + 0x433a60], 0x84
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0xa4], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0xa0]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x3c], al
test edi, edi
je 0x402707
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402707
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x3c]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
add byte [esi + 0x433a60], 0x2b
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0xac], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0xa8]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x40], al
test edi, edi
je 0x402777
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402777
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x40]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
add byte [esi + 0x433a60], 0x7e
call fcn.00403400
mov ebx, eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0xb4], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0xb0]
push eax
call fcn.004031b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x44], al
test edi, edi
je 0x4027e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4027e7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x44]
mov ecx, ebx
call fcn.00403e80
mov ecx, ebx
call fcn.00403be0
add byte [esi + 0x433a60], 0x6c
inc esi
cmp esi, 0x2b800
jb 0x402211
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret