Function at 0x56c420
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 0x56c845
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, 8
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 0x56c4d4
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 0x56c771
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 + 8]
mov eax, 0xfffffffc
sub eax, ebx
mov dword [esp + 0x28], eax
mov eax, 4
sub eax, ebx
mov dword [esp + 0x2c], eax
mov eax, 8
sub eax, ebx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x44]
mov eax, 0xc
sub eax, ebx
mov dword [esp + 0x34], eax
mov eax, 0xfffffff8
sub eax, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
add eax, 0xfffffffa
add esi, ebx
lea esi, [esi + edx + 8]
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 0x56c5b0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
mov dword [eax + ecx], edx
mov edx, dword [ebp]
mov eax, dword [esp + 0x28]
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
mov edx, dword [esp + 0x38]
mov dword [edx], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
mov dword [edx + ecx], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov eax, dword [esp + 0x34]
mov dword [eax + ecx], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax - 4]
mov dword [ecx - 8], edx
mov edx, dword [ebp - 4]
mov dword [ecx - 4], edx
mov edx, dword [esp + 0x7c]
mov edx, dword [edx - 4]
mov dword [ecx], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx - 4]
mov eax, dword [eax - 8]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx - 4]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [edx + esi], eax
mov eax, dword [ebp - 8]
mov edx, dword [esp + 0x28]
mov dword [edx + esi], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x10]
mov dword [ecx + ebx], edx
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x2c]
mov dword [eax + esi], edx
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov edx, dword [esp + 0x30]
mov dword [edx + esi], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x34]
mov dword [eax + esi], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax - 0xc]
mov dword [esi - 8], edx
mov edx, dword [ebp - 0xc]
mov dword [esi - 4], edx
mov edx, dword [esp + 0x7c]
mov edx, dword [edx - 0xc]
mov eax, dword [eax - 0x10]
mov dword [esi], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx - 0xc]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx - 0xc]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx - 0xc]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [edx + edi], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [esp + 0x28]
mov dword [edx + edi], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [eax - 0x10]
mov eax, dword [esp + 0x10]
mov dword [esi + ebx], edx
mov edx, dword [eax - 0x10]
mov eax, dword [esp + 0x2c]
mov dword [eax + edi], edx
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0x10]
mov edx, dword [esp + 0x30]
mov dword [edx + edi], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax - 0x10]
mov eax, dword [esp + 0x34]
mov dword [eax + edi], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax - 0x14]
mov dword [edi - 8], edx
mov edx, dword [ebp - 0x14]
mov dword [edi - 4], edx
mov edx, dword [esp + 0x7c]
mov edx, dword [edx - 0x14]
mov dword [edi], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx - 0x14]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx - 0x14]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx - 0x14]
mov dword [edi + 0xc], edx
mov edx, 0x18
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 0x56c5b0
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 0x56c813
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
lea esp, [esp]
mov edi, dword [edx + ebp]
mov dword [eax], edi
mov edi, dword [ebp]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x50]
mov edi, dword [edi + ebp]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x4c]
mov edi, dword [edi + ebp]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x3c]
mov edi, dword [edi + ebp]
mov dword [eax + 0x10], edi
mov edi, dword [esp + 0x38]
mov edi, dword [edi + ebp]
mov dword [eax + 0x14], edi
add eax, ebx
sub ebp, 4
sub dword [esp + 0x7c], 1
jne 0x56c7d0
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 0x56c4d0
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 0x56c8ac
xor edi, edi
mov dword [esp + 0x80], edx
cmp eax, ebp
mov edx, eax
jge 0x56c899
imul eax, ecx
sub eax, edi
add eax, dword [esp + 0x8c]
jmp 0x56c880
mov ebp, dword [eax]
mov dword [esi + edx*4], ebp
mov ebp, dword [esp + 0x88]
add edx, 1
add eax, ecx
cmp edx, ebp
jl 0x56c880
mov eax, dword [esp + 0x78]
add edi, dword [esp + 0x90]
add esi, ebx
sub dword [esp + 0x80], 1
jne 0x56c864
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x1c