Function at 0x102ffdf0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x154
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x150], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x50]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_strrchr
add esp, 8
test eax, eax
je 0x102ffe66
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], 0
sub eax, ecx
mov dword [esp + 0x34], 0xf
push eax
mov eax, ecx
mov byte [esp + 0x24], 0
push eax
lea ecx, [esp + 0x28]
call fcn.10084d80
lea eax, [esp + 0x20]
mov esi, 1
xor ecx, ecx
jmp 0x102ffe84
xor esi, esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
lea eax, [esp + 0x38]
mov byte [esp + 0x38], 0
lea ecx, [esi + 2]
movups xmm0, xmmword [eax]
movups xmmword [esp + 8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [esp + 0x18], xmm0
mov byte [eax], 0
test ecx, ecx
je 0x102ffede
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
jb 0x102ffede
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x102ffed4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x102fff0a
push edx
push ecx
call fcn.1037dfe9
add esp, 8
test esi, esi
je 0x102fff1a
mov edx, dword [esp + 0x34]
cmp edx, 0x10
jb 0x102fff1a
mov ecx, dword [esp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x102fff10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x102fff10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1037dfe9
add esp, 8
push 0xb
push str.icudtl.dat
lea ecx, [esp + 0x10]
call fcn.10117c90
cmp dword [esp + 0x1c], 0x10
lea eax, [esp + 8]
jb 0x102fff41
mov eax, dword [esp + 8]
test eax, eax
je 0x103000ba
push 0x103b9a9c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x102fff74
push str.SkIcuLoader:_datafile_missing._n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.100b7f90
add esp, 8
jmp 0x103000ba
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
add esp, 4
test eax, eax
jns 0x102fffa7
push str.SkIcuLoader:_datafile_fileno_error._n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.100b7f90
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0xc
jmp 0x103000ba
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
add esp, 4
cmp eax, 0xffffffff
jne 0x102fffbd
push str.SkIcuLoader:_datafile_handle_error._n
jmp 0x102fff87
push edi
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x102ffffa
push str.SkIcuLoader:_datafile_mmap_error._n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.100b7f90
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0xc
jmp 0x103000b9
push ebx
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x1030003c
push str.SkIcuLoader:_datafile_view_error._n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.100b7f90
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x103000b8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push ebx
call fcn.1031f850
mov esi, dword [esp + 0x18]
add esp, 0xc
test esi, esi
je 0x10300081
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push esi
push str.udata_setCommonData___returned__d._n
push eax
call fcn.100b7f90
add esp, 0x10
jmp 0x103000b8
lea eax, [esp + 0xc]
push eax
push 1
call fcn.1031f8c0
mov esi, dword [esp + 0x14]
add esp, 8
test esi, esi
je 0x103000b1
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push esi
push str.udata_setFileAccess___returned__d._n
push eax
call fcn.100b7f90
add esp, 0x10
jmp 0x103000b8
mov byte [0x1044a4a0], 1
pop ebx
pop edi
mov edx, dword [esp + 0x1c]
cmp edx, 0x10
jb 0x103000f2
mov ecx, dword [esp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x103000e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x103000e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1037dfe9
add esp, 8
mov ecx, dword [esp + 0x154]
pop esi
xor ecx, esp
call fcn.1037e005
add esp, 0x154
ret