Function at 0x402250
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.00406570
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.00406320
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 0x4022b2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4022b2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x10]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
sub byte [esi + 0x438a70], 0x80
call fcn.00406570
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.00406320
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 0x40231c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40231c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x14]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0xb7
call fcn.00406570
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.00406320
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 0x402386
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402386
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x18]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0xb3
call fcn.00406570
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.00406320
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 0x4023f0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4023f0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
xor byte [esi + 0x438a70], 0x89
call fcn.00406570
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.00406320
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 0x40245a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40245a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0x31
call fcn.00406570
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.00406320
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 0x4024c4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4024c4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x24]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
xor byte [esi + 0x438a70], 0xf8
call fcn.00406570
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.00406320
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 0x40252e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40252e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x28]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0xd8
call fcn.00406570
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.00406320
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 0x40259e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40259e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x2c]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0x75
call fcn.00406570
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.00406320
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 0x40260e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40260e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x30]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
xor byte [esi + 0x438a70], 0xfb
call fcn.00406570
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.00406320
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 0x40267e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40267e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x34]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
xor byte [esi + 0x438a70], 0xb
call fcn.00406570
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.00406320
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 0x4026ee
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4026ee
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x38]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0x45
call fcn.00406570
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.00406320
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 0x40275e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40275e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x3c]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0x65
call fcn.00406570
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.00406320
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 0x4027ce
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x4027ce
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x40]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0xca
call fcn.00406570
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.00406320
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 0x40283e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40283e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x44]
mov ecx, ebx
call fcn.00407950
mov ecx, ebx
call fcn.00405fb0
add byte [esi + 0x438a70], 0xfe
inc esi
cmp esi, 0x23000
jb 0x402261
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret