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], 0x59
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], 0x2a
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
add byte [esi + 0x433a60], 0x6a
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 0x4023a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4023a0
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], 0xb9
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 0x40240a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40240a
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], 0xe4
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 0x402474
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402474
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], 0x4b
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 0x4024de
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4024de
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], 0x77
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 0x40254e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40254e
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], 0xa4
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 0x4025be
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4025be
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], 0x31
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 0x40262e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40262e
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], 9
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 0x40269e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40269e
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], 0xbc
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 0x40270e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40270e
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], 0xaf
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 0x40277e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40277e
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], 0x3e
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 0x4027ee
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4027ee
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], 0x4b
inc esi
cmp esi, 0x2b800
jb 0x402211
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret