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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x78]
mov esi, ebp
sub edi, ecx
sub esi, edx
mov ecx, edi
cmp esi, 3
jle 0x660fea5f
cmp edi, 3
jg 0x660fec10
mov edi, 4
cmp ecx, 4
mov dword [esp + 0x1c], 0
cmovg ecx, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
sub ecx, 1
cmp esi, 4
mov dword [esp + 0x28], 0
cmovg esi, edi
mov dword [esp + 0x2c], 0
shl ecx, 4
mov dword [esp + 0x30], 1
lea esi, [esi*4 - 4]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov edi, dword [esp + esi*4 + 0x1c]
mov dword [esp + 0x50], 1
add edi, edx
mov dword [esp + 0x54], 2
mov dword [esp + 8], edi
mov edi, dword [esp + esi*4 + 0x20]
mov dword [esp + 0x58], 3
add edi, edx
mov dword [esp + 0xc], edi
mov edi, dword [esp + esi*4 + 0x24]
add edi, edx
add edx, dword [esp + esi*4 + 0x28]
lea esi, [esp + ecx + 0x1c]
mov dword [esp + 0x10], edi
lea edi, [eax + 0x40]
mov dword [esp + 0x14], edx
cmp ebp, 1
jne 0x660fec95
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
add eax, 0x10
add esi, 4
add edx, dword [esi - 4]
lea ebp, [ecx + edx]
mov dword [esp], edx
movzx edx, byte [ebx + ebp*4]
lea ecx, [ebp*4]
mov byte [eax - 0x10], dl
movzx edx, byte [ebx + ecx + 1]
mov byte [eax - 0xf], dl
movzx edx, byte [ebx + ecx + 2]
mov byte [eax - 0xe], dl
movzx ecx, byte [ebx + ecx + 3]
mov edx, dword [esp]
mov byte [eax - 0xd], cl
mov ecx, dword [esp + 0xc]
lea ebp, [ecx + edx]
movzx edx, byte [ebx + ebp*4]
lea ecx, [ebp*4]
mov byte [eax - 0xc], dl
movzx edx, byte [ebx + ecx + 1]
mov byte [eax - 0xb], dl
movzx edx, byte [ebx + ecx + 2]
mov byte [eax - 0xa], dl
movzx ecx, byte [ebx + ecx + 3]
mov edx, dword [esp]
mov byte [eax - 9], cl
mov ecx, dword [esp + 0x10]
lea ebp, [ecx + edx]
movzx edx, byte [ebx + ebp*4]
lea ecx, [ebp*4]
mov byte [eax - 8], dl
movzx edx, byte [ebx + ecx + 1]
mov byte [eax - 7], dl
movzx edx, byte [ebx + ecx + 2]
mov byte [eax - 6], dl
movzx ecx, byte [ebx + ecx + 3]
mov byte [eax - 5], cl
mov edx, dword [esp]
add edx, dword [esp + 0x14]
lea ecx, [edx*4]
movzx edx, byte [ebx + edx*4]
mov byte [eax - 4], dl
movzx edx, byte [ebx + ecx + 1]
mov byte [eax - 3], dl
movzx edx, byte [ebx + ecx + 2]
mov byte [eax - 2], dl
movzx edx, byte [ebx + ecx + 3]
mov byte [eax - 1], dl
cmp eax, edi
jne 0x660feb33
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 4]
shl edx, 2
imul ecx, ebp
lea edx, [edx + ecx*4]
lea ecx, [ebp*4 - 0xc]
add ebx, edx
mov edx, dword [ebx]
mov dword [eax], edx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
lea edx, [ebx + ecx + 0xc]
mov ebx, dword [edx]
mov dword [eax + 0x10], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 0x14], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 0x18], ebx
mov ebx, dword [edx + 0xc]
lea edx, [edx + ecx + 0xc]
mov dword [eax + 0x1c], ebx
mov ebx, dword [edx]
mov dword [eax + 0x20], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 0x24], ebx
mov ebx, dword [edx + 8]
mov dword [eax + 0x28], ebx
mov ebx, dword [edx + 0xc]
lea edx, [edx + ecx + 0xc]
mov dword [eax + 0x2c], ebx
mov ecx, dword [edx]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 0x38], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0x3c], edx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [eax + 0x40]
lea edi, [esp + ecx + 0x1c]
mov dword [esp + 0x18], esi
mov edx, dword [esp + 4]
add edx, dword [edi]
add eax, 0x10
add edi, 4
imul edx, ebp
mov esi, dword [esp + 8]
add esi, edx
mov dword [esp], edx
movzx edx, byte [ebx + esi*4]
lea ecx, [esi*4]
mov esi, dword [esp + 0xc]
add esi, dword [esp]
mov byte [eax - 0x10], dl
movzx edx, byte [ebx + ecx + 1]
mov byte [eax - 0xf], dl
movzx edx, byte [ebx + ecx + 2]
mov byte [eax - 0xe], dl
movzx ecx, byte [ebx + ecx + 3]
mov byte [eax - 0xd], cl
movzx edx, byte [ebx + esi*4]
lea ecx, [esi*4]
mov esi, dword [esp + 0x10]
add esi, dword [esp]
mov byte [eax - 0xc], dl
movzx edx, byte [ebx + ecx + 1]
mov byte [eax - 0xb], dl
movzx edx, byte [ebx + ecx + 2]
mov byte [eax - 0xa], dl
movzx ecx, byte [ebx + ecx + 3]
mov byte [eax - 9], cl
movzx edx, byte [ebx + esi*4]
lea ecx, [esi*4]
mov byte [eax - 8], dl
movzx edx, byte [ebx + ecx + 1]
mov byte [eax - 7], dl
movzx edx, byte [ebx + ecx + 2]
mov byte [eax - 6], dl
movzx ecx, byte [ebx + ecx + 3]
mov byte [eax - 5], cl
mov edx, dword [esp]
add edx, dword [esp + 0x14]
lea ecx, [edx*4]
movzx edx, byte [ebx + edx*4]
mov byte [eax - 4], dl
movzx edx, byte [ebx + ecx + 1]
mov byte [eax - 3], dl
movzx edx, byte [ebx + ecx + 2]
mov byte [eax - 2], dl
movzx edx, byte [ebx + ecx + 3]
mov byte [eax - 1], dl
cmp eax, dword [esp + 0x18]
jne 0x660feca0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret