Function at 0x4795d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69366c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x479624
xor al, al
jmp 0x479894
lea esi, [eax + 0x38]
push esi
lea ecx, [ebp - 0xc0]
call fcn.00406ff0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00406ff0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x90]
call fcn.00406ff0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [ebp - 0x78]
call fcn.00406ff0
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.00405c90
test al, al
jne 0x479875
lea ecx, [ebp - 0x78]
call fcn.00405c90
test al, al
jne 0x479875
mov esi, dword [ebp - 0x110]
test esi, esi
jne 0x479843
mov edx, dword [edi + 8]
mov eax, edx
mov esi, dword [edi + 0xc]
or eax, esi
jne 0x47978e
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x20], xmm0
call fcn.004625c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00405c90
test al, al
jne 0x479766
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x48]
call fcn.00405ca0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x479766
test esi, esi
je 0x479766
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47975f
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.00405ce0
mov eax, dword [ebp - 0x110]
mov edx, esi
mov dword [edi + 8], esi
mov esi, eax
mov dword [edi + 0xc], eax
or edx, esi
je 0x479869
lea ecx, [ebp - 0x30]
call fcn.00447310
mov esi, dword [edi + 0xc]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edi + 8]
mov eax, dword [ebp - 0x30]
cmp edx, esi
ja 0x4797bc
jb 0x479869
cmp eax, ecx
jb 0x479869
push esi
push ecx
push edx
push eax
call fcn.00479ab0
test al, al
je 0x479875
lea eax, [ebp - 0x30]
push eax
call fcn.00661c83
add esp, 4
test eax, eax
je 0x479869
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x10]
psrldq xmm1, 8
movd eax, xmm1
movups xmmword [ebp - 0xd4], xmm0
test eax, eax
js 0x479869
lea eax, [ebp - 0x30]
push eax
call fcn.00661c83
add esp, 4
test eax, eax
je 0x479828
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x10]
psrldq xmm1, 8
movd eax, xmm1
movups xmmword [ebp - 0xf8], xmm0
cmp eax, 3
jg 0x479869
call fcn.0066099e
xor edx, edx
mov ecx, 0xf0
div ecx
cmp edx, 1
jne 0x479875
mov byte [ebp - 0x109], dl
jmp 0x47987c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x479872
cmp ecx, eax
jbe 0x479872
sub ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
add edx, 2
cmp edx, esi
jb 0x479875
mov byte [ebp - 0x109], 1
jmp 0x47987c
mov dword [edi + 0x10], ecx
mov byte [ebp - 0x109], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.0041bd30
mov al, byte [ebp - 0x109]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0064fb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4