Function at 0x10075900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0f07
mov eax, dword fs:[0]
push eax
sub esp, 0xaf4
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
mov dword [ebp - 0xafc], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
movzx eax, ax
mov ecx, 0x412
cmp ax, cx
lea eax, [ebp - 0x628]
push 0x104
push eax
jne 0x1007595a
push str._CommonFontDBPrivateFont_ko_KR.dat
jmp 0x1007595f
push str._CommonFontDBPrivateFont_en_US.dat
call dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.HncFoundation.dll_HncFileExist]
test eax, eax
je 0x100759df
push 0x100c4354
lea eax, [ebp - 0x628]
mov dword [ebp - 0xaf8], 0
push eax
lea eax, [ebp - 0xaf4]
mov dword [ebp - 0xaf4], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov eax, dword [ebp - 0xaf4]
add esp, 0xc
test eax, eax
je 0x100759df
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push eax
push 4
lea eax, [ebp - 0xaf8]
push 1
push eax
call ebx
add esp, 0x10
cmp dword [ebp - 0xaf8], 0
jg 0x100759e6
push dword [ebp - 0xaf4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x10075c4a
lea ecx, [ebp - 0xaf0]
call fcn.10075380
lea ecx, [ebp - 0xb00]
mov dword [ebp - 4], 0
call dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::constructor_void_]
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0xaf8], esi
jle 0x10075bfd
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 1
push 0
push dword [ebp - 0xaf4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push dword [ebp - 0xaf4]
mov edi, eax
lea eax, [ebp - 0xaf0]
push 0xa8
push 1
push eax
call ebx
add esp, 0x28
push dword [ebp - 0xaf4]
cmp eax, 0xa8
jne 0x10075c77
cmp dword [ebp - 0xaf0], edi
jne 0x10075c77
push 0x208
lea eax, [ebp - 0x420]
push 1
push eax
call ebx
add esp, 0x10
cmp eax, 0x208
jne 0x10075c71
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa40]
call dword [sym.imp.HncFoundation.dll_public:_int___thiscall_CHncStringW::Assign_unsigned_short_int_const__]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0xa38]
add esp, 0xc
push 0x104
push eax
push str._SharedData
call edi
push 0x104
lea eax, [ebp - 0x830]
push eax
push str._AppName
call edi
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]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea eax, [ebp - 0x218]
push 0x104
push eax
call edi
lea eax, [ebp - 0x830]
push 0x104
push eax
call edi
mov edi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
lea eax, [ebp - 0x218]
push 0x100c5f18
push eax
call edi
add esp, 0x24
test eax, eax
jne 0x10075b5f
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
add esp, 8
test eax, eax
je 0x10075bf0
mov edi, dword [sym.imp.HncFoundation.dll_public:_int___thiscall_CHncStringW::Assign_unsigned_short_int_const__]
lea eax, [ebp - 0xa38]
push eax
lea ecx, [ebp - 0xa3c]
call edi
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa3c]
call dword [sym.imp.HncFoundation.dll_public:_int___thiscall_CHncStringW::Concat_unsigned_short_int_const__]
lea eax, [ebp - 0xaec]
push eax
lea ecx, [ebp - 0xb00]
call edi
push dword [ebp - 0xa3c]
call dword [sym.imp.HncFoundation.dll_HncFileExist]
cmp eax, 1
jne 0x10075bf0
mov eax, dword [ebp - 0xafc]
mov edi, dword [eax]
lea eax, [ebp - 0xaf0]
push eax
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.10098880
mov ecx, dword [ebp - 0xafc]
mov edx, dword [ecx + 4]
mov ecx, 0x1555554
sub ecx, edx
cmp ecx, 1
jb 0x10075c66
lea ecx, [edx + 1]
mov edx, dword [ebp - 0xafc]
mov dword [edx + 4], ecx
mov dword [edi + 4], eax
mov dword [ebx], eax
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
inc esi
cmp esi, dword [ebp - 0xaf8]
jl 0x10075a20
push dword [ebp - 0xaf4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov edi, 1
mov esi, dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncStringW::destructor_void_]
lea ecx, [ebp - 0xb00]
call esi
cmp dword [ebp - 0xa48], 0
je 0x10075c38
push 0
push 0x10
push dword [ebp - 0xa3c]
call dword [sym.imp.GDI32.dll_RemoveFontResourceExW]
lea ecx, [ebp - 0xa3c]
call esi
lea ecx, [ebp - 0xa40]
call esi
mov eax, edi
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
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
push dword [ebp - 0xaf4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor edi, edi
jmp 0x10075c11