Function at 0x10075d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0f52
mov eax, dword fs:[0]
push eax
sub esp, 0x8f4
mov eax, dword [0x100df00c]
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
cmp dword [0x100ee4e8], 0
je 0x10075e2d
push 0x100c4354
push dword [0x100ee4ec]
lea eax, [ebp - 0x8ec]
mov dword [ebp - 0x8f4], 0
push eax
mov dword [ebp - 0x8ec], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov eax, dword [ebp - 0x8ec]
add esp, 0xc
test eax, eax
je 0x10075e2d
push eax
push 4
lea eax, [ebp - 0x8f4]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp dword [ebp - 0x8f4], 0
jg 0x10075e34
push dword [ebp - 0x8ec]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x1007628e
lea ecx, [ebp - 0x8e8]
call fcn.10075380
lea ecx, [ebp - 0x900]
mov dword [ebp - 4], 0
call dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::constructor_void_]
push 0
mov byte [ebp - 4], 1
push 0
mov dword [ebp - 0x8fc], 0
mov dword [ebp - 0x8f8], 0
call fcn.100902e0
mov ebx, eax
mov dword [ebp - 0x8fc], ebx
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 2
je 0x10075e99
lea ecx, [ebp - 0x8fc]
call fcn.10075900
mov ebx, dword [ebp - 0x8fc]
mov dword [ebp + 8], eax
cmp dword [ebp - 0x8f4], 0
mov edi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::destructor_void_]
mov dword [ebp - 0x8f0], 0
jle 0x100761c5
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [eax]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 1
push 0
push dword [ebp - 0x8ec]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push dword [ebp - 0x8ec]
mov esi, eax
lea eax, [ebp - 0x8e8]
push 0xa8
push 1
push eax
call edi
add esp, 0x28
push dword [ebp - 0x8ec]
cmp eax, 0xa8
jne 0x100762b2
cmp dword [ebp - 0x8e8], esi
jne 0x100762b2
push 0x208
lea eax, [ebp - 0x420]
push 1
push eax
call edi
add esp, 0x10
cmp eax, 0x208
jne 0x100762ac
mov esi, dword [sym.imp.HncFoundation.dll_public:_int___thiscall_CHncStringW::Assign_unsigned_short_int_const__]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x838]
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x104
push eax
push str._SharedData
call dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
push 0x104
lea eax, [ebp - 0x628]
push eax
push str._AppName
call dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea eax, [ebp - 0x218]
push 0x100c5f18
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 0x24
test eax, eax
jne 0x10076007
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
je 0x100761a0
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x834]
call esi
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x834]
call dword [sym.imp.HncFoundation.dll_public:_int___thiscall_CHncStringW::Concat_unsigned_short_int_const__]
lea eax, [ebp - 0x8e4]
push eax
lea ecx, [ebp - 0x900]
call esi
push dword [ebp - 0x834]
call dword [sym.imp.HncFoundation.dll_HncFileExist]
cmp eax, 1
jne 0x100761a0
cmp dword [ebp + 8], 0
je 0x1007613c
mov esi, dword [ebx]
cmp esi, ebx
je 0x1007613c
lea eax, [ebp - 0x8e4]
lea ecx, [esi + 0xc]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10076096
test dx, dx
je 0x10076092
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10076096
add ecx, 4
add eax, 4
test dx, dx
jne 0x10076070
xor eax, eax
jmp 0x1007609b
sbb eax, eax
or eax, 1
test eax, eax
je 0x100760aa
mov esi, dword [esi]
cmp esi, ebx
jne 0x10076061
jmp 0x1007613c
lea ebx, [esi + 8]
mov edi, 0xa4
mov ecx, ebx
lea edx, [ebp - 0x8e8]
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100760d3
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100760c0
jmp 0x100760ec
push 0xa8
push ebx
mov edx, 0xa8
lea ecx, [ebp - 0x8e8]
call fcn.100013c0
add esp, 8
mov ecx, dword [esi + 4]
lea edi, [esi + 0xbc]
mov eax, dword [esi]
dec dword [ebp - 0x8f8]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
cmp dword [esi + 0xb0], 0
je 0x1007611c
push 0
push 0x10
push dword [edi]
call dword [sym.imp.GDI32.dll_RemoveFontResourceExW]
mov ebx, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::destructor_void_]
mov ecx, edi
call ebx
lea ecx, [esi + 0xb8]
call ebx
push 0xc0
push esi
call fcn.100bed2f
add esp, 8
lea eax, [ebp - 0x900]
mov ecx, 0x100ee4f4
push eax
call fcn.10084df0
mov ebx, eax
lea esi, [ebp - 0x8e8]
mov ecx, 0x2a
lea eax, [ebp - 0x838]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x840]
mov esi, dword [sym.imp.HncFoundation.dll_public:_int___thiscall_CHncStringW::Assign_class_CHncStringW_const__]
mov dword [ebx + 0xa8], ecx
mov ecx, dword [ebp - 0x83c]
mov dword [ebx + 0xac], ecx
lea ecx, [ebx + 0xb0]
push eax
call esi
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebx + 0xb4]
call esi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov eax, dword [ebp - 0x8f0]
mov ebx, dword [ebp - 0x8fc]
inc eax
mov dword [ebp - 0x8f0], eax
cmp eax, dword [ebp - 0x8f4]
jl 0x10075ec0
mov edi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::destructor_void_]
push dword [ebp - 0x8ec]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov dword [0x100ee4e0], 1
mov dword [ebp - 0x8f0], 1
mov eax, dword [ebp - 0x8fc]
add esp, 4
mov esi, dword [eax]
mov dword [eax], eax
mov dword [eax + 4], eax
cmp esi, eax
je 0x10076249
nop dword [eax]
cmp dword [esi + 0xb0], 0
lea edi, [esi + 0xbc]
mov ebx, dword [esi]
je 0x1007621d
push 0
push 0x10
push dword [edi]
call dword [sym.imp.GDI32.dll_RemoveFontResourceExW]
mov ecx, edi
mov edi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::destructor_void_]
call edi
lea ecx, [esi + 0xb8]
call edi
push 0xc0
push esi
call fcn.100bed2f
mov eax, dword [ebp - 0x8fc]
add esp, 8
mov esi, ebx
cmp ebx, eax
jne 0x10076200
push 0xc0
push eax
call fcn.100bed2f
add esp, 8
lea ecx, [ebp - 0x900]
call edi
cmp dword [ebp - 0x840], 0
je 0x10076278
push 0
push 0x10
push dword [ebp - 0x834]
call dword [sym.imp.GDI32.dll_RemoveFontResourceExW]
lea ecx, [ebp - 0x834]
call edi
lea ecx, [ebp - 0x838]
call edi
mov eax, dword [ebp - 0x8f0]
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.100be194
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x8ec]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov edi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::destructor_void_]
mov dword [ebp - 0x8f0], 0
jmp 0x100761e5