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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov ecx, dword [ebp + 0x10]
sub esp, 0x2b4
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0xc]
neg eax
lea eax, [edx + eax*2]
lea edx, [ecx + 5]
test edx, edx
jle 0x821307
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edx
movzx edx, byte [eax + 1]
movzx esi, byte [eax]
add esi, edx
movzx edx, byte [eax - 1]
shl esi, 2
sub esi, edx
movzx edx, byte [eax + 2]
sub esi, edx
movzx ebx, byte [eax + 3]
imul esi, esi, 5
add esi, ebx
movzx edx, byte [eax - 2]
add edx, esi
movzx esi, byte [eax + 1]
mov dword [ecx - 4], edx
movzx edx, byte [eax + 2]
add esi, edx
shl esi, 2
sub esi, ebx
mov ebx, esi
movzx esi, byte [eax]
sub ebx, esi
imul ebx, ebx, 5
movzx esi, byte [eax + 4]
add ebx, esi
movzx esi, byte [eax - 1]
add ebx, esi
movzx esi, byte [eax + 3]
mov dword [ecx], ebx
lea ebx, [esi + edx]
movzx esi, byte [eax + 4]
shl ebx, 2
sub ebx, esi
movzx esi, byte [eax + 1]
sub ebx, esi
movzx esi, byte [eax + 5]
imul ebx, ebx, 5
add ebx, esi
movzx esi, byte [eax]
add ebx, esi
movzx esi, byte [eax + 3]
mov dword [ecx + 4], ebx
movzx ebx, byte [eax + 4]
add ebx, esi
movzx esi, byte [eax + 5]
shl ebx, 2
sub ebx, esi
movzx esi, byte [eax + 6]
sub ebx, edx
imul ebx, ebx, 5
add ebx, esi
movzx esi, byte [eax + 1]
add ebx, esi
movzx esi, byte [eax + 4]
mov dword [ecx + 8], ebx
movzx ebx, byte [eax + 5]
add ebx, esi
movzx esi, byte [eax + 6]
shl ebx, 2
sub ebx, esi
movzx esi, byte [eax + 3]
sub ebx, esi
movzx esi, byte [eax + 7]
imul ebx, ebx, 5
add ebx, esi
add ebx, edx
movzx edx, byte [eax + 5]
mov dword [ecx + 0xc], ebx
movzx ebx, byte [eax + 6]
add ebx, edx
movzx edx, byte [eax + 4]
shl ebx, 2
sub ebx, esi
sub ebx, edx
movzx edx, byte [eax + 8]
imul ebx, ebx, 5
add ebx, edx
movzx edx, byte [eax + 3]
add ebx, edx
mov dword [ecx + 0x10], ebx
movzx edx, byte [eax + 6]
lea ebx, [esi + edx]
movzx edx, byte [eax + 8]
shl ebx, 2
sub ebx, edx
movzx edx, byte [eax + 5]
sub ebx, edx
movzx edx, byte [eax + 9]
imul ebx, ebx, 5
add ebx, edx
movzx edx, byte [eax + 4]
add ebx, edx
movzx edx, byte [eax + 8]
add esi, edx
movzx edx, byte [eax + 9]
shl esi, 2
sub esi, edx
movzx edx, byte [eax + 6]
sub esi, edx
movzx edx, byte [eax + 5]
imul esi, esi, 5
mov dword [ecx + 0x14], ebx
movzx ebx, byte [eax + 0xa]
add eax, dword [ebp + 0xc]
add esi, edx
add ebx, esi
mov dword [ecx + 0x18], ebx
add ecx, 0x20
dec dword [esp + 0x18]
jne 0x8211b8
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x821530
lea esi, [esp + 0x60]
mov dword [esp + 0x18], ecx
mov edx, 0xff
mov ecx, dword [esi - 0x40]
lea eax, [esi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
add eax, dword [esi]
shl eax, 2
sub eax, dword [esi + 0x40]
sub eax, dword [esi - 0x20]
imul eax, eax, 5
add eax, dword [esi + 0x60]
lea eax, [eax + ecx + 0x200]
sar eax, 0xa
test eax, eax
jle 0x82134f
cmp eax, edx
jl 0x821351
mov eax, edx
jmp 0x821351
xor eax, eax
mov cl, byte [edi]
mov bl, al
or al, cl
xor bl, cl
mov ecx, dword [esi - 0x3c]
shr bl, 1
sub al, bl
mov byte [edi], al
mov eax, dword [esi + 0x24]
add eax, dword [esi + 4]
shl eax, 2
sub eax, dword [esi + 0x44]
sub eax, dword [esi - 0x1c]
imul eax, eax, 5
add eax, dword [esi + 0x64]
lea eax, [eax + ecx + 0x200]
sar eax, 0xa
test eax, eax
jle 0x82138d
cmp eax, edx
jl 0x82138f
mov eax, edx
jmp 0x82138f
xor eax, eax
mov cl, byte [edi + 1]
mov bl, al
or al, cl
xor bl, cl
mov ecx, dword [esi - 0x38]
shr bl, 1
sub al, bl
mov byte [edi + 1], al
mov eax, dword [esi + 0x28]
add eax, dword [esi + 8]
shl eax, 2
sub eax, dword [esi + 0x48]
sub eax, dword [esi - 0x18]
imul eax, eax, 5
add eax, dword [esi + 0x68]
lea eax, [eax + ecx + 0x200]
sar eax, 0xa
test eax, eax
jle 0x8213cd
cmp eax, edx
jl 0x8213cf
mov eax, edx
jmp 0x8213cf
xor eax, eax
mov cl, byte [edi + 2]
mov bl, al
or al, cl
xor bl, cl
mov ecx, dword [esi - 0x34]
shr bl, 1
sub al, bl
mov byte [edi + 2], al
mov eax, dword [esi + 0x2c]
add eax, dword [esi + 0xc]
shl eax, 2
sub eax, dword [esi + 0x4c]
sub eax, dword [esi - 0x14]
imul eax, eax, 5
add eax, dword [esi + 0x6c]
lea eax, [eax + ecx + 0x200]
sar eax, 0xa
test eax, eax
jle 0x82140d
cmp eax, edx
jl 0x82140f
mov eax, edx
jmp 0x82140f
xor eax, eax
mov cl, byte [edi + 3]
mov bl, al
or al, cl
xor bl, cl
mov ecx, dword [esi - 0x30]
shr bl, 1
sub al, bl
mov byte [edi + 3], al
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x10]
shl eax, 2
sub eax, dword [esi + 0x50]
sub eax, dword [esi - 0x10]
imul eax, eax, 5
add eax, dword [esi + 0x70]
lea eax, [eax + ecx + 0x200]
sar eax, 0xa
test eax, eax
jle 0x82144d
cmp eax, edx
jl 0x82144f
mov eax, edx
jmp 0x82144f
xor eax, eax
mov cl, byte [edi + 4]
mov bl, al
or al, cl
xor bl, cl
mov ecx, dword [esi - 0x2c]
shr bl, 1
sub al, bl
mov byte [edi + 4], al
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x14]
shl eax, 2
sub eax, dword [esi + 0x54]
sub eax, dword [esi - 0xc]
imul eax, eax, 5
add eax, dword [esi + 0x74]
lea eax, [eax + ecx + 0x200]
sar eax, 0xa
test eax, eax
jle 0x82148d
cmp eax, edx
jl 0x82148f
mov eax, edx
jmp 0x82148f
xor eax, eax
mov cl, byte [edi + 5]
mov bl, al
or al, cl
xor bl, cl
mov ecx, dword [esi - 0x28]
shr bl, 1
sub al, bl
mov byte [edi + 5], al
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x18]
shl eax, 2
sub eax, dword [esi + 0x58]
sub eax, dword [esi - 8]
imul eax, eax, 5
add eax, dword [esi + 0x78]
lea eax, [eax + ecx + 0x200]
sar eax, 0xa
test eax, eax
jle 0x8214cd
cmp eax, edx
jl 0x8214cf
mov eax, edx
jmp 0x8214cf
xor eax, eax
mov cl, byte [edi + 6]
mov bl, al
or al, cl
xor bl, cl
mov ecx, dword [esi - 0x24]
shr bl, 1
sub al, bl
mov byte [edi + 6], al
mov eax, dword [esi + 0x3c]
add eax, dword [esi + 0x1c]
shl eax, 2
sub eax, dword [esi + 0x5c]
sub eax, dword [esi - 4]
imul eax, eax, 5
add eax, dword [esi + 0x7c]
lea eax, [eax + ecx + 0x200]
sar eax, 0xa
test eax, eax
jle 0x82150d
cmp eax, edx
jl 0x82150f
mov eax, edx
jmp 0x82150f
xor eax, eax
mov cl, byte [edi + 7]
mov esi, dword [esp + 0x1c]
mov bl, al
xor bl, cl
shr bl, 1
or al, cl
sub al, bl
mov byte [edi + 7], al
add edi, dword [ebp + 8]
dec dword [esp + 0x18]
jne 0x82131c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret