Function at 0x56cab0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [0x673a8c]
push edi
mov edi, ecx
mov ecx, eax
shl ecx, 7
cmp eax, 4
lea ecx, [ecx + esi + 0x448]
mov dword [esp + 0x18], ecx
jl 0x56cae0
mov ebx, eax
and ebx, 1
inc ebx
jne 0x56cb5a
cmp dword [0x672f8c], 3
jne 0x56cb32
mov ebx, dword [0x6745f4]
mov esi, eax
and eax, 1
test ebp, ebp
je 0x56cb17
sar esi, 1
and esi, 1
add esi, edx
mov edx, dword [0x6745c4]
imul esi, edx
add esi, ebx
lea eax, [esi + eax*8]
add eax, edi
lea esi, [edx + edx]
jmp 0x56cbda
and esi, 2
lea edx, [edx + esi*4]
mov esi, dword [0x6745c4]
imul edx, esi
add edx, ebx
lea eax, [edx + eax*8]
add eax, edi
jmp 0x56cbda
mov esi, dword [0x6745c4]
mov ebx, eax
and ebx, 2
lea edx, [edx + ebx*4]
mov ebx, dword [0x6745f4]
add esi, esi
imul edx, esi
and eax, 1
add edx, ebx
lea eax, [edx + eax*8]
add eax, edi
jmp 0x56cbda
mov esi, dword [0x672f7c]
cmp esi, 3
je 0x56cb67
sar edi, 1
cmp esi, 1
jne 0x56cb6e
sar edx, 1
cmp dword [0x672f8c], 3
jne 0x56cbb7
test ebp, ebp
je 0x56cba7
cmp esi, 1
je 0x56cba7
mov ebp, dword [ebx*4 + 0x6745f4]
mov esi, eax
sar esi, 1
and esi, 1
add esi, edx
mov edx, dword [0x672fd8]
imul esi, edx
add esi, ebp
add esi, edi
and eax, 8
add eax, esi
lea esi, [edx + edx]
jmp 0x56cbda
mov esi, eax
and esi, 2
lea edx, [edx + esi*4]
mov esi, dword [0x672fd8]
jmp 0x56cbc7
mov esi, dword [0x672fd8]
mov ebp, eax
add esi, esi
and ebp, 2
lea edx, [edx + ebp*4]
mov ebp, dword [ebx*4 + 0x6745f4]
imul edx, esi
add edx, ebp
and eax, 8
add edx, edi
add eax, edx
mov edx, dword [esp + 0x24]
test edx, edx
mov edx, dword [0x6744e8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
je 0x56d016
test edx, edx
je 0x56cd62
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movq mm4, qword [ecx]
pxor mm6, mm6
movq mm0, qword [eax]
movq mm5, mm4
movq mm1, qword [eax + 8]
punpcklbw mm4, mm6
movq mm2, qword [eax + 0x10]
punpckhbw mm5, mm6
movq mm3, qword [eax + 0x18]
paddsw mm0, mm4
movq mm4, qword [ecx + edx]
paddsw mm1, mm5
movq qword [eax], mm6
movq mm5, mm4
movq qword [eax + 8], mm6
punpcklbw mm4, mm6
movq qword [eax + 0x10], mm6
paddsw mm2, mm4
movq qword [eax + 0x18], mm6
punpckhbw mm5, mm6
paddsw mm3, mm5
packuswb mm0, mm1
movq qword [ecx], mm0
packuswb mm2, mm3
movq qword [ecx + edx], mm2
lea ecx, [ecx + edx*2]
movq mm4, qword [ecx]
movq mm0, qword [eax + 0x20]
movq mm5, mm4
movq mm1, qword [eax + 0x28]
punpcklbw mm4, mm6
movq mm2, qword [eax + 0x30]
punpckhbw mm5, mm6
movq mm3, qword [eax + 0x38]
paddsw mm0, mm4
movq mm4, qword [ecx + edx]
paddsw mm1, mm5
movq qword [eax + 0x20], mm6
movq mm5, mm4
movq qword [eax + 0x28], mm6
punpcklbw mm4, mm6
movq qword [eax + 0x30], mm6
paddsw mm2, mm4
movq qword [eax + 0x38], mm6
punpckhbw mm5, mm6
paddsw mm3, mm5
packuswb mm0, mm1
movq qword [ecx], mm0
packuswb mm2, mm3
movq qword [ecx + edx], mm2
lea ecx, [ecx + edx*2]
movq mm4, qword [ecx]
movq mm0, qword [eax + 0x40]
movq mm5, mm4
movq mm1, qword [eax + 0x48]
punpcklbw mm4, mm6
movq mm2, qword [eax + 0x50]
punpckhbw mm5, mm6
movq mm3, qword [eax + 0x58]
paddsw mm0, mm4
movq mm4, qword [ecx + edx]
paddsw mm1, mm5
movq qword [eax + 0x40], mm6
movq mm5, mm4
movq qword [eax + 0x48], mm6
punpcklbw mm4, mm6
movq qword [eax + 0x50], mm6
paddsw mm2, mm4
movq qword [eax + 0x58], mm6
punpckhbw mm5, mm6
paddsw mm3, mm5
packuswb mm0, mm1
movq qword [ecx], mm0
packuswb mm2, mm3
movq qword [ecx + edx], mm2
lea ecx, [ecx + edx*2]
movq mm4, qword [ecx]
movq mm0, qword [eax + 0x60]
movq mm5, mm4
movq mm1, qword [eax + 0x68]
punpcklbw mm4, mm6
movq mm2, qword [eax + 0x70]
punpckhbw mm5, mm6
movq mm3, qword [eax + 0x78]
paddsw mm0, mm4
movq mm4, qword [ecx + edx]
paddsw mm1, mm5
movq qword [eax + 0x60], mm6
movq mm5, mm4
movq qword [eax + 0x68], mm6
punpcklbw mm4, mm6
movq qword [eax + 0x70], mm6
paddsw mm2, mm4
movq qword [eax + 0x78], mm6
punpckhbw mm5, mm6
paddsw mm3, mm5
packuswb mm0, mm1
movq qword [ecx], mm0
packuswb mm2, mm3
movq qword [ecx + edx], mm2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, 2
jmp 0x56cd70
movsx edx, word [ecx]
add edx, dword [0x674598]
movzx ebx, byte [eax]
mov dl, byte [ebx + edx]
mov byte [eax], dl
movsx edx, word [ecx + 2]
add edx, dword [0x674598]
movzx ebx, byte [eax + 1]
mov dl, byte [ebx + edx]
mov byte [eax + 1], dl
movsx edx, word [ecx + 4]
add edx, dword [0x674598]
movzx ebx, byte [eax + 2]
mov dl, byte [ebx + edx]
mov byte [eax + 2], dl
movsx edx, word [ecx + 6]
mov ebp, dword [0x674598]
movzx ebx, byte [eax + 3]
add edx, ebp
mov dl, byte [ebx + edx]
mov byte [eax + 3], dl
movsx edx, word [ecx + 8]
mov ebp, dword [0x674598]
movzx ebx, byte [eax + 4]
add edx, ebp
mov dl, byte [ebx + edx]
mov byte [eax + 4], dl
movsx edx, word [ecx + 0xa]
mov ebp, dword [0x674598]
movzx ebx, byte [eax + 5]
add edx, ebp
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 6]
mov byte [eax + 5], dl
movsx edx, word [ecx + 0xc]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 7]
mov byte [eax + 6], dl
movsx edx, word [ecx + 0xe]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + esi]
mov byte [eax + 7], dl
movsx edx, word [ecx + 0x10]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + esi + 1]
add eax, esi
mov byte [eax], dl
movsx edx, word [ecx + 0x12]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 2]
mov byte [eax + 1], dl
movsx edx, word [ecx + 0x14]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 3]
mov byte [eax + 2], dl
movsx edx, word [ecx + 0x16]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 4]
mov byte [eax + 3], dl
movsx edx, word [ecx + 0x18]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 5]
mov byte [eax + 4], dl
movsx edx, word [ecx + 0x1a]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
mov byte [eax + 5], dl
movsx edx, word [ecx + 0x1c]
add edx, dword [0x674598]
movzx ebx, byte [eax + 6]
mov dl, byte [ebx + edx]
mov byte [eax + 6], dl
movsx edx, word [ecx + 0x1e]
add edx, dword [0x674598]
movzx ebx, byte [eax + 7]
mov dl, byte [ebx + edx]
mov byte [eax + 7], dl
movsx edx, word [ecx + 0x20]
mov ebp, dword [0x674598]
movzx ebx, byte [eax + esi]
add edx, ebp
mov dl, byte [ebx + edx]
mov byte [eax + esi], dl
movsx edx, word [ecx + 0x22]
mov ebp, dword [0x674598]
movzx ebx, byte [eax + esi + 1]
add edx, ebp
mov dl, byte [ebx + edx]
mov byte [eax + esi + 1], dl
movsx edx, word [ecx + 0x24]
mov ebp, dword [0x674598]
add eax, esi
movzx ebx, byte [eax + 2]
add edx, ebp
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 3]
mov byte [eax + 2], dl
movsx edx, word [ecx + 0x26]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 4]
mov byte [eax + 3], dl
movsx edx, word [ecx + 0x28]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 5]
mov byte [eax + 4], dl
movsx edx, word [ecx + 0x2a]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 6]
mov byte [eax + 5], dl
movsx edx, word [ecx + 0x2c]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 7]
mov byte [eax + 6], dl
movsx edx, word [ecx + 0x2e]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + esi]
mov byte [eax + 7], dl
movsx edx, word [ecx + 0x30]
mov ebp, dword [0x674598]
add eax, esi
add edx, ebp
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 1]
mov byte [eax], dl
movsx edx, word [ecx + 0x32]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 2]
mov byte [eax + 1], dl
movsx edx, word [ecx + 0x34]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 3]
mov byte [eax + 2], dl
movsx edx, word [ecx + 0x36]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 4]
mov byte [eax + 3], dl
movsx edx, word [ecx + 0x38]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 5]
mov byte [eax + 4], dl
movsx edx, word [ecx + 0x3a]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 6]
mov byte [eax + 5], dl
movsx edx, word [ecx + 0x3c]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
movzx ebx, byte [eax + 7]
mov byte [eax + 6], dl
movsx edx, word [ecx + 0x3e]
add edx, dword [0x674598]
mov dl, byte [ebx + edx]
mov byte [eax + 7], dl
add eax, esi
add ecx, 0x40
dec edi
jne 0x56cd70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
test edx, edx
je 0x56d127
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movq mm7, qword [0x5c5f20]
pxor mm6, mm6
movq mm0, qword [eax]
movq mm1, qword [eax + 8]
paddsw mm0, mm7
movq mm2, qword [eax + 0x10]
paddsw mm1, mm7
movq mm3, qword [eax + 0x18]
packuswb mm0, mm1
movq qword [eax], mm6
paddsw mm2, mm7
movq qword [eax + 8], mm6
paddsw mm3, mm7
movq qword [eax + 0x10], mm6
movq qword [ecx], mm0
movq qword [eax + 0x18], mm6
packuswb mm2, mm3
movq qword [ecx + edx], mm2
lea ecx, [ecx + edx*2]
movq mm0, qword [eax + 0x20]
movq mm1, qword [eax + 0x28]
paddsw mm0, mm7
movq mm2, qword [eax + 0x30]
paddsw mm1, mm7
movq mm3, qword [eax + 0x38]
packuswb mm0, mm1
movq qword [eax + 0x20], mm6
paddsw mm2, mm7
movq qword [eax + 0x28], mm6
paddsw mm3, mm7
movq qword [eax + 0x30], mm6
movq qword [ecx], mm0
movq qword [eax + 0x38], mm6
packuswb mm2, mm3
movq qword [ecx + edx], mm2
lea ecx, [ecx + edx*2]
movq mm0, qword [eax + 0x40]
movq mm1, qword [eax + 0x48]
paddsw mm0, mm7
movq mm2, qword [eax + 0x50]
paddsw mm1, mm7
movq mm3, qword [eax + 0x58]
packuswb mm0, mm1
movq qword [eax + 0x40], mm6
paddsw mm2, mm7
movq qword [eax + 0x48], mm6
paddsw mm3, mm7
movq qword [eax + 0x50], mm6
movq qword [ecx], mm0
movq qword [eax + 0x58], mm6
packuswb mm2, mm3
movq qword [ecx + edx], mm2
lea ecx, [ecx + edx*2]
movq mm0, qword [eax + 0x60]
movq mm1, qword [eax + 0x68]
paddsw mm0, mm7
movq mm2, qword [eax + 0x70]
paddsw mm1, mm7
movq mm3, qword [eax + 0x78]
packuswb mm0, mm1
movq qword [eax + 0x60], mm6
paddsw mm2, mm7
movq qword [eax + 0x68], mm6
paddsw mm3, mm7
movq qword [eax + 0x70], mm6
movq qword [ecx], mm0
movq qword [eax + 0x78], mm6
packuswb mm2, mm3
movq qword [ecx + edx], mm2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, 2
lea esp, [esp]
movsx edx, word [ecx]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax], dl
movsx edx, word [ecx + 2]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 1], dl
movsx edx, word [ecx + 4]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 2], dl
movsx edx, word [ecx + 6]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 3], dl
movsx edx, word [ecx + 8]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 4], dl
movsx edx, word [ecx + 0xa]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 5], dl
movsx edx, word [ecx + 0xc]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 6], dl
movsx edx, word [ecx + 0xe]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 7], dl
movsx edx, word [ecx + 0x10]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + esi], dl
movsx edx, word [ecx + 0x12]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + esi + 1], dl
movsx edx, word [ecx + 0x14]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + esi + 2], dl
movsx edx, word [ecx + 0x16]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
add eax, esi
mov byte [eax + 3], dl
movsx edx, word [ecx + 0x18]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 4], dl
movsx edx, word [ecx + 0x1a]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 5], dl
movsx edx, word [ecx + 0x1c]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 6], dl
movsx edx, word [ecx + 0x1e]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 7], dl
movsx edx, word [ecx + 0x20]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + esi], dl
movsx edx, word [ecx + 0x22]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
add eax, esi
mov byte [eax + 1], dl
movsx edx, word [ecx + 0x24]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 2], dl
movsx edx, word [ecx + 0x26]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 3], dl
movsx edx, word [ecx + 0x28]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 4], dl
movsx edx, word [ecx + 0x2a]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 5], dl
movsx edx, word [ecx + 0x2c]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 6], dl
movsx edx, word [ecx + 0x2e]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 7], dl
movsx edx, word [ecx + 0x30]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + esi], dl
movsx edx, word [ecx + 0x32]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
add eax, esi
mov byte [eax + 1], dl
movsx edx, word [ecx + 0x34]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 2], dl
movsx edx, word [ecx + 0x36]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 3], dl
movsx edx, word [ecx + 0x38]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 4], dl
movsx edx, word [ecx + 0x3a]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 5], dl
movsx edx, word [ecx + 0x3c]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 6], dl
movsx edx, word [ecx + 0x3e]
mov ebx, dword [0x674598]
mov dl, byte [edx + ebx + 0x80]
mov byte [eax + 7], dl
add eax, esi
add ecx, 0x40
dec edi
jne 0x56d130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret