Function at 0x140058d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x140082040]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x158]
mov qword [rax], 0
cmp qword [rsp + 0x150], 0
jne 0x140058d80
xor eax, eax
jmp 0x140059387
mov byte [rsp + 0x128], 0x53
mov byte [rsp + 0x129], 0x79
mov byte [rsp + 0x12a], 0x73
mov byte [rsp + 0x12b], 0x74
mov byte [rsp + 0x12c], 0x65
mov byte [rsp + 0x12d], 0x6d
mov byte [rsp + 0x12e], 0x52
mov byte [rsp + 0x12f], 0x6f
mov byte [rsp + 0x130], 0x6f
mov byte [rsp + 0x131], 0x74
mov byte [rsp + 0x132], 0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140004020
mov qword [rsp + 0xc8], 0
lea rcx, [rsp + 0x50]
call fcn.140003630
mov qword [rsp + 0xd0], rax
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xd0]
call fcn.140016cb0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x6b
lea rcx, str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
mov qword [rsp + 0x28], rcx
lea rcx, str.construct_environment_block
mov qword [rsp + 0x20], rcx
lea r9, str.traits::tdupenv_s_crt_system_root_value.get_address_of____nullptr__system_root_name_
mov r8d, 0x16
mov edx, 0x16
mov ecx, eax
call fcn.140015f10
test eax, eax
je 0x140058e89
call fcn.140020230
mov eax, dword [rax]
mov dword [rsp + 0x88], eax
lea rcx, [rsp + 0x50]
call fcn.140009bc0
mov eax, dword [rsp + 0x88]
jmp 0x140059387
lea rcx, [rsp + 0x50]
call fcn.140009be0
movzx eax, al
test eax, eax
je 0x140058ec6
lea rcx, [rsp + 0x50]
call fcn.140009500
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xd8]
call fcn.140015ca0
inc rax
mov qword [rsp + 0xa0], rax
jmp 0x140058ed2
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
add rax, 0xb
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x100]
call fcn.140004020
mov rcx, rax
call fcn.140059560
mov qword [rsp + 0xa8], rax
call fcn.1400310b0
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140004020
lea rcx, [rsp + 0x80]
call fcn.140009be0
movzx eax, al
test eax, eax
jne 0x140058f6f
mov dword [rsp + 0x8c], 0x16
lea rcx, [rsp + 0x80]
call fcn.140009bc0
lea rcx, [rsp + 0x50]
call fcn.140009bc0
mov eax, dword [rsp + 0x8c]
jmp 0x140059387
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x108]
call fcn.140004020
mov rcx, rax
call fcn.1400595d0
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x110]
call fcn.140004020
mov rcx, rax
call fcn.1400594b0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xe8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x118]
call fcn.1400080a0
mov rcx, rax
call fcn.140059640
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140059023
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
jmp 0x140059043
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
add rax, qword [rsp + 0x78]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x20], 0xaa
lea r9, [0x140076f18]
mov r8d, 2
mov edx, 1
mov rcx, qword [rsp + 0xb8]
call fcn.140019bb0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004020
lea rcx, [rsp + 0x60]
call fcn.140009be0
movzx eax, al
test eax, eax
jne 0x1400590e5
mov ecx, 0xe
call fcn.140020170
call fcn.140020230
mov dword [rax], 0xc
mov dword [rsp + 0x90], 0xc
lea rcx, [rsp + 0x60]
call fcn.140009bc0
lea rcx, [rsp + 0x80]
call fcn.140009bc0
lea rcx, [rsp + 0x50]
call fcn.140009bc0
mov eax, dword [rsp + 0x90]
jmp 0x140059387
lea rcx, [rsp + 0x60]
call fcn.140009500
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x58], 0
je 0x14005914a
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call fcn.140061b80
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x68], rax
jmp 0x140059167
mov rax, qword [rsp + 0x68]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax], 0
je 0x140059201
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140031270
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xc1
lea r9, str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
lea r8, str.construct_environment_block
lea rdx, str.traits::tcscpy_s_result_it__remaining_characters__it_
mov ecx, eax
call fcn.140015ec0
mov rcx, qword [rsp + 0x68]
call fcn.140015ca0
inc rax
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x140059159
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x140059311
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14003b1c0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xcd
lea r9, str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
lea r8, str.construct_environment_block
lea rdx, str.traits::tcscpy_s_result_it__system_root_count__system_root_name_
mov ecx, eax
call fcn.140015ec0
lea r8, [0x1400770b0]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.1400593a0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xce
lea r9, str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
lea r8, str.construct_environment_block
lea rdx, str.traits::tcscat_s_result_it__system_root_count__equal_sign_
mov ecx, eax
call fcn.140015ec0
lea rcx, [rsp + 0x50]
call fcn.140009be0
movzx eax, al
test eax, eax
je 0x1400592fc
lea rcx, [rsp + 0x50]
call fcn.140009500
mov qword [rsp + 0xf0], rax
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14003b140
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xd1
lea r9, str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
lea r8, str.construct_environment_block
lea rdx, str.traits::tcscat_s_result_it__system_root_count__system_root_value.get___
mov ecx, eax
call fcn.140015ec0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x60]
call fcn.140009500
cmp qword [rsp + 0x48], rax
jne 0x140059337
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
lea rcx, [rsp + 0x60]
call fcn.14000cdb0
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov dword [rsp + 0x94], 0
lea rcx, [rsp + 0x60]
call fcn.140009bc0
lea rcx, [rsp + 0x80]
call fcn.140009bc0
lea rcx, [rsp + 0x50]
call fcn.140009bc0
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140009c40
add rsp, 0x148
ret