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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x80]
push esi
push edi
lea edi, [ebp - 6]
xor eax, eax
test edi, edi
jle 0x56bc41
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x80]
lea edx, [edx + edx*2]
add edx, edx
mov dword [esp + 0x6c], edx
lea eax, [ecx + ecx]
lea edx, [ecx + ecx*2]
add edx, edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x40], edx
add esi, 4
mov dword [esp + 0x44], esi
lea esi, [eax + edx]
lea edx, [ecx + ecx*2]
sub edx, eax
mov dword [esp + 0x58], edx
lea edx, [ecx*4]
sub edx, eax
mov dword [esp + 0x5c], edx
mov ebp, ecx
sub ebp, eax
lea edx, [ecx + ecx*4]
sub edx, eax
mov dword [esp + 0x60], edx
add edi, 0xffffffff
mov eax, 0xaaaaaaab
mul edi
shr edx, 2
add edx, 1
lea eax, [edx + edx*2]
add eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], eax
jmp 0x56b874
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
add eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
add eax, 0xfffffffa
add ebp, esi
test eax, eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x3c], 0
jle 0x56bb59
mov edx, dword [esp + 0x80]
lea eax, [ebx + ebx*2]
add eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
lea esi, [eax + ebx*2]
lea eax, [eax + ebx*4]
add eax, ebx
lea edi, [eax + edx + 4]
mov eax, 0xfffffffe
sub eax, ebx
mov dword [esp + 0x28], eax
mov eax, 2
sub eax, ebx
mov dword [esp + 0x2c], eax
mov eax, 4
sub eax, ebx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x44]
mov eax, 6
sub eax, ebx
mov dword [esp + 0x34], eax
mov eax, 0xfffffffc
sub eax, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
add eax, 0xfffffffa
add esi, ebx
lea esi, [esi + edx + 4]
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
add edx, 1
mov dword [esp + 0x38], ecx
lea eax, [edx + edx*2]
add ecx, ebx
add eax, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], eax
jmp 0x56b950
mov eax, dword [esp + 0x1c]
movzx edx, word [eax]
mov eax, dword [esp + 0x24]
mov word [eax + ecx], dx
movzx edx, word [ebp]
mov eax, dword [esp + 0x28]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x7c]
movzx eax, word [edx]
mov edx, dword [esp + 0x38]
mov word [edx], ax
mov eax, dword [esp + 0x10]
movzx edx, word [eax]
mov eax, dword [esp + 0x2c]
mov word [eax + ecx], dx
mov edx, dword [esp + 0x14]
movzx eax, word [edx]
mov edx, dword [esp + 0x30]
mov word [edx + ecx], ax
mov eax, dword [esp + 0x18]
movzx edx, word [eax]
mov eax, dword [esp + 0x34]
mov word [eax + ecx], dx
mov eax, dword [esp + 0x1c]
movzx edx, word [eax - 2]
mov word [ecx - 4], dx
movzx edx, word [ebp - 2]
mov word [ecx - 2], dx
mov edx, dword [esp + 0x7c]
movzx edx, word [edx - 2]
mov word [ecx], dx
mov edx, dword [esp + 0x10]
movzx edx, word [edx - 2]
mov word [ecx + 2], dx
mov edx, dword [esp + 0x14]
movzx edx, word [edx - 2]
movzx eax, word [eax - 4]
mov word [ecx + 4], dx
mov edx, dword [esp + 0x18]
movzx edx, word [edx - 2]
mov word [ecx + 6], dx
mov edx, dword [esp + 0x24]
mov word [edx + esi], ax
movzx eax, word [ebp - 4]
mov edx, dword [esp + 0x28]
mov word [edx + esi], ax
mov eax, dword [esp + 0x7c]
movzx edx, word [eax - 4]
mov eax, dword [esp + 0x10]
mov word [ecx + ebx], dx
movzx edx, word [eax - 4]
mov eax, dword [esp + 0x2c]
mov word [eax + esi], dx
mov edx, dword [esp + 0x14]
movzx eax, word [edx - 4]
mov edx, dword [esp + 0x30]
mov word [edx + esi], ax
mov eax, dword [esp + 0x18]
movzx edx, word [eax - 4]
mov eax, dword [esp + 0x34]
mov word [eax + esi], dx
mov eax, dword [esp + 0x1c]
movzx edx, word [eax - 6]
mov word [esi - 4], dx
movzx edx, word [ebp - 6]
mov word [esi - 2], dx
mov edx, dword [esp + 0x7c]
movzx edx, word [edx - 6]
movzx eax, word [eax - 8]
mov word [esi], dx
mov edx, dword [esp + 0x10]
movzx edx, word [edx - 6]
mov word [esi + 2], dx
mov edx, dword [esp + 0x14]
movzx edx, word [edx - 6]
mov word [esi + 4], dx
mov edx, dword [esp + 0x18]
movzx edx, word [edx - 6]
mov word [esi + 6], dx
mov edx, dword [esp + 0x24]
mov word [edx + edi], ax
movzx eax, word [ebp - 8]
mov edx, dword [esp + 0x28]
mov word [edx + edi], ax
mov eax, dword [esp + 0x7c]
movzx edx, word [eax - 8]
mov eax, dword [esp + 0x10]
mov word [esi + ebx], dx
movzx edx, word [eax - 8]
mov eax, dword [esp + 0x2c]
mov word [eax + edi], dx
mov edx, dword [esp + 0x14]
movzx eax, word [edx - 8]
mov edx, dword [esp + 0x30]
mov word [edx + edi], ax
mov eax, dword [esp + 0x18]
movzx edx, word [eax - 8]
mov eax, dword [esp + 0x34]
mov word [eax + edi], dx
mov eax, dword [esp + 0x1c]
movzx edx, word [eax - 0xa]
mov word [edi - 4], dx
movzx edx, word [ebp - 0xa]
mov word [edi - 2], dx
mov edx, dword [esp + 0x7c]
movzx edx, word [edx - 0xa]
mov word [edi], dx
mov edx, dword [esp + 0x10]
movzx edx, word [edx - 0xa]
mov word [edi + 2], dx
mov edx, dword [esp + 0x14]
movzx edx, word [edx - 0xa]
mov word [edi + 4], dx
mov edx, dword [esp + 0x18]
movzx edx, word [edx - 0xa]
mov word [edi + 6], dx
mov edx, 0xc
sub dword [esp + 0x7c], edx
sub dword [esp + 0x10], edx
sub dword [esp + 0x14], edx
sub dword [esp + 0x18], edx
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
add dword [esp + 0x38], eax
sub ebp, edx
add ecx, eax
add esi, eax
add edi, eax
sub dword [esp + 0x4c], 1
jne 0x56b950
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x84]
imul eax, ebx
add eax, dword [esp + 0x20]
sub edi, dword [esp + 0x3c]
add eax, dword [esp + 0x80]
test edi, edi
mov dword [esp + 0x64], edi
jle 0x56bc0f
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
sub edi, ebp
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x10]
sub edi, ebp
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x14]
sub edi, ebp
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x18]
sub edx, ebp
sub edi, ebp
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x7c], edi
jmp 0x56bbc0
movzx edi, word [edx + ebp]
mov word [eax], di
movzx edi, word [ebp]
mov word [eax + 2], di
mov edi, dword [esp + 0x50]
movzx edi, word [edi + ebp]
mov word [eax + 4], di
mov edi, dword [esp + 0x4c]
movzx edi, word [edi + ebp]
mov word [eax + 6], di
mov edi, dword [esp + 0x3c]
movzx edi, word [edi + ebp]
mov word [eax + 8], di
mov edi, dword [esp + 0x38]
movzx edi, word [edi + ebp]
mov word [eax + 0xa], di
add eax, ebx
sub ebp, 2
sub dword [esp + 0x7c], 1
jne 0x56bbc0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
add dword [esp + 0x40], eax
add esi, eax
mov eax, dword [esp + 0x6c]
add dword [esp + 0x20], eax
add dword [esp + 0x44], eax
sub edx, 1
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], edx
jne 0x56b870
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
test edx, edx
mov esi, dword [esp + 0x80]
mov dword [esp + 0x78], eax
jle 0x56bca0
xor edi, edi
mov dword [esp + 0x80], edx
cmp eax, ebp
mov edx, eax
jge 0x56bc8d
imul eax, ecx
sub eax, edi
add eax, dword [esp + 0x8c]
mov bp, word [eax]
mov word [esi + edx*2], bp
mov ebp, dword [esp + 0x88]
add edx, 1
add eax, ecx
cmp edx, ebp
jl 0x56bc72
mov eax, dword [esp + 0x78]
add edi, dword [esp + 0x90]
add esi, ebx
sub dword [esp + 0x80], 1
jne 0x56bc60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x1c