Function at 0x180067940
Capabilities:
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 - 0x20]
sub rsp, 0x120
mov rax, qword [0x1800c37a8]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, qword [rbp + 0x80]
mov r12, rdx
mov ebx, dword [rsp + 0x30]
lea edx, [rcx + 0x490]
mov qword [rbp - 0x78], r9
mov r11, r9
mov qword [rsp + 0x60], r8
mov r9, r8
mov dword [rsp + 0x58], ecx
mov r13d, ecx
mov qword [rbp - 0x70], rsi
mov dword [rsp + 0x48], edx
cmp ecx, edx
jae 0x180067bdc
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x30]
mov r10, qword [0x1800c58a0]
lea r8, [0x180000000]
cmp r13d, 0x1b8
ja 0x1800680d8
je 0x180067cde
lea eax, [r13 - 0x94]
cmp eax, 0xea
ja case.0x1800679f5.159
movzx eax, byte [r8 + rax + 0x68244]
mov ecx, dword [r8 + rax*4 + 0x68214]
add rcx, r8
jmp rcx
mov edx, 0x11a
lea rcx, [rbp - 0x60]
call fcn.180098e90
jmp 0x1800681ce
mov edi, pe_nt_image_headers64
cmp edi, 0x110
je 0x180067a68
cmp edi, 0xc050
je 0x180067a5e
cmp edi, 0x17f90
je 0x180067a54
cmp edi, 0x23ed0
jne 0x180067a7c
mov rcx, qword [rbp - 0x80]
mov edx, 0x61
call fcn.18002b5c0
test eax, eax
je 0x180067a8c
mov rax, qword [rsp + 0x68]
mov byte [rax], reloc.SHELL32.dll_PathMakeUniqueName
inc rax
jmp 0x180067a77
mov rax, qword [rsp + 0x68]
mov byte [rax], 0
jmp 0x180067a7c
cmp qword [rsp + 0x68], 0
je 0x180067a94
jmp 0x180067a7c
mov rcx, qword [rsp + 0x68]
mov edx, reloc.SHELL32.dll_PathMakeUniqueName
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x68], rax
add edi, 0xbf40
cmp edi, 0x2fd00
jbe 0x180067a15
jmp case.0x1800679f5.158
mov dword [rsp + 0x78], 0
mov r13d, 0x17e
jmp 0x1800681ce
mov dword [0x1800c58b0], 0
jmp case.0x1800679f5.159
xor r10d, r10d
mov dword [0x1800c5898], 0
mov qword [0x1800c58a0], r10
jmp case.0x1800679f5.159
mov eax, dword [r12]
cmp dword [0x1800c5898], eax
je 0x180067b68
mov edi, 0x27
nop dword [rax]
cmp edi, 0x27
je 0x180067b0c
cmp edi, 0x1221
jne 0x180067b56
test r10, r10
je 0x180068207
mov eax, dword [r12]
mov dword [0x1800c5898], eax
mov dword [0x1800c58ac], 0
jmp 0x180067b56
test r10, r10
je 0x180067b1f
mov rcx, r10
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r9, qword [rsp + 0x60]
mov eax, dword [r12]
lea r8, [rsp + 0x58]
neg eax
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
xor edx, edx
mov eax, dword [r9]
mov r9d, 0xc2
mov dword [rsp + 0x58], eax
call fcn.180006800
mov r9, qword [rsp + 0x60]
mov r10, rax
mov qword [0x1800c58a0], rax
add edi, 0x11fa
cmp edi, 0x23f4
jbe 0x180067ae0
mov r8d, dword [r12]
mov eax, 0x2710
mov r9d, dword [rsi]
cdq
idiv dword [0x1800c3afc]
mov ecx, eax
lea eax, [r8 - 1]
cdq
idiv ecx
mov r14d, eax
mov eax, r9d
and r14d, 3
and eax, 0xfffffff8
add r14d, r14d
and r9d, 7
or r14d, eax
shl r14d, 2
or r14d, r9d
jmp 0x1800681d5
mov rax, qword [r12]
lea r9, [rsp + 0x70]
mov r8, r11
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x60]
mov ecx, 0x37
call fcn.1800697c0
test eax, eax
jne 0x180067c20
mov ecx, 0x48
nop
mov eax, ecx
sub eax, 0x48
je 0x180067c05
cmp eax, 1
jne 0x180067c19
mov eax, ebx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1800a1820
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
inc ecx
cmp ecx, 0x4a
jb 0x180067bd0
xor r9d, r9d
lea rdx, [rbp - 0x60]
mov r8d, 0xc7
mov rcx, rsi
call fcn.180072a70
jmp 0x1800681ce
mov dword [0x1800c58a8], 0
mov dword [0x1800c58ac], 0
jmp case.0x1800679f5.159
mov rcx, r9
mov dword [rsp + 0x78], 1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rbp - 0x80], rax
jmp 0x1800681ce
mov rcx, qword [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180067c80
dec rax
add rax, rcx
cmp rax, rcx
jb 0x180067ca4
cmp byte [rax], 0x2f
jne 0x180067ca4
mov byte [rax], 0
dec rax
cmp rax, rcx
jae 0x180067c94
cmp byte [rcx], 0x2f
mov rax, rcx
mov qword [rsp + 0x68], rcx
jne case.0x1800679f5.159
inc rax
cmp byte [rax], 0x2f
je 0x180067cb5
mov qword [rsp + 0x68], rax
jmp case.0x1800679f5.159
cmp qword [rbp - 0x80], 0
jne case.0x1800679f5.159
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp dword [r11], 0
lea r15d, [r14 - 1]
mov edi, dword [rsi]
mov dword [rsp + 0x50], edi
jle case.0x1800679f5.159
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r12]
mov eax, 0x2710
cdq
idiv dword [0x1800c3afc]
mov ecx, eax
lea eax, [r8 - 1]
cdq
idiv ecx
mov ecx, edi
and ecx, 0xfffffff8
mov r13d, eax
and r13d, 3
add r13d, r13d
or r13d, ecx
mov ecx, edi
and ecx, 7
shl r13d, 2
or r13d, ecx
mov ecx, dword [0x1800c3b2c]
cmp ecx, 1
jne 0x180067d50
mov eax, r13d
sub eax, r15d
cmp eax, ecx
je 0x1800680b8
cmp dword [0x1800c3b28], 0
je 0x180067dca
mov r8, qword [str.date.tbl]
lea r9, str.SV_TARGET2
mov dword [rsp + 0x28], r15d
lea rdx, str.Unable_to_load_Lambert_effect_for_material__s
mov rcx, r10
mov dword [rsp + 0x20], r14d
call fcn.1800a0de0
mov r8, qword [str.rtlLanguage:]
lea r9, str.start_time
mov rcx, qword [0x1800c58a0]
lea rdx, str.Runtimes::CxxILReader________cilReader__0
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
call fcn.1800a0de0
mov rcx, qword [0x1800c58a0]
lea rdx, str.V466_b_strong
call fcn.1800a0de0
mov r10, qword [0x1800c58a0]
jmp 0x1800680ac
test ecx, ecx
je 0x180067e9a
mov edi, 0xb8
cmp edi, 0xb8
je 0x180067e3e
cmp edi, 0xa10
jne 0x180067e83
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov r8d, 0xc0
mov qword [rsp + 0x20], r10
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x30], r15d
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x40], 2
call fcn.1800786e0
mov rcx, qword [0x1800c58a0]
lea rdx, [0x1800a54bc]
call fcn.1800a0de0
jmp 0x180067e7c
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov r8d, 0xc0
mov qword [rsp + 0x20], r10
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 2
call fcn.1800786e0
mov r10, qword [0x1800c58a0]
add edi, 0x958
cmp edi, 0x12b0
jbe 0x180067dd7
jmp 0x1800680a8
mov esi, 0x39
nop
mov eax, esi
sub eax, 0x38
je 0x18006807e
cmp eax, 1
jne 0x18006809d
mov ecx, dword [0x1800c3b50]
test ecx, ecx
je 0x18006803e
cmp dword [0x1800c58a8], 0
jne 0x180067edf
mov eax, dword [r11]
cdq
idiv ecx
inc eax
mov dword [0x1800c58b0], edx
mov dword [0x1800c58a8], eax
mov eax, dword [0x1800c58b0]
cmp dword [0x1800c3b5c], eax
mov eax, dword [0x1800c58ac]
jg 0x180067f92
inc eax
cmp eax, dword [0x1800c58a8]
mov dword [0x1800c58ac], eax
jle 0x18006803e
mov r14, qword [rsp + 0x60]
mov edi, 0x115
cmp edi, 0x115
je 0x180067f3b
cmp edi, 0x1da
jne 0x180067f7f
mov eax, dword [r12]
mov dword [0x1800c5898], eax
mov dword [0x1800c58ac], 1
jmp 0x180067f7f
mov rcx, r10
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [r12]
lea r8, [rsp + 0x30]
neg eax
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
mov r9d, 0xc2
mov eax, dword [r14]
xor edx, edx
mov dword [rsp + 0x30], eax
call fcn.180006800
mov qword [0x1800c58a0], rax
mov r10, rax
test rax, rax
je 0x180068207
add edi, 0xc5
cmp edi, 0x29f
jb 0x180067f15
jmp 0x18006803e
inc eax
cmp eax, dword [0x1800c58a8]
mov dword [0x1800c58ac], eax
jl 0x18006803e
mov edi, 0x90
nop dword [rax + rax]
mov eax, edi
sub eax, 0x8e
je 0x180068026
sub eax, 1
je 0x180067fda
cmp eax, 1
jne 0x180068030
mov rcx, r10
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r10, qword [0x1800c58a0]
mov r9, qword [rsp + 0x60]
jmp 0x180068030
mov eax, dword [r12]
lea r8, [rsp + 0x30]
neg eax
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
xor edx, edx
mov eax, dword [r9]
mov r9d, 0xc2
mov dword [rsp + 0x30], eax
call fcn.180006800
mov qword [0x1800c58a0], rax
mov r10, rax
test rax, rax
je 0x180068207
mov eax, dword [r12]
mov r9, qword [rsp + 0x60]
mov dword [0x1800c5898], eax
jmp 0x180068030
mov dword [0x1800c58ac], 1
dec edi
cmp edi, 0x8d
ja 0x180067fb0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0xffffffff
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov r8d, 0xc0
mov qword [rsp + 0x20], r10
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x40], r13d
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 4
call fcn.1800786e0
jmp 0x18006808d
lea rdx, [0x1800a54bc]
mov rcx, r10
call fcn.1800a0de0
mov r11, qword [rbp - 0x78]
mov r9, qword [rsp + 0x60]
mov r10, qword [0x1800c58a0]
dec esi
cmp esi, 0x37
ja 0x180067ea0
mov edi, dword [rsp + 0x50]
mov r9, qword [rsp + 0x60]
mov r14d, r13d
mov r11, qword [rbp - 0x78]
dec dword [r11]
inc edi
cmp dword [r11], 0
mov r15d, r13d
mov dword [rsp + 0x50], edi
jg 0x180067d00
mov r13d, dword [rsp + 0x58]
jmp 0x1800681d5
mov eax, r13d
sub eax, 0x1c7
je 0x1800681c4
sub eax, 0x3a
je 0x180068107
sub eax, 0xf
je 0x1800680fe
cmp eax, 0x49
je 0x180067bdc
jmp case.0x1800679f5.159
mov ebx, dword [rsp + 0x78]
jmp case.0x1800679f5.159
mov esi, 0xd4
nop dword [rax]
mov eax, esi
sub eax, 0xd4
je 0x180068133
sub eax, 1
je 0x18006812c
cmp eax, 1
je 0x180067bdc
jmp 0x1800681b6
xor ebx, ebx
jmp 0x1800681b6
cmp dword [0x1800c3b2c], 0
je 0x1800681b6
mov edi, 0x5e
mov eax, edi
sub eax, 0x5e
je 0x18006816a
sub eax, 1
je 0x180068163
cmp eax, 1
jne 0x1800681af
lea rdx, [0x1800a54bc]
mov rcx, r10
call fcn.1800a0de0
jmp 0x1800681a8
mov dword [rsp + 0x40], r15d
jmp 0x18006816f
mov dword [rsp + 0x40], r14d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov r8d, 0xc0
mov qword [rsp + 0x20], r10
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x30], 2
lea rcx, [rsp + 0x40]
call fcn.1800786e0
mov r10, qword [0x1800c58a0]
inc edi
cmp edi, 0x61
jb 0x180068141
inc esi
cmp esi, 0xd7
jb 0x180068110
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r10, qword [0x1800c58a0]
mov edx, dword [rsp + 0x48]
add r13d, 0x49
mov dword [rsp + 0x58], r13d
cmp r13d, edx
jae 0x180067bdc
mov r9, qword [rsp + 0x60]
mov r11, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x70]
jmp 0x1800679b5
mov eax, 1
jmp 0x180067bde
mov eax, 0xffffffff
jmp 0x180067bde