Function at 0x140001190
Capabilities:
Read file on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x208
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov rax, qword [0x140006198]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xb0], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x218]
mov rax, qword [rcx + rax]
mov qword [0x140006328], rax
lea r9, str.help
mov r8d, 9
mov rdx, qword [rsp + 0x218]
mov ecx, dword [rsp + 0x210]
call sub.icutu58.dll_u_parseArgs
mov dword [rsp + 0x210], eax
cmp dword [rsp + 0x210], 0
jge 0x140001277
mov eax, dword [rsp + 0x210]
neg eax
cdqe
mov qword [rsp + 0xd0], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x218]
mov rdx, qword [rsp + 0xd0]
mov r8, qword [rcx + rdx*8]
lea rdx, str.error_in_command_line_argument___s__n
mov rcx, rax
call fcn.140001140
mov ecx, 1
call fcn.1400010a0
mov eax, 0x28
imul rax, rax, 0
lea rcx, str.help
movsx eax, byte [rcx + rax + 0x22]
test eax, eax
jne 0x1400012a9
mov eax, 0x28
imul rax, rax, 1
lea rcx, str.help
movsx eax, byte [rcx + rax + 0x22]
test eax, eax
je 0x1400012b0
xor ecx, ecx
call fcn.1400010a0
mov eax, 0x28
imul rax, rax, 3
lea rcx, str.help
movsx eax, byte [rcx + rax + 0x22]
test eax, eax
je 0x1400012e2
mov eax, 0x28
imul rax, rax, 4
lea rcx, str.help
movsx eax, byte [rcx + rax + 0x22]
test eax, eax
jne 0x140001306
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.rule_file_and_output_file_must_both_be_specified._n
mov rcx, rax
call fcn.140001140
mov ecx, 1
call fcn.1400010a0
mov eax, 0x28
imul rax, rax, 3
lea rcx, str.help
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x70], rax
mov eax, 0x28
imul rax, rax, 4
lea rcx, str.help
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x80], rax
mov eax, 0x28
imul rax, rax, 5
lea rcx, str.help
movsx eax, byte [rcx + rax + 0x22]
test eax, eax
je 0x140001370
mov eax, 0x28
imul rax, rax, 5
lea rcx, str.help
mov rcx, qword [rcx + rax + 8]
call sub.icuuc58.dll_u_setDataDirectory_58
mov dword [rsp + 0x30], 0
mov eax, 0x28
imul rax, rax, 6
lea rcx, str.help
movsx eax, byte [rcx + rax + 0x22]
test eax, eax
je 0x1400013ae
mov eax, 0x28
imul rax, rax, 6
lea rcx, str.help
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xb8], rax
mov eax, 0x28
imul rax, rax, 7
lea rcx, str.help
movsx eax, byte [rcx + rax + 0x22]
test eax, eax
je 0x1400013d6
lea rax, str._Copyright__C__2016_and_later:_Unicode__Inc._and_others._License__terms_of_use:_http:__www.unicode.org_copyright.html
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x30]
call sub.icuuc58.dll_u_init_58
mov ecx, dword [rsp + 0x30]
call fcn.140001060
movsx eax, al
test eax, eax
je 0x140001456
mov ecx, dword [rsp + 0x30]
call sub.icuuc58.dll_u_errorName_58
mov qword [rsp + 0xd8], rax
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + 0xe0], rcx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0xd8]
mov r9, rcx
mov rcx, qword [rsp + 0x218]
mov rdx, qword [rsp + 0xe0]
mov r8, qword [rcx + rdx]
lea rdx, str._s:_can_not_initialize_ICU.__status___s_n
mov rcx, rax
call fcn.140001140
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [rsp + 0x30], 0
lea rdx, [0x140003854]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400014a7
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x70]
lea rdx, str.Could_not_open_file___s__n
mov rcx, rax
call fcn.140001140
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rsp + 0x34], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov eax, dword [rsp + 0x34]
add eax, 0xa
cdqe
mov rcx, rax
call fcn.140001c68
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x58], rax
movsxd rax, dword [rsp + 0x34]
mov r9, qword [rsp + 0x40]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x6c], eax
je 0x140001554
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x70]
lea rdx, str.Error_reading_file___s__n
mov rcx, rax
call fcn.140001140
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
call sub.icuuc58.dll_ucnv_detectUnicodeSignature_58
mov qword [rsp + 0xa0], rax
mov ecx, dword [rsp + 0x30]
call fcn.140001060
movsx eax, al
test eax, eax
je 0x1400015b1
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp qword [rsp + 0xa0], 0
je 0x1400015e1
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
call sub.icuuc58.dll_ucnv_open_58
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x30]
call fcn.140001060
movsx eax, al
test eax, eax
je 0x140001648
mov ecx, dword [rsp + 0x30]
call sub.icuuc58.dll_u_errorName_58
mov qword [rsp + 0xf0], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0xf0]
mov r8, rcx
lea rdx, str.ucnv_open:_ICU_Error___s__n
mov rcx, rax
call fcn.140001140
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call sub.icuuc58.dll_ucnv_toUChars_58
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x30], 0xf
je 0x1400016b9
mov ecx, dword [rsp + 0x30]
call sub.icuuc58.dll_u_errorName_58
mov qword [rsp + 0xf8], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0xf8]
mov r8, rcx
lea rdx, str.ucnv_toUChars:_ICU_Error___s__n
mov rcx, rax
call fcn.140001140
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
mov qword [rsp + 0x100], rax
mov eax, 2
mov rcx, qword [rsp + 0x100]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140001c68
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x38]
inc eax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x50]
mov r8d, eax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
call sub.icuuc58.dll_ucnv_toUChars_58
mov ecx, dword [rsp + 0x30]
call fcn.140001060
movsx eax, al
test eax, eax
je 0x14000178e
mov ecx, dword [rsp + 0x30]
call sub.icuuc58.dll_u_errorName_58
mov qword [rsp + 0x110], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x110]
mov r8, rcx
lea rdx, str.ucnv_toUChars:_ICU_Error___s__n
mov rcx, rax
call fcn.140001140
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rsp + 0x78]
call sub.icuuc58.dll_ucnv_close_58
mov r9d, dword [rsp + 0x38]
mov r8, qword [rsp + 0x98]
xor edx, edx
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.icuuc58.dll_public:_void___cdecl_icu_58::UnicodeString::constructor_signed_char__wchar_t_const____ptr64__int____ptr64]
nop
mov dword [rsp + 0x160], 0
mov dword [rsp + 0x164], 0
mov ecx, 0x1a8
call qword [sym.imp.icuuc58.dll_public:_static_void____ptr64___cdecl_icu_58::UMemory::operator_new_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140001822
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.icuuc58.dll_public:_void___cdecl_icu_58::RuleBasedBreakIterator::constructor_class_icu_58::UnicodeString_const____ptr64__struct_UParseError____ptr64__enum_UErrorCode____ptr64____ptr64]
mov rax, qword [rsp + 0x60]
lea rcx, vtable.icu_58::RuleBasedBreakIterator.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
jmp 0x14000182e
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x88], rax
mov ecx, dword [rsp + 0x30]
call fcn.140001060
movsx eax, al
test eax, eax
je 0x1400018b1
mov ecx, dword [rsp + 0x30]
call sub.icuuc58.dll_u_errorName_58
mov qword [rsp + 0x120], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, dword [rsp + 0x164]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x160]
mov rcx, qword [rsp + 0x120]
mov r8, rcx
lea rdx, str.createRuleBasedBreakIterator:_ICU_Error___s___at_line__d__column__d_n
mov rcx, rax
call fcn.140001140
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
lea rdx, [rsp + 0x4c]
mov rcx, qword [rsp + 0x88]
call qword [rax + 0xc0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
add rax, 4
mov r8d, 4
mov rdx, rax
lea rcx, [0x140006010]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x140006004]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call sub.icutu58.dll_udata_create
mov qword [rsp + 0xc8], rax
mov ecx, dword [rsp + 0x30]
call fcn.140001060
movsx eax, al
test eax, eax
je 0x14000198d
mov ecx, dword [rsp + 0x30]
call sub.icuuc58.dll_u_errorName_58
mov qword [rsp + 0x128], rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x128]
mov r9, rcx
mov r8, qword [rsp + 0x80]
lea rdx, str.genbrk:_Could_not_open_output_file___s_____s__n
mov rcx, rax
call fcn.140001140
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call sub.icutu58.dll_udata_writeBlock
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xc8]
call sub.icutu58.dll_udata_finish
mov eax, eax
mov qword [rsp + 0x130], rax
mov ecx, dword [rsp + 0x30]
call fcn.140001060
movsx eax, al
test eax, eax
je 0x1400019fc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, dword [rsp + 0x30]
lea rdx, str.genbrk:_error__d_writing_the_output_file_n
mov rcx, rax
call fcn.140001140
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [rsp + 0x4c]
cmp qword [rsp + 0x130], rax
je 0x140001a37
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x80]
lea rdx, str.Error_writing_to_output_file___s__n
mov rcx, rax
call fcn.140001140
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x140001a86
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x90]
call qword [rax]
mov qword [rsp + 0x140], rax
jmp 0x140001a92
mov qword [rsp + 0x140], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x148]
call fcn.140001c70
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.140001c70
call sub.icuuc58.dll_u_cleanup_58
mov eax, 0x28
imul rax, rax, 8
lea rcx, str.help
movsx eax, byte [rcx + rax + 0x22]
test eax, eax
jne 0x140001af3
lea rcx, str.genbrk:_tool_completed_successfully._n
call fcn.140001b30
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.icuuc58.dll_public_virtual:_void___cdecl_icu_58::UnicodeString::destructor_void____ptr64]
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140001d10
add rsp, 0x208
ret