Function at 0x140056070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140225d40]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x30], rdx
xor r14d, r14d
mov word [rsp + 0x47], 0x65
mov dword [rsp + 0x40], 0x72657375
mov word [rsp + 0x44], 0x616e
mov byte [rsp + 0x46], WSAGetLastError
mov byte [rsp + 0x49], r14b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140046840
nop
cmp byte [rbx], r14b
jne 0x1400560fc
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140056111
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
jmp 0x140056115
mov rax, qword [rbp + 0x30]
cmp byte [rax], 3
jne 0x140056120
mov r8, qword [rax + 8]
jmp 0x140056123
mov r8, r14
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140056130
mov rdx, qword [r8]
lea rcx, [rsi + 0x140]
mov r8, qword [r8 + 0x10]
call fcn.14004fed0
nop
mov r8, qword [rsp + 0x68]
cmp r8, 0xf
jbe 0x14005615b
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14004f320
mov word [rsp + 0x39], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x38], 0x69
mov byte [rsp + 0x3b], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3a]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140046840
nop
cmp byte [rbx], 0
jne 0x140056197
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400561ac
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
jmp 0x1400561b0
mov rax, qword [rbp + 0x30]
cmp byte [rax], 3
jne 0x1400561bb
mov r8, qword [rax + 8]
jmp 0x1400561be
mov r8, r14
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400561cb
mov rdx, qword [r8]
lea rcx, [rsi + 0x160]
mov r8, qword [r8 + 0x10]
call fcn.14004fed0
nop
mov r8, qword [rsp + 0x68]
cmp r8, 0xf
jbe 0x1400561f6
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14004f320
mov word [rsp + 0x3b], 0x64
mov word [rsp + 0x38], 0x7768
mov byte [rsp + 0x3a], 0x69
mov byte [rsp + 0x3d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140046840
nop
cmp byte [rbx], 0
jne 0x140056239
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14005624e
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
jmp 0x140056252
mov rax, qword [rbp + 0x30]
movzx edi, byte [rax]
mov r8, qword [rsp + 0x68]
cmp r8, 0xf
jbe 0x14005626f
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14004f320
mov byte [rsp + 0x3d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
test dil, dil
jne 0x1400562b6
mov word [rsp + 0x3b], 0x65
mov word [rsp + 0x38], 0x6f6e
mov byte [rsp + 0x3a], WSAGetLastError
call fcn.140046840
lea rcx, [rsi + 0x180]
lea rdx, [rbp - 0x50]
call fcn.14004e790
jmp 0x140056324
mov word [rsp + 0x3b], 0x64
mov word [rsp + 0x38], 0x7768
mov byte [rsp + 0x3a], 0x69
call fcn.140046840
nop
cmp byte [rbx], 0
jne 0x1400562e0
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400562f4
lea rdx, [rbp - 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
jmp 0x1400562f8
mov rax, qword [rbp + 0x30]
cmp byte [rax], 3
jne 0x140056303
mov r8, qword [rax + 8]
jmp 0x140056306
mov r8, r14
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140056313
mov rdx, qword [r8]
lea rcx, [rsi + 0x180]
mov r8, qword [r8 + 0x10]
call fcn.14004fed0
nop
lea rcx, [rbp - 0x50]
call fcn.140040a10
mov word [rsp + 0x49], 0x65
mov dword [rsp + 0x40], 0x61657263
mov dword [rsp + 0x44], 0x61646574
mov byte [rsp + 0x48], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x4b], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x4a]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140046840
nop
cmp byte [rbx], 0
jne 0x140056378
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14005638c
lea rdx, [rbp - 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
jmp 0x140056390
mov rax, qword [rbp + 0x30]
cmp byte [rax], 3
jne 0x14005639b
mov r8, qword [rax + 8]
jmp 0x14005639e
mov r8, r14
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400563ab
mov rdx, qword [r8]
lea rcx, [rsi + 0x1a0]
mov r8, qword [r8 + 0x10]
call fcn.14004fed0
nop
lea rcx, [rbp - 0x50]
call fcn.140040a10
mov dword [rsp + 0x46], 0x6e6967
mov dword [rsp + 0x40], 0x7473616c
mov word [rsp + 0x44], 0x6f6c
mov byte [rsp + 0x4a], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x49]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140046840
nop
cmp byte [rbx], 0
jne 0x14005640c
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140056421
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
jmp 0x140056425
mov rax, qword [rbp + 0x30]
cmp byte [rax], 3
jne 0x140056430
mov r8, qword [rax + 8]
jmp 0x140056433
mov r8, r14
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140056440
mov rdx, qword [r8]
lea rcx, [rsi + 0x1c0]
mov r8, qword [r8 + 0x10]
call fcn.14004fed0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140056491
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005648c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005648c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dec10
mov r13d, r14d
mov r15, qword [rbp + 0x30]
mov r12, qword [rbp + 0x30]
nop dword [rax]
mov dword [rbp - 0x76], 0x736e6f
mov dword [rbp - 0x80], 0x73627573
mov dword [rbp - 0x7c], 0x70697263
mov word [rbp - 0x78], 0x6974
mov byte [rbp - 0x72], 0
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x73]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140046840
nop
cmp byte [rbx], 0
jne 0x1400564e8
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140056501
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
mov qword [rbp - 0x10], rax
jmp 0x140056505
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax]
test edx, edx
je 0x140056538
sub edx, 1
je 0x14005652e
cmp edx, 1
je 0x14005651d
mov edi, 1
jmp 0x14005653b
mov rax, qword [rax + 8]
mov rdi, qword [rax + 8]
sub rdi, qword [rax]
sar rdi, 4
jmp 0x14005653b
mov rax, qword [rax + 8]
mov rdi, qword [rax + 8]
jmp 0x14005653b
mov rdi, r14
movsxd rsi, r13d
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14005657b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056576
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056ad4
call fcn.1400dec10
cmp rsi, rdi
jae 0x140056afe
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
mov dword [rbp - 0x66], 0x736e6f
mov dword [rbp - 0x70], 0x73627573
mov dword [rbp - 0x6c], 0x70697263
mov word [rbp - 0x68], 0x6974
mov byte [rbp - 0x62], 0
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x63]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140046840
nop
cmp byte [rbx], 0
jne 0x1400565f6
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140056611
lea rdx, [rbp - 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
mov rsi, rax
mov qword [rbp - 8], rax
jmp 0x140056615
mov rsi, qword [rbp - 8]
movsxd r14, r13d
lea rdi, [rsi + 8]
cmp byte [rsi], 0
jne 0x14005663e
mov byte [rsi], 2
mov ecx, Ordinal_26
call fcn.1400debd4
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rdi], rax
cmp byte [rsi], 2
jne 0x1400566b0
mov rsi, qword [rdi]
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
sar rax, 4
cmp r14, rax
jb 0x1400566a3
mov byte [rbp - 0x30], 0
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.14004dde0
nop
mov rax, qword [rdi]
mov r8, qword [rax + 8]
mov rdx, r8
sub rdx, qword [rax]
sar rdx, 4
mov r9, r14
sub r9, rdx
inc r9
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.140054940
nop
movzx edx, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140051a20
mov rax, qword [rdi]
mov r15, r14
shl r15, 4
add r15, qword [rax]
mov word [rsp + 0x7b], WSAGetLastError
mov dword [rsp + 0x70], 0x73627573
mov dword [rsp + 0x74], 0x70697263
mov word [rsp + 0x78], 0x6974
mov byte [rsp + 0x7a], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x7d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x7c]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140046840
nop
cmp byte [r15], 0
jne 0x140056705
mov byte [r15], 1
call fcn.1400499c0
mov qword [r15 + 8], rax
cmp byte [r15], 1
jne 0x14005671f
lea rdx, [rsp + 0x50]
mov rcx, qword [r15 + 8]
call fcn.14004ec40
mov qword [rbp], rax
jmp 0x140056723
mov rax, qword [rbp]
cmp byte [rax], 3
jne 0x14005672e
mov r8, qword [rax + 8]
jmp 0x140056731
xor r8d, r8d
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x14005673e
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x40]
call fcn.14004fed0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140056789
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056784
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056adb
call fcn.1400dec10
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400567db
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400567d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056ae2
call fcn.1400dec10
mov dword [rbp - 0x56], 0x736e6f
mov dword [rbp - 0x60], 0x73627573
mov dword [rbp - 0x5c], 0x70697263
mov word [rbp - 0x58], 0x6974
mov byte [rbp - 0x52], 0
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x53]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x50]
call fcn.140046840
nop
cmp byte [rbx], 0
jne 0x140056822
mov byte [rbx], 1
call fcn.1400499c0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14005683d
lea rdx, [rbp - 0x50]
mov rcx, qword [rbx + 8]
call fcn.14004ec40
mov rsi, rax
mov qword [rbp + 8], rax
jmp 0x140056841
mov rsi, qword [rbp + 8]
movsxd r14, r13d
lea rdi, [rsi + 8]
cmp byte [rsi], 0
jne 0x14005686a
mov byte [rsi], 2
mov ecx, Ordinal_26
call fcn.1400debd4
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rdi], rax
cmp byte [rsi], 2
jne 0x1400568dc
mov rsi, qword [rdi]
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
sar rax, 4
cmp r14, rax
jb 0x1400568cf
mov byte [rbp - 0x20], 0
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.14004dde0
nop
mov rax, qword [rdi]
mov r8, qword [rax + 8]
mov rdx, r8
sub rdx, qword [rax]
sar rdx, 4
mov r9, r14
sub r9, rdx
inc r9
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x28]
mov rcx, rsi
call fcn.140054940
nop
movzx edx, byte [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.140051a20
mov rax, qword [rdi]
mov r12, r14
shl r12, 4
add r12, qword [rax]
mov word [rsp + 0x3d], 0x79
mov dword [rsp + 0x38], 0x69707865
mov byte [rsp + 0x3c], WSAStartup
mov byte [rsp + 0x3f], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3e]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140046840
nop
cmp byte [r12], 0
jne 0x140056925
mov byte [r12], 1
call fcn.1400499c0
mov qword [r12 + 8], rax
cmp byte [r12], 1
jne 0x140056941
lea rdx, [rsp + 0x50]
mov rcx, qword [r12 + 8]
call fcn.14004ec40
mov qword [rbp + 0x10], rax
jmp 0x140056945
mov rax, qword [rbp + 0x10]
xor r14d, r14d
cmp byte [rax], 3
jne 0x140056953
mov r8, qword [rax + 8]
jmp 0x140056956
mov r8, r14
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140056963
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x60]
call fcn.14004fed0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400569ae
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400569a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056ae9
call fcn.1400dec10
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400569fc
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400569f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056af0
call fcn.1400dec10
mov rdi, qword [rbp + 0x18]
mov rsi, qword [rdi + 0x1e8]
cmp rsi, qword [rdi + 0x1f0]
je 0x140056a3a
mov qword [rsp + 0x40], rsi
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.140040220
nop
lea rcx, [rsi + 0x20]
lea rdx, [rbp + 0x60]
call fcn.140040220
nop
add qword [rdi + 0x1e8], 0x40
jmp 0x140056a4e
lea r8, [rbp + 0x40]
mov rdx, rsi
lea rcx, [rdi + 0x1e0]
call fcn.140048330
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140056a85
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056a80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056af7
call fcn.1400dec10
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140056acc
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056ac7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056af7
call fcn.1400dec10
inc r13d
jmp 0x1400564a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.140051a20
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400def70
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret