Function at 0x140038fa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x420
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rbx, rdx
mov r13, rcx
xor r12b, r12b
call fcn.140016610
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x140039008
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x38], rax
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x14003905b
test rbx, 0xffffffffffff0000
jne 0x14003904c
movzx ebx, bx
xor edx, edx
mov ecx, ebx
call fcn.14000f2d0
test rax, rax
je 0x14003906e
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14001a150
jmp 0x14003906e
mov rax, rsi
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140039050
jmp 0x14003905d
xor eax, eax
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140024eb0
nop
xor ecx, ecx
call fcn.1400345a0
mov byte [rbp + 0xf0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xf1]
call fcn.140071640
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call fcn.1400372e0
mov word [rbp + 0xb0], reloc.WS2_32.dll_WSACleanup
mov dword [rbp + 0xab], 0x6f736f72
mov byte [rbp + 0xaf], 0x66
mov word [rbp + 0xa8], 0x694d
mov byte [rbp + 0xaa], 0x63
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0xf0]
call fcn.140036070
mov dword [rbp + 0xd9], 0x7265746e
mov dword [rbp + 0xde], 0x45207465
mov dword [rbp + 0xe6], 0x726572
mov dword [rbp + 0xe2], 0x6f6c7078
mov byte [rbp + 0xdd], WSAStartup
mov byte [rbp + 0xd8], Ordinal_79
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0xf0]
call fcn.140036070
mov word [rbp + 0xc9], 0x6975
mov dword [rbp + 0xd1], 0x68636e
mov dword [rbp + 0xcc], 0x614c206b
mov byte [rbp + 0xd0], 0x75
mov byte [rbp + 0xc8], 0x51
mov byte [rbp + 0xcb], 0x63
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xf0]
call fcn.140036070
mov word [rbp + 0xb9], 0x6573
mov word [rbp + 0xbe], 0x6e69
mov word [rbp + 0xc1], 0x6465
mov byte [rbp + 0xb8], 0x55
mov word [rbp + 0xbc], 0x5020
mov byte [rbp + 0xc3], 0
mov byte [rbp + 0xbb], WSAStartup
mov byte [rbp + 0xc0], WSAStartup
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xf0]
call fcn.140036070
mov word [rbp + 0xa2], 0x6b73
mov word [rbp + 0xa5], 0x7261
mov word [rbp + 0xa0], 0x6154
mov byte [rbp + 0xa7], 0
mov byte [rbp + 0xa4], 0x42
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xf0]
call fcn.140036070
call fcn.140016610
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x140039226
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
test rax, 0xffffffffffff0000
jne 0x14003927a
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.14000f2d0
test rax, rax
je 0x140039365
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001a150
mov rbx, qword [rsp + 0x30]
jmp 0x140039365
lea rax, [rbp + 0xf0]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x140039284
test edi, edi
jne 0x1400392ec
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140039365
cmp dword [rdx + 0x10], 0
jge 0x1400392c8
cmp dword [rbx - 0xc], 0
jge 0x1400392b9
mov ecx, 0x80070057
call fcn.14000f440
int3
mov dword [rbx - 0x10], 0
mov byte [rbx], 0
jmp 0x140039365
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400392d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
jmp 0x140039365
mov r15d, dword [rbx - 0x10]
lea r14, [rbp + 0xf0]
sub r14, rbx
test edi, edi
jns 0x140039309
mov ecx, 0x80070057
call fcn.14000f440
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14003932b
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.14001ba70
mov rbx, qword [rsp + 0x30]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r14, r15
movsxd r15, edi
mov r9, r15
ja 0x140039348
lea r8, [r14 + rbx]
call fcn.140072b90
jmp 0x140039354
lea r8, [rbp + 0xf0]
call fcn.1400707c4
cmp edi, dword [rbx - 0xc]
jg 0x140039528
mov dword [rbx - 0x10], edi
mov byte [r15 + rbx], 0
mov word [rbp + 0x99], 0x2e2a
mov byte [rbp + 0x98], VarCyFromUI1
mov word [rbp + 0x9c], 0x6b6e
mov byte [rbp + 0x9e], 0
mov byte [rbp + 0x9b], WSAGetLastError
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0xf0]
call fcn.140036070
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf0]
call fcn.140034f50
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400393f0
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], eax
jg 0x1400393cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rax, qword [rsp + 0x38]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400393e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor al, al
jmp 0x140039533
test byte [rsp + 0x50], 0x10
jne 0x1400394a6
call fcn.140016610
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
je 0x1400394da
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov word [rbp + 0x94], reloc.WS2_32.dll_WSAStartup
mov word [rbp + 0x91], 0x5c73
mov byte [rbp + 0x90], reloc.OLEAUT32.dll_SafeArrayDestroyDescriptor
mov byte [rbp + 0x93], reloc.OLEAUT32.dll_SafeArrayDestroyDescriptor
lea r9, [rsp + 0x7c]
mov r8, rbx
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140013110
mov r9d, 0x104
lea r8, [rbp + 0x200]
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, r13
call fcn.140038e60
lea rdx, [rbp + 0x200]
mov rcx, qword [rsp + 0x38]
call fcn.140072ea4
test eax, eax
je 0x1400394bc
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400394a1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140034fe0
test eax, eax
je 0x1400394e5
jmp 0x1400393f0
mov r12b, 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400394d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x30]
jmp 0x1400394e5
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rcx, rdi
call fcn.140034ed0
call fcn.140034720
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140039508
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rax, qword [rsp + 0x38]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140039522
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
movzx eax, r12b
jmp 0x140039533
mov ecx, 0x80070057
call fcn.14000f440
nop
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret