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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be66e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xa0]
mov esi, dword [ebp + 0xc]
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_fix_to_path_slash_void_
lea eax, [esi + 4]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, eax
mov dword [ebp - 0xa8], eax
mov dword [eax + 0x10], 0
jb 0x4417b0
mov ecx, dword [eax]
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xa0]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
push 0
push 0x80
push 3
push 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
push 1
cmovae eax, dword [ebp - 0x68]
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4417fd
mov esi, 0xfffffffd
jmp 0x441967
lea eax, [ebp - 0xb0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x441820
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xfffffffc
jmp 0x441967
mov eax, dword [ebp - 0xb0]
or eax, dword [ebp - 0xac]
jne 0x44183f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xfffffffb
jmp 0x441967
push 0x1e000
call fcn.004759b9
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call sym.XNewLook.exe_public:_void___thiscall_LMD5::constructor_void_
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 2
push eax
push 0x1e000
push edi
push esi
mov dword [ebp - 0xa4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4418bc
nop
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4418bc
mov ecx, dword [ebp - 0x34]
mov edx, edi
push eax
call fcn.0046e310
add esp, 4
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa4]
push 0
push eax
push 0x1e000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x441880
push edi
call fcn.004759e5
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
call sym.XNewLook.exe_public:_void___thiscall_LMD5::finish_void_
movups xmm0, xmmword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x84]
movups xmmword [ebp - 0x20], xmm0
call fcn.00441440
add esp, 4
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x44191d
cmp dword [ebp - 0x38], 8
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.00409940
lea ecx, [ebp - 0x50]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov edx, dword [ebp - 0x70]
cmp edx, 0x10
jb 0x441958
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44194e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441997
push edx
push ecx
call fcn.00475891
add esp, 8
push 0x58
push dword [ebp - 0x34]
xor esi, esi
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x6c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xa0]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, esi
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.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
int3