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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x70]
push esi
lea edx, [ebx - 6]
xor ecx, ecx
cmp edx, ecx
push edi
mov edi, dword [esp + 0x74]
jle 0x56a178
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x8c]
lea ecx, [ecx + ecx*2]
add ecx, ecx
mov dword [esp + 0x68], ecx
mov esi, dword [esp + 0x88]
lea ecx, [edi*4]
sub ecx, edi
neg ecx
add ecx, ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x7c]
add ecx, 2
lea eax, [edi + edi]
mov dword [esp + 0x40], ecx
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x54], ecx
mov ecx, eax
lea ebx, [edi + edi*2]
sub ecx, ebx
mov dword [esp + 0x58], ecx
mov ecx, eax
sub esi, eax
lea ebx, [edi*4]
sub ecx, ebx
lea ebx, [edi + edi*4]
sub eax, ebx
mov dword [esp + 0x5c], 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 + 0x4c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x6c], eax
jmp 0x569df4
mov ecx, dword [esp + 0x50]
lea eax, [esi + edi*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
lea ebx, [eax + esi]
mov eax, dword [esp + 0x58]
add eax, esi
add ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
add ecx, esi
add eax, 0xfffffffa
test eax, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], 0
jle 0x56a0a8
mov edx, dword [esp + 0x7c]
lea eax, [ebp + ebp*2]
add eax, eax
mov dword [esp + 0x60], 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 + 0x40]
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 + 0x80]
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 + 0x48], edx
mov dword [esp + 0x38], ecx
lea edx, [edx + edx*2]
add ecx, ebp
add edx, edx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x1c]
movzx edx, byte [eax]
mov eax, dword [esp + 0x24]
mov byte [eax + ecx], dl
movzx edx, byte [ebx]
mov eax, dword [esp + 0x28]
mov byte [eax + ecx], dl
mov edx, dword [esp + 0x78]
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 [eax + ecx], 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 + 0x78]
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 [edx + esi], al
movzx eax, byte [ebx + 2]
mov edx, dword [esp + 0x28]
mov byte [edx + esi], al
mov eax, dword [esp + 0x78]
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 [eax + esi], 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 + 0x78]
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 [edx + edi], al
movzx eax, byte [ebx + 4]
mov edx, dword [esp + 0x28]
mov byte [edx + edi], al
mov eax, dword [esp + 0x78]
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 [eax + edi], 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 + 0x78]
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
add dword [esp + 0x78], edx
add dword [esp + 0x10], edx
add dword [esp + 0x14], edx
add dword [esp + 0x18], edx
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x38], eax
add ebx, edx
add ecx, eax
add esi, eax
add edi, eax
sub dword [esp + 0x48], 1
jne 0x569ec4
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x80]
imul eax, ebp
add eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x7c]
test ecx, ecx
mov dword [esp + 0x60], ecx
jle 0x56a14c
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
sub ecx, ebx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10]
sub ecx, ebx
mov dword [esp + 0x48], 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 + 0x60]
mov dword [esp + 0x78], ecx
movzx ecx, byte [edx + ebx]
mov byte [eax], cl
movzx ecx, byte [ebx]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx + ebx]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x48]
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
add ebx, 1
sub dword [esp + 0x78], 1
jne 0x56a104
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x68]
add esi, dword [esp + 0x64]
add dword [esp + 0x20], eax
add dword [esp + 0x40], eax
sub edx, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], edx
jne 0x569df0
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
test esi, esi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x74], ecx
jle 0x56a1e4
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], esi
cmp ecx, ebx
jge 0x56a1cd
mov ebx, ecx
imul ebx, edi
mov esi, edi
sub eax, ebx
neg esi
add eax, dword [esp + 0x88]
mov edi, edi
mov bl, byte [eax]
mov byte [edx + ecx], bl
mov ebx, dword [esp + 0x84]
add ecx, 1
add eax, esi
cmp ecx, ebx
jl 0x56a1b0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
add eax, dword [esp + 0x8c]
add edx, ebp
sub dword [esp + 0x80], 1
mov dword [esp + 0x7c], eax
jne 0x56a198
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c