Function at 0x41fb20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41fe4d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0xc]
push 0
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call esi
cmp dword [ebp - 0x10], 0x4b6e6343
jne 0x41fc67
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x2d]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x2e]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x2f]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x1d]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x1e]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x1f]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x25]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x26]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x27]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
call esi
cmp dword [ebp - 0x20], 1
je 0x41fc6f
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00425320
mov edi, dword [ebp + 8]
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x4c]
jne 0x41fd26
lea eax, [ebp - 4]
push eax
push ebx
call fcn.00425320
add esp, 8
lea eax, [ebp - 0xc]
push 0
push eax
push 0x1c
push dword [ebp + 0x10]
push ebx
call esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
push 0x3c
push 0
push eax
mov byte [esi + 0x1b], 0
call fcn.004289f0
mov eax, dword [ebp - 4]
add esp, 8
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], 0
push 0
push 0
push 0
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 4]
push 0x48
push edi
mov dword [ebp - 0x70], 1
call eax
mov eax, dword [edi + 4]
add esp, 0x14
mov dword [esp], 0
push 0
push 0
push 0
push 0xc
push edi
call eax
add esp, 0x14
lea eax, [ebp - 0x70]
mov dword [esp], 0
push eax
mov eax, dword [edi + 4]
push 0
push 0
push 0x4c
push edi
call eax
add esp, 0x18
cmp eax, 0xffffffff
jne 0x41fd2f
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0x43
push edi
call eax
mov eax, dword [edi + 4]
add esp, 0x14
mov dword [esp], 0
push esi
push 0
push 0
push 4
push edi
call eax
mov eax, dword [ebp - 0x18]
add esp, 0x18
cmp eax, 0x6b437846
jne 0x41fda4
xor esi, esi
cmp dword [ebp - 4], esi
jle 0x41fdf9
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
call fcn.00425320
movss xmm0, dword [ebp - 8]
add esp, 4
mov eax, dword [edi + 0xc]
movss dword [esp], xmm0
push esi
push edi
call eax
inc esi
add esp, 0xc
cmp esi, dword [ebp - 4]
jl 0x41fd74
jmp 0x41fdf9
cmp eax, 0x68435046
jne 0x41fdf9
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
call fcn.00425320
push dword [ebp - 8]
call fcn.00429f71
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0xc]
push 0
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [edi + 4]
push ecx
mov dword [esp], 0
push esi
push dword [ebp - 8]
push 1
push 0x18
push edi
call eax
push esi
call fcn.00429f6c
add esp, 0x1c
mov eax, dword [edi + 4]
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0x44
push edi
call eax
mov eax, dword [edi + 4]
add esp, 0x14
mov dword [esp], 0
push 0
push 1
push 0
push 0xc
push edi
call eax
mov eax, dword [edi + 4]
add esp, 0x14
mov dword [esp], 0
push 0
push 0
push 0
push 0x47
push edi
call eax
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret