Function at 0x140002664
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x300
mov rax, qword [0x140009110]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor ebx, ebx
mov r12d, ecx
mov rbp, rdx
lea rcx, [rsp + 0x62]
lea r8d, [rbx + 0x7e]
xor edx, edx
mov byte [rsp + 0x30], bl
mov word [rsp + 0x60], bx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xe0], bx
call sub.msvcrt.dll_memset
lea rcx, [0x1400014d8]
call fcn.140002d6c
lea edx, [rbx + 0x10]
lea rcx, [rsp + 0x38]
mov r14d, eax
lea r15, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLocaleName]
cmp eax, ebx
jne 0x14000270d
mov ecx, 0x2720
call fcn.140002fc8
or ecx, 0xffffffff
call qword [sym.imp.msvcrt.dll_exit]
int3
dec r12d
add rbp, 8
or rsi, 0xffffffffffffffff
movsxd r9, r12d
mov rdx, rbx
cmp r9, rbx
jle 0x14000276d
mov r8, qword [rbp + rdx*8]
xor eax, eax
mov rcx, rsi
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 2
jne 0x140002765
cmp word [r8], 0x2d
je 0x14000274d
cmp word [r8], 0x2f
jne 0x140002765
cmp word [r8 + 2], 0x68
je 0x1400027eb
cmp word [r8 + 2], 0x3f
je 0x1400027eb
inc rdx
cmp rdx, r9
jl 0x140002723
mov r13d, 0x104
cmp r12d, 1
jle 0x14000295d
mov rcx, qword [rbp]
cmp word [rcx], 0x2d
jne 0x140002959
lea rdx, [0x1400016c8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
je 0x14000293a
mov rcx, qword [rbp]
lea rdx, [0x1400016d8]
add rcx, 2
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
jne 0x1400027fe
add rbp, 8
xor edx, edx
dec r12d
mov r15, qword [rbp]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
cmp ax, bx
jne 0x14000293a
mov ecx, 0x2721
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
mov ecx, 0x2774
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
mov rcx, qword [rbp]
lea rdx, [0x1400016e8]
add rcx, 2
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
jne 0x140002855
dec r12d
add rbp, 8
cmp r12d, ebx
je 0x140002839
mov rcx, qword [rbp]
cmp rcx, rbx
je 0x140002839
cmp word [rcx], bx
je 0x140002839
call fcn.140002d6c
mov r14d, eax
cmp r14d, ebx
jne 0x14000293a
mov ecx, 0x2722
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
mov rcx, qword [rbp]
lea rdx, [0x1400016f8]
add rcx, 2
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
jne 0x140002878
mov byte [rsp + 0x30], 1
jmp 0x14000293a
mov rcx, qword [rbp]
lea rdx, [0x140001708]
add rcx, 2
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
jne 0x1400028d2
add rbp, 8
lea rax, [rsp + 0x60]
dec r12d
mov rdi, qword [rbp]
mov edx, 0x40
lea rcx, [rsp + 0x60]
sub rdi, rax
lea rax, [rdx + 0x7fffffbe]
cmp rax, rbx
je 0x14000292e
movzx eax, word [rdi + rcx]
cmp ax, bx
je 0x14000292e
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400028ae
jmp 0x14000292e
mov rcx, qword [rbp]
lea rdx, [0x140001718]
add rcx, 2
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
jne 0x140002946
add rbp, 8
lea rax, [rsp + 0xe0]
dec r12d
mov rdi, qword [rbp]
mov rdx, r13
lea rcx, [rsp + 0xe0]
sub rdi, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rbx
je 0x14000292e
movzx eax, word [rdi + rcx]
cmp ax, bx
je 0x14000292e
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000290c
cmp rdx, rbx
jne 0x140002937
sub rcx, 2
mov word [rcx], bx
add rbp, 8
dec r12d
jmp 0x140002773
mov ecx, 0x2723
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
cmp r12d, 1
je 0x140002972
mov ecx, 0x2774
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
mov r12, qword [rbp]
mov ebp, 0x2e
cmp word [rsp + 0xe0], bx
jne 0x1400029f6
lea rax, [rsp + 0xe0]
mov rdi, r12
mov rdx, r13
sub rdi, rax
lea rcx, [rsp + 0xe0]
lea rax, [rdx + 0x7ffffefa]
cmp rax, rbx
je 0x1400029c0
movzx eax, word [rdi + rcx]
cmp ax, bx
je 0x1400029c0
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000299e
cmp rdx, rbx
jne 0x1400029c9
sub rcx, 2
mov word [rcx], bx
lea rcx, [rsp + 0xe0]
mov edx, ebp
call qword [sym.imp.msvcrt.dll_wcsrchr]
lea rdx, [0x140001720]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
jne 0x1400029f6
mov word [rdi], bx
lea rcx, [rsp + 0xe0]
mov edx, ebp
call qword [sym.imp.msvcrt.dll_wcsrchr]
lea rbp, [0x140001730]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
je 0x140002ab8
mov rax, r13
lea rcx, [rsp + 0xe0]
mov edx, ebx
cmp word [rcx], bx
je 0x140002a3d
add rcx, 2
sub rax, 1
jne 0x140002a2e
cmp rax, rbx
jne 0x140002a4c
mov edx, 0x80070057
mov rcx, rbx
jmp 0x140002a52
mov rcx, r13
sub rcx, rax
cmp edx, ebx
jl 0x140002aa5
sub r13, rcx
lea rax, [rsp + rcx*2 + 0xe0]
mov edx, ebx
je 0x140002a95
lea rcx, [r13 + rcx + 0x7ffffefb]
sub rbp, rax
cmp rcx, rbx
je 0x140002a90
movzx edi, word [rax + rbp]
cmp di, bx
je 0x140002a90
dec r13
mov word [rax], di
dec rcx
add rax, 2
cmp r13, rbx
jne 0x140002a70
cmp r13, rbx
jne 0x140002a9e
sub rax, 2
mov edx, 0x8007007a
mov word [rax], bx
cmp edx, ebx
je 0x140002ab8
mov ecx, 0x2724
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
cmp r15, rbx
je 0x140002c12
cmp r14d, ebx
je 0x140002bff
cmp r12, rbx
je 0x140002bbc
cmp word [rsp + 0xe0], bx
je 0x140002bb7
mov bpl, byte [rsp + 0x30]
mov al, bpl
neg al
sbb ecx, ecx
neg ecx
add ecx, 0x2726
call fcn.140002fc8
xor eax, eax
lea rdi, [rsp + 0x60]
mov rcx, rsi
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x140002b1f
lea rdx, [rsp + 0x60]
mov ecx, 0x2728
call fcn.140002fc8
lea r9, [0x140009120]
mov eax, ebx
mov rcx, r9
cmp dword [rcx], r14d
je 0x140002b40
inc eax
add rcx, 0x10
cmp eax, 0x13
jb 0x140002b2b
mov r9, rbx
jmp 0x140002b48
add rax, rax
mov r9, qword [r9 + rax*8 + 8]
lea rdx, [rsp + 0xe0]
mov r8, r15
mov ecx, 0x2729
call fcn.140002fc8
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0xe0]
mov r8, r15
mov rcx, r12
mov byte [rsp + 0x28], bpl
mov dword [rsp + 0x20], r14d
call fcn.1400023e4
cmp eax, ebx
setl bl
mov eax, ebx
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140007e60
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp r12, rbx
jne 0x140002bcf
mov ecx, 0x271c
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
cmp word [rsp + 0xe0], bx
je 0x140002bec
mov ecx, 0x2725
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
mov ecx, 0x2774
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
mov ecx, 0x271b
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
mov ecx, 0x271a
call fcn.140002fc8
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3