Function at 0x140008b60
Capabilities:
Create directory
Execute command
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r15d, r15d
test ecx, ecx
je 0x140008bc7
lea rdx, str.Invalid_choice.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cbb0
lea rdx, [0x14000cd80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140009383
mov qword [rsp + 0x48], r15
lea r8, [rsp + 0x48]
lea rdx, [0x1400097e0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov edx, 0xfe
lea r8d, [rdx + 1]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
mov qword [rsp + 0x50], r15
lea r8, [rsp + 0x50]
lea rdx, [0x1400097e0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov rdx, rbx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov qword [rsp + 0x40], r15
lea r8, [rsp + 0x40]
lea rdx, [0x1400097e0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14000d260
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400093e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], select
mov byte [rbp - 0x40], 0
mov rbx, qword [0x140019d00]
lea r9, [0x140019cf0]
cmp qword [0x140019d08], 0xf
cmova r9, qword [0x140019cf0]
lea rcx, [rbp - 0x40]
cmp rbx, 0xf
ja 0x140008cde
mov qword [rbp - 0x30], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x40], 0
jmp 0x140008ce6
mov rdx, rbx
call fcn.140001ee0
lea r8, str.USERPROFILE
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
test eax, eax
jne 0x140009293
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140009293
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140008d30
lea rcx, [rsp + 0x60]
call fcn.14000d260
nop
mov r8d, 0x29
lea rdx, str..lunarclientofflinemultiveroverrides_
lea rcx, [rsp + 0x60]
call fcn.14000ad10
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], select
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140008dc9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008dc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008dc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
movdqa xmm0, xmmword [0x140013e20]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 4
jb 0x1400093c5
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 4
lea rax, str..jar
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp]
call fcn.14000dce0
nop
mov r14, qword [rbp - 0x50]
mov rax, rbx
sub rax, r14
mov r12, qword [rbp + 0x10]
cmp rax, r12
jb 0x1400093cb
lea r13, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r13, qword [rbp - 0x60]
lea rax, [rbp]
mov rsi, qword [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rax, rsi
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea r15, [r12 + r14]
mov ebx, select
lea rdi, [rbp - 0x80]
movabs rcx, 0x8000000000000000
lea edx, [rbx + 7]
cmp r15, rbx
jbe 0x140008f09
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140008ed1
mov rbx, rax
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.14000f7c0
test rax, rax
je 0x1400091f4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140008f05
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140008ef4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400093b9
jmp 0x140008eb2
test rcx, rcx
je 0x140008f03
call fcn.14000f7c0
mov rdi, rax
jmp 0x140008f05
xor edi, edi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], rbx
mov r8, r14
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + r14]
mov r8, r12
mov rdx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, qword [rbp - 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140008f84
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140008f84
lea rdx, str.____Failed_load_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000cbb0
lea rdx, [0x14000cd80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400091b6
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x50]
call fcn.14000a9d0
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x4c], edx
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x58]
call fcn.14000a910
test rax, rax
jne 0x140009018
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, str.____Grim_loaded_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cbb0
lea rdx, [0x14000cd80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r15, qword [rbp - 0x70]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0xd
jb 0x1400093b3
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r12, qword [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea r14, [r15 + 0xd]
mov ebx, select
lea rdi, [rsp + 0x60]
cmp r14, rbx
jbe 0x140009106
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400090c7
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000f7c0
test rax, rax
je 0x14000918e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140009101
cmp rbx, 0x16
mov eax, socket
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400090f0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400093bf
jmp 0x1400090a8
test rcx, rcx
je 0x1400090ff
call fcn.14000f7c0
mov rdi, rax
jmp 0x140009101
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rbx
movsd xmm0, qword [str.attrib_h_s]
movsd qword [rdi], xmm0
mov eax, dword [0x140013ab8]
mov dword [rdi + 8], eax
movzx eax, byte [0x140013abc]
mov byte [rdi + 0xc], al
lea rcx, [rdi + 0xd]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000919a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009195
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009195
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
movdqa xmm0, xmmword [0x140013e20]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rbp + 0x50]
call fcn.140008850
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140009200
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400091fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400091fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x68], select
mov byte [rbp - 0x80], 0
mov rax, qword [rbp + 0x18]
cmp rax, 0xf
jbe 0x140009253
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000924a
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000924a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000f7fc
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400092b7
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000928c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000928c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
jmp 0x1400092b7
lea rdx, str.Failed_to_retrieve_the_USERPROFILE_environment_variable.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000cbb0
lea rdx, [0x14000cd80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400092f6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400092f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140009334
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000932f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000932f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
movdqa xmm0, xmmword [0x140013e20]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140009383
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000937e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000937e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14000f7a0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001220
nop
call fcn.140001180
nop
call fcn.140001180
nop
call fcn.140001220
nop
call fcn.140001220
int3