Function at 0x6c25c4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push esi
push edi
mov esi, 0x856b74
lea edi, [ebp - 0x34]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov esi, 0x856b84
lea edi, [ebp - 0x44]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov esi, 0x856b94
lea edi, [ebp - 0x54]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov esi, 0x856ba4
lea edi, [ebp - 0x64]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov esi, 0x856bb4
lea edi, [ebp - 0x164]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x11], 1
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0xf42400
cmp dword [ebp + 8], 0
jne 0x6c2642
mov dword [ebp - 4], 0xffffff37
mov eax, dword [ebp - 4]
jmp 0x6c29d0
cmp dword [ebp + 0x14], 0
jne 0x6c2657
mov dword [ebp - 4], 0xffffff37
mov eax, dword [ebp - 4]
jmp 0x6c29d0
cmp dword [ebp + 0xc], 0
jne 0x6c266c
mov dword [ebp - 4], 0xffffff37
mov eax, dword [ebp - 4]
jmp 0x6c29d0
push 0x8000
push dword [ebp + 8]
call sub.msvcrt.dll__open
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
jge 0x6c2692
mov dword [ebp - 4], 0xffffff35
mov eax, dword [ebp - 4]
jmp 0x6c29d0
mov edx, dword [ebp + 0x10]
sub edx, 0x80
je 0x6c26a9
sub edx, 0x40
je 0x6c26b2
sub edx, 0x40
je 0x6c26bb
jmp 0x6c26c4
mov dword [ebp - 0xc], 4
jmp 0x6c26dc
mov dword [ebp - 0xc], 6
jmp 0x6c26dc
mov dword [ebp - 0xc], 8
jmp 0x6c26dc
mov dword [ebp - 4], 0xffffff32
push dword [ebp - 0x24]
call sub.msvcrt.dll__close
pop ecx
mov eax, dword [ebp - 4]
jmp 0x6c29d0
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.006c3df4
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
je 0x6c270a
push dword [ebp - 0x24]
call sub.msvcrt.dll__close
pop ecx
mov eax, dword [ebp - 4]
jmp 0x6c29d0
push dword [ebp - 0xc]
lea edx, [ebp - 0x154]
push edx
push dword [ebp + 0xc]
call fcn.006c4d49
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c272b
jmp 0x6c29b5
push dword [ebp - 0x20]
call fcn.00546aa8
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x6c2740
jmp 0x6c29b5
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x18]
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x18]
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
call sub.msvcrt.dll__read
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x20]
jne 0x6c27aa
mov byte [ebp - 0x11], 0
push dword [ebp - 0xc]
lea ecx, [ebp - 0x154]
push ecx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.006c29d6
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6c27aa
jmp 0x6c29b5
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x20]
je 0x6c2750
mov ecx, dword [ebp - 8]
shr ecx, 4
shl ecx, 4
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
and eax, 0xf
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x10], 0
je 0x6c27d1
mov byte [ebp - 0x11], 0
push dword [ebp - 0xc]
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x64]
push ecx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.006c29d6
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6c27fb
jmp 0x6c29b5
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x54]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x6c2931
cmp byte [ebp - 0x11], 0
jne 0x6c28bc
push dword [ebp - 0xc]
lea ecx, [ebp - 0x154]
push ecx
lea eax, [ebp - 0x164]
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.006c473a
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
je 0x6c284e
jmp 0x6c29b5
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x164]
push eax
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c2874
jmp 0x6c29b5
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x54]
push eax
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c2894
jmp 0x6c29b5
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x164]
push eax
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c2906
jmp 0x6c29b5
mov byte [ebp - 0x54], 0x80
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x44]
push ecx
lea eax, [ebp - 0x54]
push eax
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c28e0
jmp 0x6c29b5
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x164]
push eax
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c2906
jmp 0x6c29b5
push dword [ebp - 0xc]
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x164]
push eax
call fcn.006c4640
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
je 0x6c299c
jmp 0x6c29b5
mov edx, dword [ebp - 0x1c]
mov byte [ebp + edx - 0x54], 0x80
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x54]
push edx
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c2956
jmp 0x6c29b5
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x64]
push eax
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c2976
jmp 0x6c29b5
push dword [ebp - 0xc]
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x164]
push eax
call fcn.006c4640
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
je 0x6c299c
jmp 0x6c29b5
push dword [ebp + 0x14]
lea edx, [ebp - 0x64]
push edx
push dword [ebp + 0x18]
call fcn.006c399e
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x6c29b5
cmp dword [ebp - 0x18], 0
je 0x6c29c4
push dword [ebp - 0x18]
call fcn.00546ae4
pop ecx
push dword [ebp - 0x24]
call sub.msvcrt.dll__close
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret