Function at 0x1001e670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x694
mov eax, dword [0x100df00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.__HWP_Font_List_File_V5.00
push 0xfeff
mov ebx, ecx
mov esi, edx
push str._c_s_r_n_r_n
push ebx
mov dword [ebp - 0x678], esi
mov dword [ebp - 0x67c], ebx
call fcn.10001510
push str.Font_List
push str.__s__r_n
push ebx
call fcn.10001510
add esp, 0x1c
lea eax, [ebp - 0x220]
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.HncFoundation.dll_HncAppendBackSlash]
push str..HFT
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.HncFoundation.dll_HncFindFirstFile]
mov edi, eax
mov dword [ebp - 0x680], edi
cmp edi, 0xffffffff
je 0x1001e8e1
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
nop dword [eax + eax]
push dword [ebp - 0x678]
lea eax, [ebp - 0x220]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.HncFoundation.dll_HncAppendBackSlash]
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x20
push 0x8000
push eax
lea eax, [ebp - 0x674]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wsopen_s]
add esp, 0x14
test eax, eax
jne 0x1001e8c4
push eax
push eax
push dword [ebp - 0x674]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x200
push eax
push dword [ebp - 0x674]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov cx, word [ebp - 0x280]
add esp, 0xc
xor eax, eax
nop dword [eax]
cmp cx, word [eax*2 + 0x100cafd8]
je 0x1001e7ed
inc eax
cmp eax, 7
jl 0x1001e7d0
push dword [ebp - 0x674]
call ebx
jmp 0x1001e8c1
push dword [eax*4 + 0x100c6be0]
lea eax, [ebp - 0x18]
push 0xa
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x690], 0
cmp byte [ebp - 0x3b4], 0
lea eax, [ebp - 0x688]
xorps xmm0, xmm0
mov dword [ebp - 0x68c], eax
movq qword [ebp - 0x688], xmm0
jne 0x1001e830
mov edi, 0x100c4050
jmp 0x1001e889
lea ecx, [ebp - 0x3b4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e840
sub ecx, edx
lea esi, [ecx + 2]
lea esi, [ecx + esi*2]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
lea ecx, [ebp - 0x690]
mov edi, eax
push edi
call fcn.10001a50
push 0
shr esi, 1
lea eax, [ebp - 0x3b4]
push esi
push edi
push 0xffffffffffffffff
push eax
push 0x551
push 0
call dword [sym.imp.HncFoundation.dll_HncAnsiToUnicode]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x644]
push eax
push edi
push str._s_s__s_r_n
push dword [ebp - 0x67c]
call fcn.10001510
add esp, 0x14
lea ecx, [ebp - 0x690]
call fcn.10001a00
push dword [ebp - 0x674]
call ebx
mov edi, dword [ebp - 0x680]
add esp, 4
lea eax, [ebp - 0x670]
push eax
push edi
call dword [sym.imp.HncFoundation.dll_HncFindNextFile]
test eax, eax
jne 0x1001e730
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be194
mov esp, ebp
pop ebp
ret