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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x74]
push esi
lea edx, [ebx - 6]
xor eax, eax
test edx, edx
push edi
mov edi, dword [esp + 0x78]
jle 0x56b74a
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x80]
lea ecx, [ecx + ecx*2]
add ecx, ecx
mov dword [esp + 0x6c], ecx
lea eax, [edi + edi]
lea ecx, [edi + edi*2]
add ecx, ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x40], ecx
add esi, 2
mov dword [esp + 0x44], esi
lea esi, [eax + ecx]
lea ecx, [edi + edi*2]
sub ecx, eax
mov dword [esp + 0x5c], ecx
lea ecx, [edi*4]
sub ecx, eax
mov dword [esp + 0x60], ecx
mov ebx, edi
sub ebx, eax
lea ecx, [edi + edi*4]
sub ecx, eax
add edx, 0xffffffff
mov eax, 0xaaaaaaab
mul edx
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], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], eax
jmp 0x56b3b8
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
add eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
add ecx, esi
add eax, 0xfffffffa
add ebx, esi
test eax, eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], 0
jle 0x56b674
mov edx, dword [esp + 0x80]
lea eax, [ebp + ebp*2]
add eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
lea esi, [eax + ebp*2]
lea eax, [eax + ebp*4]
add eax, ebp
lea edi, [eax + edx + 2]
or eax, 0xffffffff
sub eax, ebp
mov dword [esp + 0x28], eax
mov eax, 1
sub eax, ebp
mov dword [esp + 0x2c], eax
mov eax, 2
sub eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x44]
mov eax, 3
sub eax, ebp
mov dword [esp + 0x34], eax
mov eax, 0xfffffffe
sub eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
add eax, 0xfffffffa
add esi, ebp
lea esi, [esi + edx + 2]
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
add edx, 1
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], ecx
lea edx, [edx + edx*2]
add ecx, ebp
add edx, edx
mov dword [esp + 0x3c], edx
jmp 0x56b490
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax]
mov eax, dword [esp + 0x24]
mov byte [ecx + eax], dl
movzx edx, byte [ebx]
mov eax, dword [esp + 0x28]
mov byte [eax + ecx], dl
mov edx, dword [esp + 0x7c]
movzx eax, byte [edx]
mov edx, dword [esp + 0x38]
mov byte [edx], al
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov eax, dword [esp + 0x2c]
mov byte [eax + ecx], dl
mov edx, dword [esp + 0x14]
movzx eax, byte [edx]
mov edx, dword [esp + 0x30]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x18]
movzx edx, byte [eax]
mov eax, dword [esp + 0x34]
mov byte [ecx + eax], dl
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax - 1]
mov byte [ecx - 2], dl
movzx edx, byte [ebx - 1]
mov byte [ecx - 1], dl
mov edx, dword [esp + 0x7c]
movzx edx, byte [edx - 1]
mov byte [ecx], dl
mov edx, dword [esp + 0x10]
movzx edx, byte [edx - 1]
mov byte [ecx + 1], dl
mov edx, dword [esp + 0x14]
movzx edx, byte [edx - 1]
movzx eax, byte [eax - 2]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x18]
movzx edx, byte [edx - 1]
mov byte [ecx + 3], dl
mov edx, dword [esp + 0x24]
mov byte [esi + edx], al
movzx eax, byte [ebx - 2]
mov edx, dword [esp + 0x28]
mov byte [edx + esi], al
mov eax, dword [esp + 0x7c]
movzx edx, byte [eax - 2]
mov eax, dword [esp + 0x10]
mov byte [ecx + ebp], dl
movzx edx, byte [eax - 2]
mov eax, dword [esp + 0x2c]
mov byte [eax + esi], dl
mov edx, dword [esp + 0x14]
movzx eax, byte [edx - 2]
mov edx, dword [esp + 0x30]
mov byte [edx + esi], al
mov eax, dword [esp + 0x18]
movzx edx, byte [eax - 2]
mov eax, dword [esp + 0x34]
mov byte [esi + eax], dl
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax - 3]
mov byte [esi - 2], dl
movzx edx, byte [ebx - 3]
mov byte [esi - 1], dl
mov edx, dword [esp + 0x7c]
movzx edx, byte [edx - 3]
movzx eax, byte [eax - 4]
mov byte [esi], dl
mov edx, dword [esp + 0x10]
movzx edx, byte [edx - 3]
mov byte [esi + 1], dl
mov edx, dword [esp + 0x14]
movzx edx, byte [edx - 3]
mov byte [esi + 2], dl
mov edx, dword [esp + 0x18]
movzx edx, byte [edx - 3]
mov byte [esi + 3], dl
mov edx, dword [esp + 0x24]
mov byte [edi + edx], al
movzx eax, byte [ebx - 4]
mov edx, dword [esp + 0x28]
mov byte [edx + edi], al
mov eax, dword [esp + 0x7c]
movzx edx, byte [eax - 4]
mov eax, dword [esp + 0x10]
mov byte [esi + ebp], dl
movzx edx, byte [eax - 4]
mov eax, dword [esp + 0x2c]
mov byte [eax + edi], dl
mov edx, dword [esp + 0x14]
movzx eax, byte [edx - 4]
mov edx, dword [esp + 0x30]
mov byte [edx + edi], al
mov eax, dword [esp + 0x18]
movzx edx, byte [eax - 4]
mov eax, dword [esp + 0x34]
mov byte [edi + eax], dl
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax - 5]
mov byte [edi - 2], dl
movzx edx, byte [ebx - 5]
mov byte [edi - 1], dl
mov edx, dword [esp + 0x7c]
movzx edx, byte [edx - 5]
mov byte [edi], dl
mov edx, dword [esp + 0x10]
movzx edx, byte [edx - 5]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x14]
movzx edx, byte [edx - 5]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x18]
movzx edx, byte [edx - 5]
mov byte [edi + 3], dl
mov edx, 6
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 ebx, edx
add ecx, eax
add esi, eax
add edi, eax
sub dword [esp + 0x4c], 1
jne 0x56b490
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x84]
imul eax, ebp
add eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x80]
test ecx, ecx
mov dword [esp + 0x64], ecx
jle 0x56b718
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
sub ecx, ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x10]
sub ecx, ebx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x14]
sub ecx, ebx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18]
sub edx, ebx
sub ecx, ebx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x7c], ecx
nop
movzx ecx, byte [edx + ebx]
mov byte [eax], cl
movzx ecx, byte [ebx]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x50]
movzx ecx, byte [ecx + ebx]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx + ebx]
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ecx + ebx]
mov byte [eax + 4], cl
mov ecx, dword [esp + 0x38]
movzx ecx, byte [ecx + ebx]
mov byte [eax + 5], cl
add eax, ebp
sub ebx, 1
sub dword [esp + 0x7c], 1
jne 0x56b6d0
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 0x56b3b0
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
test ecx, ecx
mov esi, dword [esp + 0x80]
mov dword [esp + 0x78], eax
jle 0x56b7ae
xor edx, edx
mov dword [esp + 0x80], ecx
lea esp, [esp]
cmp eax, ebx
mov ecx, eax
jge 0x56b79b
imul eax, edi
sub eax, edx
add eax, dword [esp + 0x8c]
mov bl, byte [eax]
mov byte [esi + ecx], bl
mov ebx, dword [esp + 0x88]
add ecx, 1
add eax, edi
cmp ecx, ebx
jl 0x56b782
mov eax, dword [esp + 0x78]
add edx, dword [esp + 0x90]
add esi, ebp
sub dword [esp + 0x80], 1
jne 0x56b770
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x1c