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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x18008b088]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rsi, qword [rbp + 0x290]
lea ebx, [rcx + 0x39c]
mov qword [rsp + 0x58], r8
mov rax, r9
mov qword [rsp + 0x48], rax
mov r12, r8
mov dword [rsp + 0x40], ebx
mov rdi, rdx
mov r13d, ecx
cmp ecx, ebx
jae 0x18003b41a
mov r15d, dword [rsp + 0x48]
lea rdx, [0x180000000]
mov r14, qword [rsp + 0x58]
xor ebx, ebx
mov ecx, dword [rsp + 0x40]
nop word [rax + rax]
cmp r13d, 0xbc
ja 0x18003b4fd
je 0x18003b449
cmp r13d, 0x3d
jne 0x18003b80f
mov rax, qword [rdi]
lea r8d, [r13 + 0x22]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 2
call fcn.180047420
cmp al, 2
je 0x18003b415
test al, al
je 0x18003b95c
mov rax, qword [rdi]
lea rdx, [rsp + 0x48]
mov r8d, 0x5f
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 2
call fcn.180047420
cmp al, 2
jne 0x18003b3e4
mov byte [rsp + 0x48], 1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.18006d4c0
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rsi], rbx
jne 0x18003b472
mov qword [rsi], 0xfa0
mov qword [rax], rbx
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi], rax
test rax, rax
je 0x18003b821
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
mov r9, r12
mov r8, qword [rsi]
mov edx, 1
sub r8, rcx
add rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x48]
add qword [rcx], rax
mov rdx, qword [rsi]
cmp qword [rcx], rdx
jne 0x18003b4b7
add rdx, rdx
mov qword [rsi], rdx
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rdi], rax
test rax, rax
je 0x18003b847
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
jne 0x18003b86d
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
mov rax, qword [rsp + 0x48]
je 0x18003b472
mov rdx, rax
mov rdx, qword [rax]
test rdx, rdx
je 0x18003b41a
mov qword [rsi], rdx
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rdi], rax
jmp 0x18003b7ff
cmp r13d, 0x227
ja 0x18003b7a6
je 0x18003b70a
lea eax, [r13 - 0xe7]
cmp eax, 0xfe
ja case.default.0x18003b534
movzx eax, byte [rdx + rax + 0x3bbd8]
mov ecx, dword [rdx + rax*4 + 0x3bbac]
add rcx, rdx
jmp rcx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18003b95c
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
jmp case.0x18003b534.241
mov r8d, 0x40
lea rdx, [rbp - 0x70]
xor ecx, ecx
call fcn.180014da0
mov r9, qword [0x18008b278]
lea r8, [rbp - 0x70]
add r9, 8
lea rdx, [rbp + 0xc0]
mov ecx, 0x104
call fcn.1800644a0
jmp 0x18003b7ff
xor r9d, r9d
lea rcx, [rbp + 0x200]
xor r8d, r8d
lea edx, [r9 + 0x4c]
call fcn.18005be00
jmp 0x18003b7ff
mov rax, qword [0x18008b278]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 0x80], xmm1
jmp case.0x18003b534.241
mov rcx, qword [0x18008b278]
lea r9, [rbp + 0x200]
xor r8d, r8d
movups xmm0, xmmword [rcx + 0x30]
lea edx, [r8 + 0x19]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rcx + 0x40]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rcx + 0x50]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rcx + 0x60]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rcx + 0x70]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rcx + 0x80]
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [rcx + 0x90]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rcx + 0xa0]
movaps xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rcx + 0xb0]
movaps xmmword [rbp + 0x30], xmm0
mov eax, dword [rcx + 0xc0]
add rcx, 8
mov dword [rbp + 0x40], eax
call fcn.18004e300
jmp 0x18003b7ff
mov r8, qword [rsi]
cmp r8, 2
jb case.default.0x18003b89e
cmp byte [rdi], 0xff
jne 0x18003b660
movzx eax, byte [rdi + 1]
test al, al
jne 0x18003b886
nop dword [rax]
mov r12d, 0x1b
mov eax, r12d
sub eax, 0x19
je 0x18003b6c3
sub eax, 1
je 0x18003b6bb
cmp eax, 1
jne 0x18003b6cc
cmp byte [rdi], 0xff
jne 0x18003b698
nop dword [rax]
cmp byte [rdi + 1], bl
jne 0x18003b698
add qword [rsi], 0xfffffffffffffffe
add rdi, 2
cmp qword [rsi], 2
jb case.default.0x18003b89e
cmp byte [rdi], 0xff
je 0x18003b680
mov r8, qword [rsi]
mov edx, 0xff
dec r8
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
jne 0x18003b6cc
mov rax, rbx
jmp 0x18003b41f
mov r15d, r14d
sub r15d, edi
jmp 0x18003b6cc
mov eax, r15d
add rdi, rax
sub qword [rsi], rax
dec r12d
cmp r12d, 0x18
ja 0x18003b666
cmp byte [rdi + 1], bl
je 0x18003b660
mov r12, qword [rsp + 0x58]
jmp 0x18003b7ff
mov eax, 0x32
nop dword [rax]
cmp eax, 0x32
je 0x18003b94a
add eax, 0x15ae
cmp eax, 0x15ae
jbe 0x18003b6f0
jmp case.0x18003b534.241
mov r8, qword [0x18008b278]
lea rdx, [rsp + 0x70]
add r8, 0x10
mov ecx, 0x2e
call fcn.1800219a0
test eax, eax
jne 0x18003bb3e
mov r9, qword [0x18008b278]
lea r8, [rbp - 0x70]
add r9, 8
lea rdx, [rbp + 0x160]
mov ecx, 0x104
call fcn.1800644a0
lea r9, [rbp + 0xc0]
xor edx, edx
mov r8d, 0xe3
lea rcx, [rbp + 0x160]
call fcn.1800352b0
test eax, eax
je 0x18003b7ff
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r9d, r9d
lea r8, [0x180070fd1]
mov rcx, rax
lea rdx, str.nocheckbox
lea rax, str._IpcMessageHandlerClass::OnHostMsgSessionExpirationChange
mov qword [rsp + 0x20], rax
call fcn.18006ca50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
cmp r13d, 0x269
jne 0x18003b80f
mov rcx, qword [0x18008b278]
lea r9, [rbp - 0x50]
add rcx, 0x30
xor edx, edx
mov r8d, 0xe3
call fcn.1800352b0
test eax, eax
jne 0x18003bb75
lea r8d, [rax + 0x52]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xc0]
call fcn.180044410
mov r9d, 0xf5
lea r8, [rbp + 0x50]
xor edx, edx
lea rcx, [rbp + 0x160]
call fcn.18006b2b0
lea rdx, [0x180000000]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
add r13d, 0x42
cmp r13d, ecx
jb 0x18003b3a0
jmp 0x18003b41a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Check_failed:___view_area.y____1_.
call fcn.18006ca50
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.PBBBPPBBBBPBBBPPPBBzPPBBBzPBBBPPPBBz
call fcn.18006ca50
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.vim.fault.CannotDecryptPasswords
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x18003b89e
cdqe
mov ecx, dword [rdx + rax*4 + 0x3bcd8]
add rcx, rdx
jmp rcx
lea rax, [rdi + 2]
jmp 0x18003b41f
cmp r8, 6
jb case.default.0x18003b89e
lea rax, [rdi + 6]
jmp 0x18003b41f
cmp r8, 8
jb case.default.0x18003b89e
lea rax, [rdi + 8]
jmp 0x18003b41f
mov edx, 0x58
cmp edx, 0x58
je 0x18003b92a
cmp edx, 0x110
je 0x18003b8f8
cmp edx, 0x1c8
jne 0x18003b934
mov eax, r15d
add rax, 6
add rax, rdi
jmp 0x18003b41f
movzx eax, byte [rdi + 3]
lea rcx, [r8 - 6]
movzx r15d, byte [rdi + 2]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdi + 4]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdi + 5]
shl r15d, 8
or r15d, eax
mov eax, r15d
cmp rcx, rax
jmp 0x18003b92e
cmp r8, 6
jb case.default.0x18003b89e
add edx, 0xb8
cmp edx, 0x280
jb 0x18003b8d4
mov rax, rbx
jmp 0x18003b41f
mov r14, qword [rsp + 0x58]
mov rdx, r14
mov ecx, 0x10f
call fcn.1800254c0
mov byte [rsp + 0x48], bl
jmp 0x18003b41a
cmp qword [rsp + 0x68], rbx
jbe 0x18003b415
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x92
call fcn.18000bda0
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov r14, rax
mov qword [rsp + 0x58], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea ecx, [r9 + 0x1b]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x60]
call fcn.180021140
test al, al
je 0x18003b94f
movzx eax, byte [rsp + 0x50]
mov dword [r14], eax
movzx eax, byte [rsp + 0x50]
cmp al, 0x4c
jae 0x18003b9d4
mov ecx, eax
jmp 0x18003ba7d
jne 0x18003ba18
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x51]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
lea ecx, [r9 + 0x1b]
call fcn.180021140
test al, al
je 0x18003b94f
movzx ecx, byte [rsp + 0x51]
jmp 0x18003ba7d
cmp al, 0x4d
jne 0x18003ba42
lea r9, [rsp + 0x40]
mov r8d, 0x1d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call fcn.18002fea0
test al, al
je 0x18003b94f
movzx ecx, word [rsp + 0x40]
jmp 0x18003ba7d
xor r9d, r9d
cmp al, 0x4e
jne 0x18003bae2
lea rax, [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], rbx
lea edx, [r9 + 0x74]
mov qword [rsp + 0x20], rbx
call fcn.18000ebf0
test al, al
je 0x18003b94f
mov ecx, dword [rsp + 0x48]
mov edi, ecx
mov edx, ecx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rax
mov qword [r14 + 8], rax
call sub.VCRUNTIME140.dll_memcpy
xor r9d, r9d
mov qword [r14 + 0x10], rdi
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov edx, 0xd5
mov rcx, rsi
call fcn.180056dd0
mov r9d, 0xd0
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.180008f20
test al, al
je 0x18003b94f
jmp 0x18003baf7
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov edx, 0xd5
mov rcx, rsi
call fcn.180056dd0
cmp qword [rsp + 0x68], rbx
ja 0x18003b970
jmp 0x18003b415
mov rax, rdi
jmp 0x18003b41f
cmp qword [rdi], rbx
jne 0x18003b41a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._IpcMessageHandlerClass::OnCreateMessagePort
call fcn.18006ca50
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r9d, r9d
lea r8, [0x180070fd1]
mov rcx, rax
lea rdx, str.DBK_LMDRDR
lea rax, str.Image__d___irma_finalize_push__:__MPI_Put_error_stop_shared__failed_with__d
mov qword [rsp + 0x20], rax
call fcn.18006ca50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r9d, r9d
lea r8, [0x180070fd1]
mov rcx, rax
lea rdx, str.yakatakana
lea rax, str.Info__:_This_device_is_not_a_mass_storage_or_composite_device__so_delete_it.
mov qword [rsp + 0x20], rax
call fcn.18006ca50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3