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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x64
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x7c]
test eax, eax
jle 0x6c280ae9
mov eax, dword [esp + 0x80]
test eax, eax
jle 0x6c280ae9
test ebx, ebx
jle 0x6c280ae9
test edi, edi
je 0x6c280ae9
test esi, esi
je 0x6c280ae9
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x6c280ae9
mov ebp, dword [esp + 0x90]
test ebp, ebp
jle 0x6c280ae9
mov eax, dword [esp + 0x7c]
cdq
idiv dword [esp + 0x8c]
mov ecx, eax
mov eax, dword [esp + 0x80]
cdq
idiv dword [esp + 0x90]
mov edx, 1
test ecx, ecx
cmove ecx, edx
mov dword [esp + 0x50], ecx
test eax, eax
cmovne edx, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x90]
neg edx
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov edx, ecx
imul edx, ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x7c]
imul esi, dword [esp + 0x90]
imul esi, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], 0
mov esi, dword [esp + 0x8c]
imul esi, ebx
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x7c]
imul eax, ebx
mov dword [esp + 8], eax
inc dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
inc dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x7c], esi
mov ecx, dword [esp + 0x34]
cmovge ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x1c]
imul esi, ecx
mov dword [esp + 0x28], esi
sar esi, 1
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x90]
imul esi, ecx
mov dword [esp + 0x24], esi
sar esi, 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x80], esi
jge 0x6c280ac4
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
test edi, edi
mov dword [esp + 0x10], esi
jle 0x6c280ae0
mov esi, dword [esp + 0x1c]
mov dword [esp + 4], esi
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
add esi, dword [esp + 0x14]
mov dword [esp], esi
xor ebp, ebp
test ecx, ecx
jle 0x6c280a30
mov esi, dword [esp]
xor edx, edx
lea esi, [esi]
movzx edi, byte [esi]
add eax, edi
inc edx
add esi, ebx
cmp edx, ecx
jne 0x6c280a24
inc ebp
mov esi, dword [esp + 8]
add dword [esp], esi
cmp dword [esp + 4], ebp
jg 0x6c280a18
cdq
idiv dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov byte [edx + esi], al
inc esi
mov dword [esp + 0xc], esi
cmp esi, ebx
jne 0x6c2809da
mov esi, dword [esp + 0x8c]
add dword [esp + 0x38], esi
mov esi, dword [esp + 0x54]
add dword [esp + 0x34], esi
mov esi, dword [esp + 0xc]
add edx, esi
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x60]
add dword [esp + 0x14], esi
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jg 0x6c280995
mov esi, dword [esp + 0x54]
add dword [esp + 0x1c], esi
mov esi, dword [esp + 0x90]
add dword [esp + 0x20], esi
mov esi, dword [esp + 0x5c]
add dword [esp + 0x44], esi
mov esi, dword [esp + 0x4c]
add dword [esp + 0x48], esi
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x58], esi
jg 0x6c280966
mov eax, 1
jmp 0x6c280aeb
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 4], esi
mov eax, dword [esp + 0x2c]
jmp 0x6c280a0b
mov eax, dword [esp + 0x30]
jmp 0x6c280a3e
xor eax, eax
add esp, 0x64
pop ebx
pop esi
pop edi
pop ebp
ret