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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3a7e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x101120a8]
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.XNewLookSch.dll_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 0x10032870
mov ecx, dword [eax]
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xa0]
call sym.XNewLookSch.dll_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 0x100328bd
mov esi, 0xfffffffd
jmp 0x10032a27
lea eax, [ebp - 0xb0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x100328e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xfffffffc
jmp 0x10032a27
mov eax, dword [ebp - 0xb0]
or eax, dword [ebp - 0xac]
jne 0x100328ff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xfffffffb
jmp 0x10032a27
push 0x1e000
call fcn.1008bff2
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call sym.XNewLookSch.dll_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 0x1003297c
nop
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x1003297c
mov ecx, dword [ebp - 0x34]
mov edx, edi
push eax
call fcn.100614e0
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 0x10032940
push edi
call fcn.1008c032
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
call sym.XNewLookSch.dll_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.10032500
add esp, 4
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call sym.XNewLookSch.dll_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 0x100329dd
cmp dword [ebp - 0x38], 8
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.10002b70
lea ecx, [ebp - 0x50]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov edx, dword [ebp - 0x70]
cmp edx, 0x10
jb 0x10032a18
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032a0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032a57
push edx
push ecx
call fcn.1008bfe4
add esp, 8
push 0x58
push dword [ebp - 0x34]
xor esi, esi
call fcn.1008bfe4
add esp, 8
lea ecx, [ebp - 0x6c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xa0]
call sym.XNewLookSch.dll_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.1008bffe
mov esp, ebp
pop ebp
ret
call fcn.10092486
int3