Function at 0xfc060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, ebx
call fcn.000fc1c2
xor al, al
mov byte [ebp - 1], al
lea ebx, [ebx]
cmp dword [edi + 8], 0
je 0x163ee7
xor esi, esi
lea esp, [esp]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
je 0xfc179
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
inc esi
mov al, byte [ecx + eax]
mov byte [ebp + esi + 0xa], al
lea eax, [ecx + 1]
mov dword [edi + 0xc], eax
cmp esi, 1
jb 0xfc090
add dword [edi + 0x10], esi
adc dword [edi + 0x14], 0
test esi, esi
je 0xfc1a7
mov al, byte [ebp + 0xb]
mov byte [ebp - 1], 1
cmp al, 0xd
je 0xfc108
cmp al, 0xa
je 0xfc123
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp eax, 1
jg 0x163f10
mov eax, dword [ebx + 4]
add eax, 2
cmp dword [ebx + 8], eax
jb 0xfc12e
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov al, byte [ebp + 0xb]
mov byte [edx + ecx], al
inc dword [ebx + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov byte [ecx + eax], 0
jmp 0xfc080
push 1
lea eax, [ebp + 0xb]
push eax
mov ecx, edi
call fcn.000fc2e0
test eax, eax
je 0xfc123
cmp byte [ebp + 0xb], 0xa
jne 0x164005
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x41c2
jae 0x163f43
add eax, eax
mov dword [ebx + 8], eax
test eax, eax
je 0xfc1bb
add eax, 0xf
and eax, 0xfffffff0
push eax
mov dword [ebx + 8], eax
call fcn.0010f4ea
mov esi, eax
mov eax, dword [ebx]
add esp, 4
test eax, eax
je 0xfc172
mov ecx, dword [ebx + 4]
inc ecx
push ecx
push eax
push esi
call fcn.0010ee80
push dword [ebx]
call fcn.0010f55e
add esp, 0x10
mov dword [ebx], esi
jmp 0xfc0ec
push 0
lea eax, [ebp - 8]
push eax
push 0x10000
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xfc0b5
mov eax, dword [ebp - 8]
test eax, eax
je 0xfc0b5
jmp 0x163f01
mov al, byte [ebp - 1]
test al, al
jne 0xfc123
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 0x10
jmp 0xfc148
mov ecx, edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.000f45a6
jmp 0xfc08a
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
jmp 0xfc09c
dec eax
mov dword [ecx], eax
mov ecx, ebx
call fcn.000f6b4a
mov eax, dword [ebx + 4]
add eax, 2
push eax
call fcn.0010e76a
push eax
mov dword [ebx + 8], eax
call fcn.0010f4ea
mov ecx, dword [ebx + 4]
inc ecx
push ecx
push dword [ebx]
mov esi, eax
push esi
call fcn.0010ee80
jmp 0xfc16f
cmp eax, 0x2000000
jae 0x163f86
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
test eax, eax
jns 0x163f5a
fadd qword [0x1a6a00]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1a2710]
fnstcw word [ebp - 4]
movzx eax, word [ebp - 4]
or eax, 0xc00
mov dword [ebp - 0xc], eax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
fldcw word [ebp - 4]
jmp 0xfc13b
cmp eax, 0x8000000
jae 0x163fc9
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
test eax, eax
jns 0x163f9d
fadd qword [0x1a6a00]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1a2708]
fnstcw word [ebp - 4]
movzx eax, word [ebp - 4]
or eax, 0xc00
mov dword [ebp - 0xc], eax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
fldcw word [ebp - 4]
jmp 0xfc13b
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
test eax, eax
jns 0x163fd9
fadd qword [0x1a6a00]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1a2700]
fnstcw word [ebp - 4]
movzx eax, word [ebp - 4]
or eax, 0xc00
mov dword [ebp - 0xc], eax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
fldcw word [ebp - 4]
jmp 0xfc13b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
call fcn.000f46ce
jmp 0xfc123