Function at 0x415cf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f316
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4be004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0xd0], ecx
cmp esi, ebx
je 0x415d59
nop dword [eax]
mov ecx, esi
call fcn.004140c0
add esi, 0x68
cmp esi, ebx
jne 0x415d40
mov esi, dword [edi]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xd0]
mov dword [edi + 4], esi
mov byte [ecx], 0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x415d69
mov ecx, dword [eax]
push ecx
push 0x80
push 3
push ecx
push 0
mov edx, 0x80000000
call fcn.0040a410
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x415ede
test esi, esi
je 0x415ede
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xc0]
movlpd qword [ebp - 0xcc], xmm0
push eax
lea eax, [ebp - 0xcc]
movlpd qword [ebp - 0xc0], xmm0
push eax
push dword [ebp - 0x14]
movlpd qword [ebp - 0xd8], xmm0
call fcn.00416690
test al, al
je 0x415e7f
mov ebx, dword [ebp - 0xcc]
mov ecx, ebx
mov eax, dword [ebp - 0xc8]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x415e7f
jb 0x415e27
cmp ecx, 0x4ffffe
ja 0x415e7f
lea eax, [ebp - 0xb5]
mov byte [ebp - 0xb5], 0
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.00410a90
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ebx
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp ecx, dword [ebp - 0xc8]
ja 0x415e7f
jb 0x415e69
cmp eax, ebx
jae 0x415e7f
mov byte [ebp - 0xb5], cl
lea ecx, [ebp - 0xb5]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00410a90
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jne 0x415efe
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x415ede
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x415ebf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416451
push edx
push ecx
call fcn.00466b59
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466b67
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0
movq qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.004216c0
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0x20]
sub ecx, eax
push edx
push ecx
push eax
lea ecx, [ebp - 0xb4]
call fcn.00421990
test al, al
jne 0x415fce
mov eax, dword [ebp - 0xd0]
mov byte [eax], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x415e8e
mov edx, dword [ebp - 0xbc]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x415fa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416456
push edx
push ecx
call fcn.00466b59
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
jmp 0x415e8e
mov eax, dword [ebp - 0xc0]
xor edx, edx
mov esi, dword [ebp - 0xc4]
mov ecx, 0x3e8
sub eax, esi
div ecx
mov ebx, eax
mov dword [ebp - 0xc8], ebx
test edx, edx
je 0x416033
mov eax, dword [ebp - 0xd0]
mov byte [eax], 1
mov byte [ebp - 4], 0
test esi, esi
je 0x415e8e
mov ecx, dword [ebp - 0xbc]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x41602c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416451
push ecx
push esi
jmp 0x415fa3
test ebx, ebx
jne 0x4160e8
mov byte [ebp - 4], 0
test esi, esi
je 0x416091
mov ecx, dword [ebp - 0xbc]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x416069
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416451
push ecx
push esi
call fcn.00466b59
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4160e1
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4160c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416451
push edx
push ecx
call fcn.00466b59
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov al, 1
jmp 0x415ee0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
push ebx
mov ecx, eax
call fcn.00417020
imul eax, ebx, 0x3e8
push eax
push esi
push dword [ebp - 0x2c]
call fcn.00467ac0
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xd4], eax
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4161bc
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [ebp - 0xd4]
cmp dword [ebx + eax], 0x23ab45db
jne 0x4161e8
inc dword [ebp - 0x14]
xor ecx, ecx
mov word [ebx + eax + 0x282], cx
mov word [ebx + eax + 0x382], cx
mov word [ebx + eax + 0x3ca], cx
add ebx, 0x3e8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0xd4], eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x14], eax
jb 0x416160
mov ebx, dword [ebp - 0xc8]
mov ecx, dword [edi + 8]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x416266
cmp ebx, 0x2762762
ja 0x41645b
jmp 0x41625e
mov eax, dword [ebp - 0xd0]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x415ffa
mov ecx, dword [ebp - 0x24]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x41623a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416451
push ecx
push edi
call fcn.00466b59
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
jmp 0x415ffa
push ebx
mov ecx, edi
call fcn.00416cf0
lea ecx, [ebp - 0x94]
call fcn.00413500
mov byte [ebp - 4], 3
xor ecx, ecx
mov ebx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x28]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4163d0
xor esi, esi
nop dword [eax + eax]
lea edx, [ebx + 4]
add edx, esi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4162b0
sub ecx, dword [ebp - 0xc8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.004042d0
lea edx, [ebx + 0x284]
add edx, esi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4162e3
sub ecx, dword [ebp - 0xc8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.004042d0
mov eax, dword [esi + ebx + 0x3cc]
lea edx, [ebx + 0x384]
mov dword [ebp - 0x4c], eax
add edx, esi
mov eax, dword [esi + ebx + 0x3d0]
mov ecx, edx
mov dword [ebp - 0x48], eax
mov eax, dword [esi + ebx + 0x3d4]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + ebx + 0x3d8]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + ebx + 0x3dc]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + ebx + 0x3e0]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xc8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416350
sub ecx, dword [ebp - 0xc8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.004042d0
mov eax, dword [esi + ebx + 0x3e4]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 4]
mov byte [ebp - 0x30], 0
push ecx
cmp dword [edi + 8], eax
je 0x416397
mov ecx, eax
call fcn.00414200
add dword [edi + 4], 0x68
jmp 0x41639f
push eax
mov ecx, edi
call fcn.004173a0
mov ecx, dword [ebp - 0x28]
mov eax, 0x10624dd3
mov ebx, dword [ebp - 0x2c]
add esi, 0x3e8
inc dword [ebp - 0x14]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x14], eax
jb 0x4162a0
mov esi, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xd0]
mov byte [eax], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.004140c0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x41603b
mov ecx, dword [ebp - 0x24]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x41642d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416451
push ecx
push edi
call fcn.00466b59
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
jmp 0x41603b
call fcn.0046a99a
call fcn.0046a99a
call fcn.00408dd0
int3