Function at 0x44a540
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530695
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [edi]
test ebx, ebx
jne 0x44a57e
xor al, al
jmp 0x44a7ab
lea esi, [ebx + 0x38]
push esi
lea ecx, [ebp - 0xc4]
call fcn.00404520
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0xac]
call fcn.00404520
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x94]
call fcn.00404520
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404520
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404470
test al, al
jne 0x44a768
lea ecx, [ebp - 0x7c]
call fcn.00404470
test al, al
jne 0x44a768
cmp dword [ebp - 0x64], 0
jne 0x44a73a
mov edx, dword [edi + 8]
mov eax, edx
mov ecx, dword [edi + 0xc]
or eax, ecx
jne 0x44a6d7
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
mov ecx, ebx
movlpd qword [ebp - 0x1c], xmm0
call fcn.0043fee0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00404470
test al, al
jne 0x44a6bb
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x40]
call fcn.00403390
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a6bb
test esi, esi
je 0x44a6bb
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 8
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44a6b4
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00402a30
mov dword [edi + 8], esi
mov edx, esi
mov dword [edi + 0xc], ebx
mov ecx, ebx
or edx, ecx
je 0x44a761
lea ecx, [ebp - 0x24]
call fcn.00492e40
mov esi, dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov ecx, dword [edi + 8]
mov eax, dword [ebp - 0x24]
cmp edx, esi
ja 0x44a6fd
jb 0x44a761
cmp eax, ecx
jb 0x44a761
push esi
push ecx
push edx
push eax
call fcn.0044a9c0
test al, al
je 0x44a768
lea ecx, [ebp - 0x24]
call fcn.00493040
test eax, eax
js 0x44a761
lea ecx, [ebp - 0x24]
call fcn.00493040
cmp eax, 3
jg 0x44a761
call fcn.004f17bc
xor edx, edx
mov ecx, 0xf0
div ecx
cmp edx, 1
jne 0x44a768
mov bl, dl
jmp 0x44a76a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x44a765
cmp ecx, eax
jbe 0x44a765
sub ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
add edx, 2
cmp edx, dword [ebp - 0x64]
jb 0x44a768
mov bl, 1
jmp 0x44a76a
mov dword [edi + 0x10], ecx
xor bl, bl
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.00402a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x94]
call fcn.00402a30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xac]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00402a30
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 - 0x14]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret 4