Function at 0x40c3f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c59b
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x448], edi
mov esi, ecx
mov dword [ebp - 0x478], esi
push 0x200
lea eax, [ebp - 0x240]
mov byte [ebp - 0x441], 0
push 0
push eax
mov dword [ebp - 0x450], 0
call fcn.00427c40
push 0x200
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.00427c40
cmp byte [edi], 0
mov ecx, 0x1000
mov eax, 0xe00
push 0
cmovne eax, ecx
push eax
push esi
call fcn.0042b9bb
add esp, 0x24
test eax, eax
jne 0x40cb30
push esi
push 0x200
push 1
push 0x461cb0
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x40cb30
mov ecx, 0x461cb0
call fcn.00403ff0
movups xmm0, xmmword [edi]
xor eax, eax
mov dword [ebp - 0x458], 3
mov ecx, 0x45ff2c
movups xmmword [ebp - 0x474], xmm0
mov dword [ebp - 0x470], eax
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x464], xmm0
mov dword [ebp - 0x466], eax
mov word [ebp - 0x462], ax
movzx eax, byte [0x461ea9]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 0x473], 1
call fcn.0040d6b0
push str..samara
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0040d630
lea eax, [ebp - 0x4a0]
mov ecx, 0x45ff2c
push eax
call fcn.004098a0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040b4e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48c]
cmp ecx, 7
jbe 0x40c580
mov edx, dword [ebp - 0x4a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c576
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb5e
push ecx
push edx
call fcn.004265b2
add esp, 8
push 0x45ff2c
lea ecx, [ebp - 0x28]
call fcn.00402450
mov byte [ebp - 4], 3
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x18]
cmova esi, dword [ebp - 0x28]
mov ecx, esi
lea edx, [esi + eax*2]
call fcn.0040b7a0
mov ecx, eax
sub ecx, esi
sar ecx, 1
cmp dword [ebp - 0x18], ecx
jb 0x40cb63
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
xor edx, edx
mov byte [ebp - 4], 2
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ae10
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0x456ef8
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0042b566
mov esi, eax
add esp, 8
mov dword [ebp - 0x454], esi
test esi, esi
jne 0x40c60b
mov ecx, 0x458f1c
jmp 0x40c9cd
cmp byte [ebp - 0x474], 0
je 0x40c6b4
lea ecx, [ebp - 0x4a0]
call fcn.00403e20
push ecx
push eax
lea edx, [ebp - 0x240]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x474]
call fcn.00404130
mov ecx, dword [ebp - 0x48c]
add esp, 8
cmp ecx, 7
jbe 0x40c67d
mov edx, dword [ebp - 0x4a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c673
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb68
push ecx
push edx
call fcn.004265b2
add esp, 8
push esi
push 0x200
lea eax, [ebp - 0x240]
push 1
push eax
call fcn.0042bfce
add esp, 0x10
cmp eax, 0x200
je 0x40c6b4
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 0x458f58
call fcn.0040b0e0
add esp, 8
push 3
mov edx, edi
mov ecx, esi
call fcn.00407630
mov esi, dword [ebp - 0x448]
xor edi, edi
add esp, 4
cmp dword [esi + 4], edi
jle 0x40ca71
mov ecx, 0x461ea4
mov dword [ebp - 0x45c], ecx
nop
movzx edx, word [ecx + 2]
mov ax, dx
shr ax, 0xf
test dx, dx
mov word [ebp - 0x44a], ax
mov eax, edx
not eax
movzx ecx, ax
mov eax, edx
cmovns ecx, eax
mov eax, dword [ebp - 0x448]
movzx edx, cx
mov ecx, edx
and edx, 0xf
shr ecx, 4
movzx esi, word [eax + 0xa]
movzx eax, word [eax + 0xc]
imul esi, ecx
mov dword [ebp - 0x480], ecx
add esi, edx
imul esi, eax
mov eax, dword [ebp - 0x45c]
movzx eax, word [eax]
push eax
push esi
mov ecx, eax
mov dword [ebp - 0x47c], eax
push edx
mov dword [ebp - 0x484], ecx
lea eax, [edi + 0x43]
mov ecx, dword [ebp - 0x480]
push ecx
push eax
push edi
push str.part__d::__c:_cyl___d_thd___d_tsec__1_tlba___ld_tlen___d
call fcn.0040b0e0
cmp byte [ebp - 0x44a], 0
mov ecx, str.__WP__n
mov eax, str._____n
cmovne eax, ecx
push eax
call fcn.0040b0e0
mov ecx, dword [ebp - 0x448]
xor eax, eax
push 0
cmp byte [ecx], al
setne al
add eax, esi
shl eax, 9
push eax
push dword [ebp - 0x478]
call fcn.0042b9bb
add esp, 0x2c
test eax, eax
jne 0x40c8c4
mov eax, dword [ebp - 0x484]
push 0x1f4
movzx esi, ax
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.00427c40
mov ecx, dword [ebp - 0x470]
mov word [ebp - 0x23e], si
mov dword [ebp - 0x23a], 0x2000400
lea eax, [ecx + 2]
mov word [ebp - 0x240], ax
mov ax, word [ebp - 0x44a]
movzx eax, al
add ax, ax
mov word [ebp - 0x23c], ax
mov eax, 0x1900
mov word [ebp - 0x236], ax
mov eax, dword [ebp - 0x458]
mov word [ebp + ecx*4 - 0x43a], ax
shr eax, 0x10
mov word [ebp + ecx*4 - 0x438], ax
lea ecx, [ebp - 0x240]
call fcn.00403ff0
mov esi, dword [ebp - 0x454]
lea eax, [ebp - 0x240]
push esi
push 0x200
push 1
push eax
call fcn.0042bfce
add esp, 0x1c
cmp eax, 0x200
jne 0x40c9c8
push dword [ebp - 0x47c]
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x474]
push eax
mov edx, esi
call fcn.0040d4e0
add esp, 8
mov byte [ebp - 0x441], al
test al, al
jne 0x40c8a3
push edi
push 0x45735c
call fcn.0040b0e0
mov eax, dword [ebp - 0x458]
add esp, 8
mov esi, dword [ebp - 0x450]
inc eax
add eax, dword [ebp - 0x47c]
inc esi
inc dword [ebp - 0x470]
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x458], eax
jmp 0x40c8df
mov eax, dword [ebp - 0x458]
mov esi, dword [ebp - 0x450]
inc eax
add eax, dword [ebp - 0x47c]
inc dword [ebp - 0x470]
mov dword [ebp - 0x458], eax
jmp 0x40c8df
push edi
push 0x4573a0
call fcn.0040b0e0
mov esi, dword [ebp - 0x450]
add esp, 8
inc esi
mov dword [ebp - 0x450], esi
mov eax, dword [ebp - 0x448]
inc edi
mov ecx, dword [ebp - 0x45c]
sub ecx, 4
mov dword [ebp - 0x45c], ecx
cmp edi, dword [eax + 4]
jl 0x40c6e0
cmp byte [ebp - 0x441], 0
mov edi, dword [ebp - 0x454]
je 0x40ca7f
lea edx, [ebp - 0x474]
mov ecx, edi
call fcn.00407770
mov eax, dword [ebp - 0x488]
mov ecx, 0x400
mov word [ebp - 0x440], ax
mov eax, dword [ebp - 0x468]
imul eax, dword [ebp - 0x46a]
push 0
mov word [ebp - 0x43e], ax
mov al, byte [ebp - 0x46a]
dec al
cmp byte [ebp - 0x474], 0
mov byte [ebp - 0x43b], al
mov al, byte [ebp - 0x468]
mov byte [ebp - 0x43c], al
mov eax, 0x200
cmovne eax, ecx
push eax
push edi
call fcn.0042b9bb
lea ecx, [ebp - 0x440]
call fcn.00403ff0
push edi
push 0x200
lea eax, [ebp - 0x440]
push 1
push eax
call fcn.0042bfce
add esp, 0x1c
cmp eax, 0x200
je 0x40ca79
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 0x458fac
call fcn.0040b0e0
add esp, 8
mov byte [ebp - 0x441], 0
jmp 0x40ca79
mov ecx, 0x458fac
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push ecx
call fcn.0040b0e0
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp ecx, 7
jbe 0x40ca1c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb6d
push ecx
push edx
call fcn.004265b2
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x40ca6a
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb6d
push ecx
push edx
call fcn.004265b2
add esp, 8
xor al, al
jmp 0x40cb43
mov edi, dword [ebp - 0x454]
xor esi, esi
mov eax, dword [ebp - 0x448]
mov eax, dword [eax + 4]
sub eax, esi
push eax
push 0x458fe0
call fcn.0040b0e0
push edi
call fcn.0042b6a2
add esp, 0xc
test esi, esi
je 0x40caaa
push esi
push 0x457428
call fcn.0040b0e0
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40cae4
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cada
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb6d
push ecx
push edx
call fcn.004265b2
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x40cb3d
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cb24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb6d
push ecx
push edx
call fcn.004265b2
add esp, 8
jmp 0x40cb3d
push 0x459030
call fcn.0040b0e0
add esp, 4
mov al, byte [ebp - 0x441]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004265a4
mov esp, ebp
pop ebp
ret
call fcn.0042b45f
call fcn.00401ab0
call fcn.0042b45f
call fcn.0042b45f
int3