Function at 0x180009120
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x18002e518]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x58], rdx
mov rsi, qword [rbp + 0xa0]
mov qword [rsp + 0x48], rsi
lea eax, [rcx + 0xe]
mov dword [rsp + 0x30], eax
cmp ecx, eax
jae 0x18000954e
lea r15d, [rcx - 0x50]
mov dword [rsp + 0x40], r15d
mov ebx, r15d
mov edi, ILRemoveLastID
lea rcx, [0x180000000]
lea edx, [rdi + 0x61]
xor esi, esi
lea r8d, [rdi + 0x55]
lea r11d, [rdi + 0x24]
lea r9d, [rdi + 0x38]
mov r10d, 0x4944
lea r12d, [rdi + 0x66]
lea r13d, [rdi + 0x20]
lea r15d, [rdi + 0x57]
nop
cmp ebx, 0x14
ja case.default.0x1800091cc
mov eax, ebx
mov ecx, dword [rcx + rax*4 + 0x97f8]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov dword [rbp - 0x64], 0x63006f
jmp case.0x1800091cc.7
mov dword [rbp - 0x28], 0x320033
mov word [rbp - 0x24], r13w
mov dword [rbp - 0x22], 0x6c0064
jmp case.0x1800091cc.7
mov dword [rbp - 0x77], 0x4153575f
mov word [rbp - 0x73], r9w
mov word [rbp - 0x72], r10w
mov dword [rbp - 0x70], 0x655373
jmp case.0x1800091cc.7
mov r8d, 6
lea rdx, str.perfmo
lea rcx, [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r8d, 5
lea rdx, str.n.exe
lea rcx, [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov dword [rbp - 0x68], 0x720070
mov edx, 0x6f
lea r8d, [rdx - 0xc]
lea r9d, [rdx - 0x29]
mov r10d, 0x4944
lea r11d, [rdx - 0x3d]
jmp case.0x1800091cc.7
mov eax, 0x5f
mov word [rbp - 0x78], ax
jmp case.0x1800091cc.7
mov dword [rbp - 0x60], 0x780065
mov word [rbp - 0x5c], si
jmp case.0x1800091cc.7
mov dword [rbp - 0x1e], 0x6c
mov byte [rbp - 0x80], 0x73
jmp case.0x1800091cc.7
mov byte [rbp - 0x7f], 0
mov r8d, 3
lea rdx, [0x1800294db]
lea rcx, [rbp - 0x7f]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x180009244
movsd xmm0, qword [0x18002951c]
movsd qword [rbp + 0xa], xmm0
movzx eax, word [0x180029524]
mov word [rbp + 0x12], ax
mov word [rbp + 0x14], r15w
jmp case.0x1800091cc.7
movsd xmm0, qword [0x18002955e]
movsd qword [rbp], xmm0
movzx eax, word [0x180029566]
mov word [rbp + 8], ax
mov word [rbp + 0xa], si
jmp case.0x1800091cc.7
mov eax, dword [0x180029604]
mov dword [rbp - 0x5c], eax
movzx eax, word [0x180029608]
mov word [rbp - 0x58], ax
mov dword [rbp - 0x56], 0x78
jmp case.0x1800091cc.7
xor ecx, ecx
mov word [rbp + 0x16], cx
mov word [rbp + 0x18], cx
xor esi, esi
jmp case.0x1800091cc.7
mov word [rbp - 0x7c], 0x63
jmp case.0x1800091cc.7
mov word [rbp - 0x6d], r12w
mov dword [rbp - 0x30], 0x730077
mov dword [rbp - 0x2c], 0x5f0032
lea rcx, [0x180000000]
inc ebx
sub rdi, 1
jne 0x1800091b0
lea r8d, [rdi + 0x70]
lea r10d, [rdi + 0x36]
lea r9d, [rdi + 0x72]
lea r11d, [rdi + 0x77]
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov r15d, dword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
nop dword [rax + rax]
cmp r15d, 0x14
ja case.default.0x18000939e
mov eax, r15d
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x984c]
add rcx, rdx
jmp rcx
xor eax, eax
mov word [rbp - 0x36], ax
jmp case.0x18000939e.7
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], ax
lea rax, [rbp - 0x68]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800093d0
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.180017160
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x180009418
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov eax, 7
xor ecx, ecx
mov word [rsp + 0x60], cx
add qword [rsi + 8], 0x20
jmp 0x18000942a
lea r8, [rsp + 0x60]
mov rcx, rsi
call fcn.180001780
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x180009467
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009462
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800097e7
call fcn.180024bbc
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], ax
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180009490
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.180017160
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x1800094d8
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
xor eax, eax
mov word [rsp + 0x60], ax
add qword [rsi + 8], 0x20
jmp 0x1800094ea
lea r8, [rsp + 0x60]
mov rcx, rsi
call fcn.180001780
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180009527
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x180009522
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800097e7
call fcn.180024bbc
mov r8d, 0x70
mov r11d, 0x77
lea r10d, [r11 - 0x41]
lea r9d, [r11 - 5]
mov ecx, dword [rsp + 0x30]
inc r15d
lea eax, [r15 + 0x50]
cmp eax, ecx
jb 0x180009380
mov rax, qword [rsp + 0x38]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1800250d0
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x48], 0x780065
mov dword [rbp - 0x44], 0x360070
jmp case.0x18000939e.7
mov eax, 0x33
mov word [rbp - 0x10], ax
mov dword [rbp - 0xe], 0x2e0032
jmp case.0x18000939e.7
mov r8d, 1
lea rdx, [0x180029642]
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r8d, 0x70
mov word [rbp - 0x50], r8w
jmp 0x18000952d
mov word [rbp - 0x4e], r9w
mov dword [rbp - 0x4c], 0x63006f
jmp case.0x18000939e.7
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], ax
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800095f4
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.180017160
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x18000963c
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov eax, 7
xor ecx, ecx
mov word [rsp + 0x60], cx
add qword [rsi + 8], 0x20
jmp 0x18000964e
lea r8, [rsp + 0x60]
mov rcx, rsi
call fcn.180001780
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x18000968b
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009686
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800097e7
call fcn.180024bbc
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], ax
lea rax, [rbp + 0x18]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800096b0
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x60]
call fcn.180017160
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x1800096f8
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
xor eax, eax
mov word [rsp + 0x60], ax
add qword [rsi + 8], 0x20
jmp 0x18000970a
lea r8, [rsp + 0x60]
mov rcx, rsi
call fcn.180001780
mov rdx, qword [rsp + 0x78]
jmp 0x1800094ea
mov dword [rbp - 0x40], 0x2e0034
mov eax, 0x65
mov word [rbp - 0x3c], ax
mov dword [rbp - 0x3a], 0x650078
jmp case.0x18000939e.7
mov word [rbp - 0x18], r11w
mov dword [rbp - 0x16], 0x320073
mov eax, 0x5f
mov word [rbp - 0x12], ax
jmp case.0x18000939e.7
mov dword [rbp - 0xa], 0x6c0064
mov dword [rbp - 6], 0x6c
jmp case.0x18000939e.7
cmp rbx, qword [r14]
jae case.0x18000939e.7
mov ecx, dword [rsi]
inc ecx
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
call rdi
movsxd rcx, dword [rsi]
mov rdx, r13
call r12
test eax, eax
je 0x1800097a0
mov r8d, dword [r14]
sub r8d, ebx
mov rdx, qword [rsp + 0x38]
add rdx, rbx
mov ecx, dword [rsi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
add rbx, rcx
cmp rbx, qword [r14]
jb 0x180009761
jmp 0x180009527
lea r8, [rbp - 0x78]
mov ebx, 0x65
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.180003f80
mov r12, rax
lea r8, [rbp - 0x80]
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.180003f80
mov rdi, rax
xor eax, eax
mov ebx, eax
jmp 0x180009527
mov word [rbp - 0x7b], 0x74
jmp case.0x18000939e.7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rbx
jmp 0x180009553