Function at 0x441ce0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d45d6
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x64c00c]
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x238], eax
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x4420b4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005a52f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441d80
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00406ed0
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
test edx, edx
jne 0x441db8
xor ecx, ecx
jmp 0x441dcf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441dc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x220]
call fcn.00406ed0
mov esi, dword [ebp - 0x220]
push 0x2e
push esi
call fcn.005a4e4b
add esp, 8
test eax, eax
je 0x441e89
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x441e89
xor edi, edi
test eax, eax
cmovns edi, eax
cmp edi, dword [esi - 0xc]
jl 0x441e21
lea ecx, [esi - 0x10]
call fcn.00406d70
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
jmp 0x441e51
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x441e31
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x441e3d
call fcn.00405800
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push edi
push esi
lea ecx, [ebp - 0x21c]
call fcn.00406cf0
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x220]
call fcn.00406a90
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x441e83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x4420be
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 2
movsd xmm0, qword [0x63c640]
push eax
lea eax, [ebp - 0x22c]
movsd qword [ebp - 0x240], xmm0
push eax
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
call fcn.004418d0
mov edi, dword [ebp - 0x22c]
test eax, eax
je 0x44204c
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x228], eax
cmp eax, 0xffffffff
je 0x44204c
push 0
push eax
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x44203e
lea eax, [ebx + 0xa]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x21c], eax
test eax, eax
js 0x4420c8
mov edx, dword [ebp - 0x224]
mov ecx, 1
mov eax, dword [edx]
mov dword [ebp - 0x234], eax
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, dword [ebp - 0x21c]
or eax, ecx
jge 0x441f7e
lea eax, [ebx + 0xa]
mov ecx, edx
push eax
call fcn.0040a780
mov eax, dword [ebp - 0x224]
mov eax, dword [eax]
jmp 0x441f84
mov eax, dword [ebp - 0x234]
push 0
lea ecx, [ebp - 0x230]
push ecx
push ebx
push eax
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x442020
cmp dword [ebp - 0x230], ebx
jne 0x442020
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x441fc3
movsd xmm0, qword [ebp - 0x240]
movsd qword [eax], xmm0
cmp ebx, 0xffffffff
jne 0x441fe6
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
test ecx, ecx
jne 0x441fd8
xor ebx, ebx
jmp 0x441ff4
push dword [ecx - 8]
push ecx
call fcn.005a9505
add esp, 8
mov ebx, eax
test ebx, ebx
js 0x4420c8
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
cmp ebx, dword [ecx - 8]
jg 0x4420c8
push dword [ebp - 0x228]
mov dword [ecx - 0xc], ebx
mov eax, dword [eax]
mov byte [ebx + eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 1
jmp 0x442056
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
jl 0x4420c8
mov dword [ecx - 0xc], 0
mov eax, dword [eax]
mov byte [eax], 0
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x442056
mov dword [ebp - 0x21c], 0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x442074
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x442090
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x21c]
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.00483ab6
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
push 0x80070057
call fcn.00405600
int3