Function at 0x100cd550
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x10103305
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10144008]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x78]
mov ecx, 0x1014814b
call fcn.100e5245
mov eax, dword [edi]
mov ecx, edi
mov byte [edi + 8], 0
call dword [eax]
mov dword [ebp + 0x14], 0
mov dword [ebp - 4], 0
push 4
call fcn.100e2b35
add esp, 4
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 1
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 0
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x14]
push 0x80
push 3
push 1
push 0x80000000
push esi
call fcn.1009c120
test al, al
jne 0x100cd640
lea ecx, [ebp + 0x50]
call fcn.100ce3f0
mov byte [ebp - 4], 3
cmp dword [edi + 4], 0
je 0x100cd622
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call fcn.1001af80
mov byte [ebp - 4], 4
mov ecx, dword [edi + 4]
push 0
mov eax, dword [ecx]
mov byte [ebp - 4], 3
call dword [eax + 4]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x50]
call fcn.10003460
mov byte [ebp - 4], 2
mov byte [ebp - 4], 2
xor bl, bl
mov esi, dword [ebp + 0x14]
jmp 0x100cd836
lea eax, [ebp + 4]
xorps xmm0, xmm0
push eax
lea ecx, [ebp + 0x14]
movlpd qword [ebp + 4], xmm0
call fcn.1009c2c0
mov eax, dword [ebp + 4]
or eax, dword [ebp + 8]
jne 0x100cd6af
lea ecx, [ebp + 0x38]
call fcn.10005c90
mov byte [ebp - 4], 9
cmp dword [edi + 4], 0
je 0x100cd691
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call fcn.1001af80
mov byte [ebp - 4], 0xa
mov ecx, dword [edi + 4]
push 0
mov eax, dword [ecx]
mov byte [ebp - 4], 9
call dword [eax + 4]
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0x38]
call fcn.10003460
mov byte [ebp - 4], 2
mov byte [ebp - 4], 2
xor bl, bl
mov esi, dword [ebp + 0x14]
jmp 0x100cd836
xorps xmm0, xmm0
mov byte [ebp + 0x1f], 1
push 0x10000
mov dword [ebp + 0x68], 0
movlpd qword [ebp + 0xc], xmm0
call fcn.100e3747
mov ecx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0x10]
add esp, 4
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x10], ecx
nop dword [eax]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x100cd7dd
test ebx, ebx
je 0x100cd7c5
cmp dword [esi], 0xffffffff
je 0x100cd7dd
push 0
lea eax, [ebp + 0x68]
mov dword [ebp + 0x68], 0
push eax
push 0x10000
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100cd7c5
cmp byte [edi + 8], 0
jne 0x100cd790
mov ecx, dword [ebp + 0x68]
test ecx, ecx
je 0x100cd7c2
mov eax, dword [edi]
push ecx
push ebx
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edi + 4]
adc ecx, 0
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x18], ecx
test eax, eax
je 0x100cd784
mov esi, dword [eax]
mov edx, ecx
mov ecx, dword [ebp + 0x10]
call fcn.100e5700
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 4]
movsd qword [ebp - 0x14], xmm0
call fcn.100e5700
movsd xmm1, qword [ebp - 0x14]
sub esp, 8
divsd xmm1, xmm0
mov ecx, dword [edi + 4]
movsd qword [esp], xmm1
call dword [esi]
mov dword [ebp + 0x68], 0
jmp 0x100cd6e0
lea ecx, [ebp + 0x20]
call fcn.10005c90
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x20]
push eax
push 0
mov ecx, edi
call fcn.100cd8a0
xor al, al
mov byte [ebp + 0x1f], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0x20]
call fcn.10003460
mov byte [ebp - 4], 2
mov byte [ebp - 4], 2
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100cd7dd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100cd7dd
mov dword [esi], 0xffffffff
push ebx
call fcn.100e2b73
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 8]
lea ecx, [ebp - 0x2c]
call fcn.10005c90
mov byte [ebp - 4], 0x18
cmp dword [edi + 4], 0
je 0x100cd81f
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call fcn.1001af80
mov byte [ebp - 4], 0x19
mov ecx, dword [edi + 4]
push 1
mov eax, dword [ecx]
mov byte [ebp - 4], 0x18
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2c]
call fcn.10003460
mov byte [ebp - 4], 2
mov byte [ebp - 4], 2
mov bl, byte [ebp + 0x1f]
mov dword [ebp - 4], 0x1e
test esi, esi
je 0x100cd86b
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100cd859
test eax, eax
je 0x100cd859
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.100e2b65
add esp, 8
mov dword [ebp + 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.100e2b24
lea esp, [ebp + 0x70]
pop ebp
ret 4