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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, 0x403153
mov edi, 0x403253
movzx eax, byte [esp + 0x18]
mov ecx, eax
and ecx, 1
mov dword [esi + 0x1c], ecx
mov dword [esi + 0xe0], ecx
mov ecx, eax
shr ecx, 1
and ecx, 1
mov dword [esi + 0xc0], ecx
mov dword [esi + 0x18], ecx
mov ecx, eax
shr ecx, 2
and ecx, 1
mov dword [esi + 0xa0], ecx
mov dword [esi + 0x14], ecx
mov ecx, eax
shr ecx, 3
and ecx, 1
mov dword [esi + 0x80], ecx
mov dword [esi + 0x10], ecx
mov ecx, eax
shr ecx, 4
and ecx, 1
mov dword [esi + 0x60], ecx
mov dword [esi + 0xc], ecx
mov ecx, eax
shr ecx, 5
and ecx, 1
mov dword [esi + 0x40], ecx
mov dword [esi + 8], ecx
mov ecx, eax
shr eax, 7
and eax, 1
mov dword [esi], eax
mov dword [esi], eax
shr ecx, 6
and ecx, 1
mov dword [esi + 0x20], ecx
mov dword [esi + 4], ecx
mov ebp, dword [esi + 0xc]
mov edx, dword [esi + 0x60]
mov ebx, dword [esi + 0x80]
mov eax, ecx
and eax, ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x24], eax
and ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x10]
and edx, ebp
mov ebp, dword [esi + 0xe0]
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0xa0]
mov dword [esi + 0x2c], edx
mov edx, dword [esi + 0x14]
and eax, ebx
and ecx, edx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x30], eax
and edx, dword [esi + 0xc0]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x34], ecx
and eax, ebp
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 4]
xor ecx, ebx
and ecx, 1
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
mov eax, dword [esi + 0x60]
xor edx, ecx
mov ecx, dword [esi + 0x10]
and edx, 1
mov dword [esi + 0x48], edx
xor ecx, dword [esi + 0x80]
mov edx, dword [esi + 0xa0]
xor eax, ebp
mov ebp, dword [esi + 0x14]
and eax, 1
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x18]
xor edx, ebp
and edx, 1
mov dword [esi + 0x54], edx
xor eax, dword [esi + 0xc0]
and ecx, 1
mov dword [esi + 0x50], ecx
mov ecx, dword [esi + 0x1c]
and eax, 1
mov dword [esi + 0x58], eax
xor ecx, dword [esi + 0xe0]
and ecx, 1
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 8]
mov ebp, dword [esi + 0xc]
mov edx, dword [esi + 0x20]
or eax, ecx
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xa0]
or edx, ebx
mov dword [esi + 0x64], edx
mov ebx, dword [esi + 0x80]
mov edx, dword [esi + 0x10]
or ecx, ebp
mov ebp, dword [esi + 0xe0]
mov dword [esi + 0x6c], ecx
or eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0xc0]
or edx, ebx
mov dword [esi + 0x70], edx
mov edx, dword [esi + 0x1c]
or ecx, eax
mov dword [esi + 0x78], ecx
or edx, ebp
mov dword [esi + 0x7c], edx
mov ecx, dword [esi + 8]
mov ebp, dword [esi + 0x40]
mov ebx, dword [esi + 4]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x60]
or eax, ebx
mov ebx, dword [esi + 0x80]
or ecx, ebp
not eax
not ecx
and eax, 1
and ecx, 1
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x88], ecx
or edx, dword [esi + 0xc]
or eax, ebx
not edx
and edx, 1
not eax
mov dword [esi + 0x8c], edx
and eax, 1
mov ebp, dword [esi + 0x14]
mov ecx, dword [esi + 0xa0]
mov dword [esi + 0x90], eax
mov ebx, dword [esi + 0xe0]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or ecx, ebp
not ecx
and ecx, 1
mov dword [esi + 0x94], ecx
or edx, dword [esi + 0xc0]
or eax, ebx
not edx
and edx, 1
mov dword [esi + 0x98], edx
not eax
and eax, 1
mov dword [esi + 0x9c], eax
mov ebp, dword [esi + 4]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x60]
and ecx, ebp
mov ebp, dword [esi + 0x80]
not ecx
and ecx, 1
mov dword [esi + 0xa4], ecx
and edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x10]
and ecx, ebp
mov ebp, dword [esi + 0xe0]
and eax, ebx
mov ebx, dword [esi + 0xc0]
not ecx
not edx
and ecx, 1
mov dword [esi + 0xb0], ecx
mov ecx, dword [esi + 0x14]
and edx, 1
mov dword [esi + 0xa8], edx
mov edx, dword [esi + 0xa0]
and edx, ecx
mov ecx, dword [esi + 0x1c]
not eax
and eax, 1
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x18]
and ecx, ebp
and eax, ebx
not ecx
not edx
and edx, 1
mov dword [esi + 0xb4], edx
not eax
and ecx, 1
mov dword [esi + 0xbc], ecx
and eax, 1
mov dword [esi + 0xb8], eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x40]
mov ebp, dword [esi + 0x14]
and edx, ecx
mov ecx, dword [esi + 0x60]
and eax, ebx
and ecx, ebp
not edx
and edx, 1
not eax
not ecx
and eax, 1
and ecx, 1
mov dword [esi + 0xc4], edx
mov edx, dword [esi + 0x10]
mov dword [esi + 0xcc], ecx
mov ecx, dword [esi + 0x80]
mov dword [esi + 0xc8], eax
mov ebp, dword [esi + 0xc0]
mov ebx, dword [esi + 0xc]
and edx, ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xa0]
and ecx, ebp
not edx
and edx, 1
mov dword [esi + 0xd0], edx
mov edx, dword [esi + 4]
and eax, ebx
not ecx
and ecx, 1
mov dword [esi + 0xd8], ecx
and edx, dword [esi + 0xe0]
not eax
and eax, 1
mov dword [esi + 0xd4], eax
not edx
and edx, 1
mov dword [esi + 0xdc], edx
mov ebp, dword [esi + 0xd8]
mov ecx, dword [esi + 0x40]
mov ebx, dword [esi + 0x20]
xor ecx, ebp
mov ebp, dword [esi + 0xa0]
mov eax, edx
mov edx, dword [esi + 0xd4]
xor eax, ebx
mov ebx, dword [esi + 0x80]
not eax
not ecx
and eax, 1
and ecx, 1
mov dword [esi + 0xe8], ecx
xor edx, dword [esi + 0x60]
mov ecx, dword [esi + 0xcc]
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0xd0]
xor eax, ebx
mov ebx, dword [esi + 0xe0]
not eax
xor ecx, ebp
not edx
and eax, 1
and edx, 1
not ecx
mov dword [esi + 0xec], edx
mov edx, dword [esi + 0xc8]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xc4]
and ecx, 1
mov dword [esi + 0xf4], ecx
mov ecx, dword [esi + 0xc0]
xor eax, ebx
xor edx, ecx
not eax
not edx
and eax, 1
and edx, 1
mov dword [esi + 0xf8], edx
mov dword [esi + 0xfc], eax
cmp dword [esi], 1
jne 0x402946
mov dword [edi], 1
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x20]
mov dword [edi + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x40]
mov dword [edi + 0x40], ecx
mov edx, dword [esi + 0x44]
mov dword [edi + 0x44], edx
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov ecx, dword [esi + 0x64]
mov dword [edi + 0x64], ecx
mov edx, dword [esi + 0x80]
mov dword [edi + 0x80], edx
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov ecx, dword [esi + 0xa0]
mov dword [edi + 0xa0], ecx
mov edx, dword [esi + 0xa4]
mov dword [edi + 0xa4], edx
mov eax, dword [esi + 0xc0]
mov dword [edi + 0xc0], eax
mov ecx, dword [esi + 0xc4]
mov dword [edi + 0xc4], ecx
mov edx, dword [esi + 0xe0]
mov dword [edi + 0xe0], edx
mov eax, dword [esi + 0xe4]
mov dword [edi + 0xe4], eax
mov ebp, dword [edi + 4]
mov ecx, dword [edi]
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x24]
xor ecx, ebp
mov ebp, dword [edi + 0x64]
mov dword [edi + 8], ecx
xor eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x60]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0xa0]
xor edx, ebx
mov ebx, dword [edi + 0x84]
mov dword [edi + 0x28], edx
mov edx, dword [edi + 0x80]
xor ecx, ebp
mov ebp, dword [edi + 0xc4]
mov dword [edi + 0x68], ecx
xor eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0xc0]
mov dword [edi + 0xa8], eax
xor edx, ebx
mov ebx, dword [edi + 0xe4]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0xe0]
xor ecx, ebp
mov dword [edi + 0xc8], ecx
xor edx, ebx
mov dword [edi + 0xe8], edx
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov ebp, dword [edi + 0x24]
mov edx, dword [edi + 0x44]
mov ebx, dword [edi + 0x48]
or eax, ecx
mov ecx, dword [edi + 0x28]
or ecx, ebp
mov ebp, dword [edi + 0x88]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x68]
mov dword [edi + 0x2c], ecx
mov ecx, dword [edi + 0x64]
or edx, ebx
or eax, ecx
mov ecx, dword [edi + 0x84]
mov dword [edi + 0x4c], edx
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0xc4]
mov ebx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa8]
or ecx, ebp
mov dword [edi + 0x8c], ecx
mov ecx, dword [edi + 0xc8]
mov ebp, dword [edi + 0xe4]
or eax, ecx
mov dword [edi + 0xcc], eax
mov ecx, dword [edi + 0xe8]
or ecx, ebp
mov dword [edi + 0xec], ecx
or edx, ebx
mov dword [edi + 0xac], edx
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
mov ebp, dword [edi + 0x48]
mov ebx, dword [edi + 8]
mov edx, dword [edi + 0xc]
xor eax, ecx
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x8c]
xor ecx, ebp
mov ebp, dword [edi + 0xa8]
mov dword [edi + 0x50], ecx
xor eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xac]
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0xec]
xor edx, ebx
mov ebx, dword [edi + 0x68]
mov dword [edi + 0x10], edx
mov edx, dword [edi + 0x6c]
xor ecx, ebp
mov dword [edi + 0xb0], ecx
mov ecx, dword [edi + 0xe8]
xor edx, ebx
mov ebx, dword [edi + 0xc8]
mov dword [edi + 0x70], edx
mov edx, dword [edi + 0xcc]
xor eax, ecx
mov dword [edi + 0xf0], eax
xor edx, ebx
mov dword [edi + 0xd0], edx
mov ebp, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x30]
or ecx, ebp
mov ebp, dword [edi + 0x6c]
mov dword [edi + 0x14], ecx
or eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x70]
or edx, ebx
mov ebx, dword [edi + 0x8c]
or ecx, ebp
mov ebp, dword [edi + 0xcc]
mov dword [edi + 0x34], edx
mov edx, dword [edi + 0x90]
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0xb0]
mov dword [edi + 0x74], ecx
mov ecx, dword [edi + 0xac]
or edx, ebx
mov ebx, dword [edi + 0xec]
or eax, ecx
mov ecx, dword [edi + 0xd0]
mov dword [edi + 0x94], edx
mov edx, dword [edi + 0xf0]
or ecx, ebp
or edx, ebx
mov dword [edi + 0xb4], eax
mov dword [edi + 0xd4], ecx
mov dword [edi + 0xf4], edx
mov eax, dword [edi + 0x14]
xor eax, dword [edi + 0x10]
mov ebp, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov ebx, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x74]
xor ecx, ebp
mov ebp, dword [edi + 0x90]
mov dword [edi + 0x38], ecx
xor eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x94]
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0xd4]
xor ecx, ebp
mov ebp, dword [edi + 0xf0]
mov dword [edi + 0x98], ecx
mov ecx, dword [edi + 0xd0]
xor edx, ebx
mov ebx, dword [edi + 0xb0]
mov dword [edi + 0x58], edx
mov edx, dword [edi + 0xb4]
xor eax, ecx
mov ecx, dword [edi + 0xf4]
mov dword [edi + 0xd8], eax
xor ecx, ebp
mov dword [edi + 0xf8], ecx
xor edx, ebx
mov dword [edi + 0xb8], edx
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
mov ebp, dword [edi + 0x54]
mov ebx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
xor eax, ecx
mov ecx, dword [edi + 0x58]
xor ecx, ebp
mov ebp, dword [edi + 0xb4]
xor edx, ebx
mov ebx, dword [edi + 0x74]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x98]
mov dword [edi + 0x5c], ecx
xor eax, dword [edi + 0x94]
mov ecx, dword [edi + 0xb8]
mov dword [edi + 0x1c], edx
mov edx, dword [edi + 0x78]
xor edx, ebx
mov ebx, dword [edi + 0xd4]
xor ecx, ebp
mov dword [edi + 0x7c], edx
mov edx, dword [edi + 0xd8]
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0xf8]
mov dword [edi + 0xbc], ecx
mov ecx, dword [edi + 0xf4]
xor edx, ebx
xor eax, ecx
mov dword [edi + 0xdc], edx
mov dword [edi + 0xfc], eax
mov ebp, edi
jmp 0x402948
mov ebp, esi
xor ecx, ecx
lea eax, [ebp + 8]
mov edx, 4
mov ebx, dword [eax - 8]
add ecx, ecx
or ecx, ebx
mov ebx, dword [eax - 4]
shl ecx, 1
or ecx, ebx
mov ebx, dword [eax]
shl ecx, 1
or ecx, ebx
mov ebx, dword [eax + 4]
shl ecx, 1
or ecx, ebx
mov ebx, dword [eax + 8]
shl ecx, 1
or ecx, ebx
mov ebx, dword [eax + 0xc]
shl ecx, 1
or ecx, ebx
mov ebx, dword [eax + 0x10]
shl ecx, 1
or ecx, ebx
mov ebx, dword [eax + 0x14]
shl ecx, 1
or ecx, ebx
add eax, 0x20
dec edx
jne 0x402952
xor edx, edx
lea eax, [ebp + 0x88]
mov ebx, 4
lea ecx, [ecx]
add edx, edx
or edx, dword [eax - 8]
add eax, 0x20
shl edx, 1
or edx, dword [eax - 0x24]
shl edx, 1
or edx, dword [eax - 0x20]
shl edx, 1
or edx, dword [eax - 0x1c]
shl edx, 1
or edx, dword [eax - 0x18]
shl edx, 1
or edx, dword [eax - 0x14]
shl edx, 1
or edx, dword [eax - 0x10]
shl edx, 1
or edx, dword [eax - 0xc]
dec ebx
jne 0x40299e
xor eax, eax
test edx, edx
setne al
imul eax, ecx
test eax, eax
jne 0x4029df
mov edx, 1
xor ecx, ecx
lea eax, [ebp + 0x40]
mov ebx, 4
jmp 0x4029eb
add ecx, ecx
or ecx, dword [eax - 0x40]
add eax, 4
shl ecx, 1
or ecx, dword [eax - 0x24]
shl ecx, 1
or ecx, dword [eax - 4]
shl ecx, 1
or ecx, dword [eax + 0x1c]
shl ecx, 1
or ecx, dword [eax + 0x3c]
shl ecx, 1
or ecx, dword [eax + 0x5c]
shl ecx, 1
or ecx, dword [eax + 0x7c]
shl ecx, 1
or ecx, dword [eax + 0x9c]
dec ebx
jne 0x4029eb
xor eax, eax
test ecx, ecx
setne al
mov ebx, ecx
imul eax, edx
test eax, eax
jne 0x402a31
mov ebx, 1
xor ecx, ecx
lea eax, [ebp + 0x50]
mov edx, 4
add ecx, ecx
or ecx, dword [eax - 0x40]
add eax, 4
shl ecx, 1
or ecx, dword [eax - 0x24]
shl ecx, 1
or ecx, dword [eax - 4]
shl ecx, 1
or ecx, dword [eax + 0x1c]
shl ecx, 1
or ecx, dword [eax + 0x3c]
shl ecx, 1
or ecx, dword [eax + 0x5c]
shl ecx, 1
or ecx, dword [eax + 0x7c]
shl ecx, 1
or ecx, dword [eax + 0x9c]
dec edx
jne 0x402a3b
xor edx, edx
test ecx, ecx
setne dl
mov dword [esp + 0x10], ecx
imul edx, ebx
test edx, edx
jne 0x402a86
mov dword [esp + 0x10], 1
xor ecx, ecx
lea edx, [ebp + 0xe0]
lea eax, [ebp + 0xf8]
mov ebx, 4
mov edi, edi
add ecx, ecx
or ecx, dword [eax + 4]
sub eax, 0x20
shl ecx, 1
or ecx, dword [eax + 0x20]
sub edx, 0x20
shl ecx, 1
or ecx, dword [eax + 0x1c]
shl ecx, 1
or ecx, dword [eax + 0x18]
shl ecx, 1
or ecx, dword [eax + 0x14]
shl ecx, 1
or ecx, dword [eax + 0x10]
shl ecx, 1
or ecx, dword [eax + 0xc]
shl ecx, 1
or ecx, dword [edx + 0x20]
dec ebx
jne 0x402a9b
xor eax, eax
test ecx, ecx
setne al
imul eax, dword [esp + 0x10]
test eax, eax
jne 0x402ae1
mov ecx, 1
xor edx, edx
lea eax, [ebp + 0xcc]
mov ebx, 4
mov ebp, dword [eax + 0x20]
add edx, edx
or edx, ebp
mov ebp, dword [eax]
shl edx, 1
or edx, ebp
mov ebp, dword [eax - 0x20]
shl edx, 1
or edx, ebp
mov ebp, dword [eax - 0x40]
shl edx, 1
or edx, ebp
mov ebp, dword [eax - 0x60]
shl edx, 1
or edx, ebp
mov ebp, dword [eax - 0x80]
shl edx, 1
or edx, ebp
mov ebp, dword [eax - 0xa0]
shl edx, 1
or edx, ebp
mov ebp, dword [eax - 0xc0]
shl edx, 1
or edx, ebp
sub eax, 4
dec ebx
jne 0x402aee
xor eax, eax
test edx, edx
setne al
mov ebx, edx
imul eax, ecx
test eax, eax
jne 0x402b46
mov ebx, 1
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret