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

Disassembly:
sub esp, 0xcc
push ebx
push ebp
push edi
mov ebp, dword [esp + 0xe0]
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
mov dword [esp + 0x98], edx
movzx edx, byte [esi + 3]
mov dword [esp + 0x94], ecx
movzx ecx, byte [esi + 2]
and edx, 0xf
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esi + 4]
mov dword [esp + 0xa0], edx
movzx edx, byte [esi + 5]
and ecx, 0xfc
mov dword [esp + 0xa8], edx
movzx edx, byte [esi + 7]
mov dword [esp + 0xa4], ecx
movzx ecx, byte [esi + 6]
and edx, 0xf
mov dword [esp + 0xac], ecx
movzx ecx, byte [esi + 8]
mov dword [esp + 0xb0], edx
movzx edx, byte [esi + 9]
and ecx, 0xfc
mov dword [esp + 0xb8], edx
movzx edx, byte [esi + 0xb]
xor eax, eax
mov dword [esp + 0xb4], ecx
movzx ecx, byte [esi + 0xa]
and edx, 0xf
mov dword [esp + 0xbc], ecx
movzx ecx, byte [esi + 0xc]
mov dword [esp + 0xc0], edx
movzx edx, byte [esi + 0xd]
and ecx, 0xfc
mov dword [esp + 0xc8], edx
movzx edx, byte [esi + 0xf]
mov dword [esp + 0xc4], ecx
movzx ecx, byte [esi + 0xe]
xor edi, edi
and edx, 0xf
mov ebx, 0x10
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xc], eax
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 + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
xor ecx, ecx
cmp ecx, edi
ja 0x402ce0
jb 0x402cd2
cmp eax, ebx
jae 0x402ce0
movzx ecx, byte [eax + ebp]
mov dword [esp + eax*4 + 0x50], ecx
inc eax
cmp eax, 0x10
jb 0x402cc6
add ebp, eax
sub ebx, eax
sbb edi, 0
mov dword [esp + eax*4 + 0x50], 1
xor ecx, ecx
xor eax, eax
mov edx, dword [esp + eax + 0x50]
add edx, dword [esp + eax + 0xc]
add eax, 4
add ecx, edx
movzx edx, cl
mov dword [esp + eax + 8], edx
shr ecx, 8
cmp eax, 0x44
jb 0x402cf3
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x10]
call fcn.00402960
add esp, 4
test edi, edi
ja 0x402c71
jb 0x402d35
test ebx, ebx
ja 0x402c71
lea eax, [esp + 0xc]
call fcn.00402880
pop edi
pop ebp
xor eax, eax
pop ebx
movzx ecx, byte [esi + eax + 0x10]
mov dword [esp + eax*4 + 0x44], ecx
inc eax
cmp eax, 0x10
jb 0x402d43
xor ecx, ecx
mov dword [esp + 0x84], 0
xor eax, eax
mov edx, dword [esp + eax + 0x44]
add edx, dword [esp + eax]
add eax, 4
add ecx, edx
movzx edx, cl
mov dword [esp + eax - 4], edx
shr ecx, 8
cmp eax, 0x44
jb 0x402d61
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax*4]
mov edx, dword [esp + 0xd0]
mov byte [eax + edx], cl
inc eax
cmp eax, 0x10
jb 0x402d80
xor eax, eax
add esp, 0xcc
ret