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

Disassembly:
sub esp, 0x80
mov dword [esp + 0x18], ecx
cmp dl, 2
mov ecx, 8
mov eax, 4
cmove eax, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp], eax
mov eax, ecx
shr eax, 8
push ebx
push ebp
movzx ebp, al
mov eax, ecx
shr eax, 0x10
push esi
push edi
movzx edi, al
mov eax, dword [esp + 0x98]
movzx esi, al
shr eax, 8
movzx eax, al
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x98]
mov eax, esi
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x9c]
shr esi, 0x18
mov dword [esp + 0x44], esi
movzx esi, al
shr eax, 8
movzx eax, al
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x9c]
mov eax, esi
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
shr esi, 0x18
sub dword [esp + 0x34], ebp
sub dword [esp + 0x3c], edi
mov dword [esp + 0x20], esi
movzx esi, al
shr eax, 8
sub esi, dword [esp + 0x1c]
movzx eax, al
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa0]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xa0]
shr eax, 0x18
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x18]
movzx ebx, cl
sub dword [esp + 0x30], ebx
shr ecx, 0x18
sub dword [esp + 0x44], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x20]
sub dword [esp + 0x64], esi
imul ebx, eax
imul ebp, eax
imul edi, eax
imul ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x14]
imul ebx, dword [esp + 0x10]
imul eax, dword [esp + 0x10]
imul esi, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
imul ebx, dword [esp + 0x10]
cmp dl, 2
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x2c]
jne 0x656f0e
test edx, edx
je 0x657054
lea eax, [ecx*4]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x54], eax
add esi, 8
lea eax, [edi*4]
mov dword [esp + 0x68], esi
mov dword [esp + 0x50], eax
lea eax, [ebp*4]
mov dword [esp + 0x4c], eax
lea eax, [ebx*4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
shl eax, 2
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x3c]
shl eax, 2
mov esi, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
shl eax, 2
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
shl eax, 2
mov dword [esp + 0x80], eax
lea eax, [edx + edx*2]
shl eax, 4
add eax, 8
add eax, esi
mov dword [esp + 0x78], eax
mov eax, edx
shl eax, 5
add eax, 8
add eax, esi
mov dword [esp + 0x28], eax
mov eax, edx
shl eax, 4
add eax, 8
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
nop dword [eax + eax]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
sub esi, ebp
mov ebp, eax
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x48]
sub ebp, ecx
mov ecx, eax
add esi, dword [esp + 0x4c]
sar ecx, 7
sub edx, ebx
mov ebx, dword [esp + 0x18]
sar eax, 2
sub ebx, edi
add ecx, eax
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], edx
add edx, dword [esp + 0x48]
mov dword [edi - 8], ecx
mov ecx, eax
sar ecx, 7
sar eax, 2
add ecx, eax
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x50]
mov dword [edi - 4], ecx
mov ecx, eax
sar ecx, 7
sar eax, 2
add ecx, eax
mov eax, dword [esp + 0x54]
mov dword [edi], ecx
mov ecx, eax
sar eax, 1
sar ecx, 5
add ecx, eax
mov eax, edx
mov dword [edi + 4], ecx
mov ecx, edx
mov edi, dword [esp + 0x50]
sar eax, 2
add edi, ebx
sar ecx, 7
add ecx, eax
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
add ebx, ebp
add edx, dword [esp + 0x6c]
mov dword [eax - 8], ecx
mov ecx, esi
sar ecx, 7
mov eax, esi
sar eax, 2
add ecx, eax
add esi, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
mov dword [eax - 4], ecx
mov ecx, edi
sar ecx, 7
mov eax, edi
add edi, dword [esp + 0x74]
sar eax, 2
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, ebx
sar ecx, 5
mov eax, ebx
sar eax, 1
add ebx, ebp
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, edx
mov eax, edx
sar ecx, 7
sar eax, 2
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [eax - 8], ecx
add edx, dword [esp + 0x6c]
mov ecx, esi
sar ecx, 7
mov eax, esi
sar eax, 2
add ecx, eax
add esi, dword [esp + 0x70]
mov eax, dword [esp + 0x28]
add dword [esp + 0x68], 0x10
add dword [esp + 0x24], 0x10
mov dword [eax - 4], ecx
mov ecx, edi
sar ecx, 7
mov eax, edi
sar eax, 2
add ecx, eax
add edi, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, ebx
mov eax, ebx
sar ecx, 5
sar eax, 1
add ebx, ebp
add ecx, eax
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
add ebp, dword [esp + 0x34]
add dword [esp + 0x28], 0x10
mov dword [esp + 0x38], ebp
mov dword [eax + 4], ecx
mov eax, edx
sar eax, 7
sar edx, 2
add eax, edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
add ecx, dword [esp + 0x44]
mov dword [esp + 0x58], ecx
mov dword [edx - 8], eax
mov eax, esi
sar eax, 7
sar esi, 2
add eax, esi
mov dword [edx - 4], eax
mov eax, edi
sar eax, 7
sar edi, 2
add eax, edi
mov edi, dword [esp + 0x40]
mov dword [edx], eax
mov eax, ebx
add edi, dword [esp + 0x3c]
sar eax, 5
sar ebx, 1
add eax, ebx
mov dword [esp + 0x40], edi
mov ebx, dword [esp + 0x2c]
add ebx, dword [esp + 0x30]
mov dword [edx + 4], eax
add edx, 0x10
mov eax, dword [esp + 0x80]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x84]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x88]
add dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
add dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x64]
sub dword [esp + 0x10], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], edx
jne 0x656d00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
shl edx, 4
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x28]
add edx, 8
mov dword [esp + 0x74], 4
mov dword [esp + 0x68], edx
mov edx, edi
nop word [eax + eax]
sub eax, dword [esp + 0x2c]
lea esi, [ebx*4]
mov dword [esp + 0x8c], eax
lea edi, [ebp*4]
mov eax, dword [esp + 0x14]
lea ebx, [edx*4]
sub eax, dword [esp + 0x38]
lea ebp, [ecx*4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
sub eax, edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
sub eax, ecx
cmp dword [esp + 0x10], 0
mov dword [esp + 0x80], eax
jbe 0x656ff5
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], ecx
mov edx, esi
lea eax, [eax + 0x10]
sar edx, 6
mov ecx, esi
add esi, dword [esp + 0x8c]
sar ecx, 1
add edx, ecx
mov ecx, edi
mov dword [eax - 0x18], edx
mov edx, edi
add edi, dword [esp + 0x88]
sar ecx, 1
sar edx, 6
add edx, ecx
mov ecx, ebx
mov dword [eax - 0x14], edx
mov edx, ebx
add ebx, dword [esp + 0x84]
sar ecx, 1
sar edx, 6
add edx, ecx
mov ecx, ebp
sar ecx, 4
add ecx, ebp
mov dword [eax - 0x10], edx
add ebp, dword [esp + 0x80]
sub dword [esp + 0x78], 1
mov dword [eax - 0xc], ecx
jne 0x656f93
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
add dword [esp + 0x14], esi
mov esi, dword [esp + 0x60]
add dword [esp + 0x18], esi
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], esi
add ebx, dword [esp + 0x30]
add ebp, dword [esp + 0x34]
add edx, dword [esp + 0x3c]
add ecx, dword [esp + 0x44]
add eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
add dword [esp + 0x68], esi
sub dword [esp + 0x74], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x1c], eax
jne 0x656f30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret