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

Disassembly:
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xac]
lea eax, [edi - 6]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x24], eax
jle 0x56c38f
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0xa4]
lea edx, [edx + edx*2]
add edx, edx
mov dword [esp + 0x8c], edx
lea eax, [ecx + ecx*2]
lea edx, [ecx + ecx*2]
add edx, edx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xb0]
lea ebx, [edx + ecx*2 - 6]
mov dword [esp + 0x74], edx
add esi, 6
lea ebp, [ecx*4]
mov dword [esp + 0x5c], esi
lea esi, [eax + edx]
lea edx, [edx + ebp - 6]
mov dword [esp + 0x4c], edx
mov edx, 6
sub edx, ecx
mov dword [esp + 0x7c], edx
sub ebp, eax
lea edx, [ecx + ecx]
sub edx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x90], ebp
lea edx, [ecx + ecx*4]
sub edx, eax
mov dword [esp + 0x88], edx
mov ebp, 0xfffffffa
sub ebp, eax
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
add edx, 1
mov dword [esp + 0x24], edx
xor edi, edi
lea edx, [edx + edx*2]
add edx, edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x94], edx
jmp 0x56bda4
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
lea eax, [edx + ebx]
mov edx, dword [esp + 0x80]
add edx, esi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x90]
add edx, esi
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x88]
add edx, esi
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0xa8]
add edx, 0xfffffffa
test edx, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], 0
jle 0x56c24e
mov eax, dword [esp + 0x4c]
lea edx, [eax + ecx]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
lea eax, [ebx + ecx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa0]
lea edx, [eax + 2]
add ebp, esi
lea esi, [edi + edx*2]
add esi, edx
mov edx, dword [esp + 0xa4]
add esi, edx
lea edi, [edi + eax*4]
add edi, eax
lea edi, [edi + edx + 6]
mov edx, 0xfffffffd
sub edx, eax
mov dword [esp + 0x50], edx
mov edx, 3
sub edx, eax
mov dword [esp + 0x6c], edx
add ecx, ebp
mov dword [esp + 0x1c], ecx
lea ecx, [eax + eax*2]
mov edx, 6
sub edx, eax
mov dword [esp + 0x70], edx
add ecx, ecx
mov edx, 9
sub edx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x5c]
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x30], ecx
add ecx, eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x64], edx
add eax, 0xfffffffa
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
add edx, 1
mov dword [esp + 0x20], edx
lea edx, [edx + edx*2]
add edx, edx
mov dword [esp + 0x28], edx
lea esp, [esp]
mov eax, dword [esp + 0x48]
movzx edx, word [eax]
mov eax, dword [esp + 0x64]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x48]
movzx edx, byte [edx + 2]
mov byte [eax + ecx + 2], dl
mov eax, dword [esp + 0x38]
movzx edx, word [eax]
mov eax, dword [esp + 0x50]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x38]
movzx edx, byte [edx + 2]
mov byte [eax + ecx + 2], dl
mov eax, dword [esp + 0x3c]
movzx edx, word [eax]
mov eax, dword [esp + 0x30]
mov word [eax], dx
mov edx, dword [esp + 0x3c]
movzx edx, byte [edx + 2]
mov byte [eax + 2], dl
mov eax, dword [esp + 0x40]
movzx edx, word [eax]
mov eax, dword [esp + 0x6c]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x40]
movzx edx, byte [edx + 2]
mov byte [eax + ecx + 2], dl
mov eax, dword [esp + 0x34]
movzx edx, word [eax]
mov eax, dword [esp + 0x70]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x34]
movzx edx, byte [edx + 2]
mov byte [eax + ecx + 2], dl
mov eax, dword [esp + 0x44]
movzx edx, word [eax]
mov eax, dword [esp + 0x2c]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x44]
movzx edx, byte [edx + 2]
mov byte [eax + ecx + 2], dl
movzx eax, word [ebp + 3]
movzx edx, byte [ebp + 5]
mov word [ecx - 6], ax
mov eax, dword [esp + 0x1c]
mov byte [ecx - 4], dl
movzx edx, word [eax + 3]
add eax, 3
movzx eax, byte [eax + 2]
mov word [ecx - 3], dx
movzx edx, word [ebx + 3]
mov byte [ecx - 1], al
movzx eax, byte [ebx + 5]
mov word [ecx], dx
mov byte [ecx + 2], al
mov eax, dword [esp + 0x14]
movzx edx, word [eax + 3]
add eax, 3
movzx eax, byte [eax + 2]
mov word [ecx + 3], dx
mov byte [ecx + 5], al
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 3]
add eax, 3
movzx eax, byte [eax + 2]
mov word [ecx + 6], dx
mov byte [ecx + 8], al
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 3]
add eax, 3
movzx eax, byte [eax + 2]
mov word [ecx + 9], dx
movzx edx, word [ebp]
mov byte [ecx + 0xb], al
mov eax, dword [esp + 0x64]
mov word [eax + esi], dx
movzx edx, byte [ebp + 2]
mov byte [eax + esi + 2], dl
mov eax, dword [esp + 0x1c]
movzx edx, word [eax]
mov eax, dword [esp + 0x50]
mov word [eax + esi], dx
mov edx, dword [esp + 0x1c]
movzx edx, byte [edx + 2]
mov byte [eax + esi + 2], dl
movzx edx, word [ebx]
mov eax, dword [esp + 0xa0]
mov word [ecx + eax], dx
movzx edx, byte [ebx + 2]
mov byte [ecx + eax + 2], dl
mov eax, dword [esp + 0x14]
movzx edx, word [eax]
mov eax, dword [esp + 0x6c]
mov word [eax + esi], dx
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + 2]
mov byte [eax + esi + 2], dl
mov eax, dword [esp + 0x18]
movzx edx, word [eax]
mov eax, dword [esp + 0x70]
mov word [eax + esi], dx
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + 2]
mov byte [eax + esi + 2], dl
mov eax, dword [esp + 0x10]
movzx edx, word [eax]
mov eax, dword [esp + 0x2c]
mov word [eax + esi], dx
mov edx, dword [esp + 0x10]
movzx edx, byte [edx + 2]
mov byte [eax + esi + 2], dl
movzx eax, word [ebp - 3]
mov word [esi - 6], ax
movzx edx, byte [ebp - 1]
mov eax, dword [esp + 0x1c]
mov byte [esi - 4], dl
movzx edx, word [eax - 3]
mov word [esi - 3], dx
movzx edx, word [ebx - 3]
add eax, 0xfffffffd
movzx eax, byte [eax + 2]
mov byte [esi - 1], al
movzx eax, byte [ebx - 1]
mov word [esi], dx
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
movzx edx, word [eax - 3]
mov word [esi + 3], dx
add eax, 0xfffffffd
movzx eax, byte [eax + 2]
mov byte [esi + 5], al
mov eax, dword [esp + 0x18]
movzx edx, word [eax - 3]
mov word [esi + 6], dx
add eax, 0xfffffffd
movzx eax, byte [eax + 2]
mov byte [esi + 8], al
mov eax, dword [esp + 0x10]
movzx edx, word [eax - 3]
mov word [esi + 9], dx
mov edx, dword [esp + 0x64]
add eax, 0xfffffffd
movzx eax, byte [eax + 2]
mov byte [esi + 0xb], al
lea eax, [edx + edi]
movzx edx, word [ebp - 6]
mov word [eax], dx
movzx edx, byte [ebp - 4]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x1c]
movzx edx, word [edx - 6]
mov eax, dword [esp + 0x50]
mov word [eax + edi], dx
mov edx, dword [esp + 0x1c]
movzx edx, byte [edx - 4]
add eax, edi
mov byte [eax + 2], dl
mov eax, dword [esp + 0xa0]
movzx edx, word [ebx - 6]
add eax, esi
mov word [eax], dx
movzx edx, byte [ebx - 4]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x14]
movzx edx, word [edx - 6]
mov eax, dword [esp + 0x6c]
mov word [eax + edi], dx
mov edx, dword [esp + 0x14]
movzx edx, byte [edx - 4]
mov byte [eax + edi + 2], dl
mov edx, dword [esp + 0x18]
movzx edx, word [edx - 6]
add eax, edi
mov eax, dword [esp + 0x70]
mov word [eax + edi], dx
mov edx, dword [esp + 0x18]
movzx edx, byte [edx - 4]
mov byte [eax + edi + 2], dl
mov edx, dword [esp + 0x10]
movzx edx, word [edx - 6]
add eax, edi
mov eax, dword [esp + 0x2c]
mov word [eax + edi], dx
mov edx, dword [esp + 0x10]
movzx edx, byte [edx - 4]
mov byte [eax + edi + 2], dl
movzx edx, byte [ebp - 7]
add eax, edi
movzx eax, word [ebp - 9]
mov word [edi - 6], ax
mov eax, dword [esp + 0x1c]
mov byte [edi - 4], dl
movzx edx, word [eax - 9]
mov word [edi - 3], dx
movzx edx, byte [eax - 7]
mov byte [edi - 1], dl
movzx edx, word [ebx - 9]
mov word [edi], dx
movzx edx, byte [ebx - 7]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x14]
movzx edx, word [edx - 9]
mov word [edi + 3], dx
mov edx, dword [esp + 0x14]
movzx edx, byte [edx - 7]
mov byte [edi + 5], dl
mov edx, dword [esp + 0x18]
movzx edx, word [edx - 9]
mov word [edi + 6], dx
mov edx, dword [esp + 0x18]
movzx edx, byte [edx - 7]
sub dword [esp + 0x48], 0x12
sub dword [esp + 0x38], 0x12
mov byte [edi + 8], dl
mov edx, dword [esp + 0x10]
movzx edx, word [edx - 9]
mov word [edi + 9], dx
mov edx, dword [esp + 0x10]
movzx edx, byte [edx - 7]
mov byte [edi + 0xb], dl
mov edx, 0x12
sub dword [esp + 0x3c], edx
sub dword [esp + 0x40], edx
sub dword [esp + 0x14], edx
sub dword [esp + 0x34], edx
sub dword [esp + 0x18], edx
sub dword [esp + 0x44], edx
sub dword [esp + 0x10], edx
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x30], eax
sub ebp, 0x12
sub ebx, edx
add ecx, eax
add esi, eax
add edi, eax
sub dword [esp + 0x20], 1
jne 0x56beb0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x28]
imul ebp, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
sub edx, dword [esp + 0x28]
add ebp, edi
add ebp, dword [esp + 0xa4]
test edx, edx
mov dword [esp + 0x58], edx
jle 0x56c34a
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
sub ebx, eax
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x34]
sub ebx, eax
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x44]
sub edi, eax
sub edx, eax
sub ebx, eax
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x58]
lea esi, [ebp + 6]
mov dword [esp + 0x2c], ebx
nop
movzx ebx, word [edi + eax]
mov word [ebp], bx
movzx ebx, byte [edi + eax + 2]
mov byte [ebp + 2], bl
movzx ebx, word [eax]
mov word [esi - 3], bx
movzx ebx, byte [eax + 2]
mov byte [esi - 1], bl
movzx ebx, word [edx + eax]
mov word [esi], bx
movzx ebx, byte [edx + eax + 2]
mov byte [esi + 2], bl
mov ebx, dword [esp + 0x20]
movzx ebx, word [ebx + eax]
mov word [esi + 3], bx
mov ebx, dword [esp + 0x20]
movzx ebx, byte [ebx + eax + 2]
mov byte [esi + 5], bl
mov ebx, dword [esp + 0x28]
movzx ebx, word [ebx + eax]
mov word [esi + 6], bx
mov ebx, dword [esp + 0x28]
movzx ebx, byte [ebx + eax + 2]
mov byte [esi + 8], bl
mov ebx, dword [esp + 0x30]
movzx ebx, word [ebx + eax]
mov word [esi + 9], bx
mov ebx, dword [esp + 0x30]
movzx ebx, byte [ebx + eax + 2]
mov byte [esi + 0xb], bl
mov ebx, dword [esp + 0xa0]
add ebp, ebx
add esi, ebx
sub eax, 3
sub dword [esp + 0x2c], 1
jne 0x56c2b0
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x84]
add dword [esp + 0x74], eax
add dword [esp + 0x4c], eax
add ebx, eax
add esi, eax
mov eax, dword [esp + 0x8c]
add dword [esp + 0x5c], eax
add edi, eax
sub dword [esp + 0x24], 1
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], edi
jne 0x56bda0
mov ebp, dword [esp + 0x94]
mov edi, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
test eax, eax
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x24], esi
jle 0x56c40a
xor edx, edx
mov dword [esp + 0x20], eax
jmp 0x56c3b0
cmp ebp, edi
jge 0x56c3f1
mov eax, ebp
imul eax, ecx
sub eax, edx
add eax, dword [esp + 0xb0]
lea esi, [esi + ebp*2]
add esi, ebp
sub edi, ebp
lea esp, [esp]
mov bx, word [eax]
mov word [esi], bx
mov bl, byte [eax + 2]
mov byte [esi + 2], bl
add eax, ecx
add esi, 3
sub edi, 1
jne 0x56c3d0
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0xac]
add esi, dword [esp + 0xa0]
add edx, dword [esp + 0xb4]
sub dword [esp + 0x20], 1
mov dword [esp + 0x24], esi
jne 0x56c3b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c