Function at 0x140002540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov byte [rsp + 0x20], 0
xor ebx, ebx
mov byte [rsp + 0x21], 0
mov rdi, rcx
mov byte [rsp + 0x22], 0x5c
mov byte [rsp + 0x23], 0x50
mov byte [rsp + 0x24], 0x5c
mov byte [rsp + 0x25], 0x52
mov byte [rsp + 0x26], 0x5c
mov byte [rsp + 0x27], 0x5c
mov byte [rsp + 0x28], 0x5c
movzx eax, byte [rsp + 0x21]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x1400025f1
mov r8d, ebx
nop word [rax + rax]
movzx ecx, byte [rsp + r8 + 0x21]
mov eax, 0x5c
sub eax, ecx
imul ecx, eax, 0x3e
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x21], cl
inc r8
cmp r8, 8
jb 0x1400025a0
lea rax, [rsp + 0x21]
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x50], bl
mov byte [rsp + 0x51], 0x18
mov byte [rsp + 0x52], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x53], 0x57
mov byte [rsp + 0x54], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x55], 1
mov byte [rsp + 0x56], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x57], 1
mov byte [rsp + 0x58], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x59], 0x65
mov byte [rsp + 0x5a], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x5b], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x5c], reloc.WS2_32.dll_WSAStartup
movzx eax, byte [rsp + 0x51]
movzx eax, byte [rsp + 0x50]
test al, al
jne 0x1400026a5
mov r9, rbx
nop dword [rax + rax]
movzx ecx, byte [rsp + r9 + 0x51]
mov eax, 0x81020409
sub ecx, 0x73
imul r8d, ecx, 0x1c
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, 0x81020409
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rsp + r9 + 0x51], r8b
inc r9
cmp r9, 0xc
jb 0x140002650
lea rax, [rsp + 0x51]
mov qword [rbp - 8], rax
mov byte [rsp + 0x30], bl
mov byte [rsp + 0x31], 0x18
mov byte [rsp + 0x32], 0x7c
mov byte [rsp + 0x33], WSAGetLastError
mov byte [rsp + 0x34], 0x7c
mov byte [rsp + 0x35], 0x7a
mov byte [rsp + 0x36], 0x7c
mov byte [rsp + 0x37], 0x50
mov byte [rsp + 0x38], 0x7c
mov byte [rsp + 0x39], 0x7c
mov byte [rsp + 0x3a], 0x7c
movzx eax, byte [rsp + 0x31]
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x140002755
mov r9, rbx
nop word [rax + rax]
movzx ecx, byte [rsp + r9 + 0x31]
mov eax, 0x81020409
sub ecx, 0x7c
lea r8d, [rcx + rcx*8]
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, 0x81020409
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rsp + r9 + 0x31], r8b
inc r9
cmp r9, 0xa
jb 0x140002700
lea rax, [rsp + 0x31]
mov qword [rbp], rax
mov byte [rsp + 0x60], bl
mov byte [rsp + 0x61], inet_ntoa
mov byte [rsp + 0x62], 0x23
mov byte [rsp + 0x63], 0x1f
mov byte [rsp + 0x64], 0x23
mov byte [rsp + 0x65], 0x5e
mov byte [rsp + 0x66], 0x23
mov byte [rsp + 0x67], 0x41
mov byte [rsp + 0x68], 0x23
mov byte [rsp + 0x69], 0x29
mov byte [rsp + 0x6a], 0x23
mov byte [rsp + 0x6b], 0x23
mov byte [rsp + 0x6c], 0x23
movzx eax, byte [rsp + 0x61]
movzx eax, byte [rsp + 0x60]
test al, al
jne 0x140002801
mov r8, rbx
nop
movzx ecx, byte [rsp + r8 + 0x61]
mov eax, 0x23
sub eax, ecx
imul ecx, eax, 0x1a
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x61], cl
inc r8
cmp r8, 0xc
jb 0x1400027b0
lea rax, [rsp + 0x61]
mov qword [rbp + 8], rax
mov byte [rbp - 0x58], bl
mov byte [rbp - 0x57], 0x60
mov byte [rbp - 0x56], 0x10
mov byte [rbp - 0x55], 0x2b
mov byte [rbp - 0x54], 0x10
mov byte [rbp - 0x53], reloc.WS2_32.dll_gethostname
mov byte [rbp - 0x52], 0x10
mov byte [rbp - 0x51], WSAGetLastError
mov byte [rbp - 0x50], 0x10
mov byte [rbp - 0x4f], 0x2d
mov byte [rbp - 0x4e], 0x10
mov byte [rbp - 0x4d], WSAGetLastError
mov byte [rbp - 0x4c], 0x10
mov byte [rbp - 0x4b], 2
mov byte [rbp - 0x4a], 0x10
mov byte [rbp - 0x49], reloc.WS2_32.dll_gethostname
mov byte [rbp - 0x48], 0x10
mov byte [rbp - 0x47], 0x5a
mov byte [rbp - 0x46], 0x10
mov byte [rbp - 0x45], 0x4e
mov byte [rbp - 0x44], 0x10
mov byte [rbp - 0x43], 0x50
mov byte [rbp - 0x42], 0x10
mov byte [rbp - 0x41], 0x4d
mov byte [rbp - 0x40], 0x10
mov byte [rbp - 0x3f], 0x10
mov byte [rbp - 0x3e], 0x10
movzx eax, byte [rbp - 0x57]
movzx eax, byte [rbp - 0x58]
test al, al
jne 0x1400028e1
mov r8, rbx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbp + r8 - 0x57]
mov eax, 0x10
sub eax, ecx
imul ecx, eax, 0x2c
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x57], cl
inc r8
cmp r8, 0x1a
jb 0x140002890
lea rax, [rbp - 0x57]
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x38], bl
mov byte [rbp - 0x37], 0x30
mov byte [rbp - 0x36], WSAGetLastError
mov byte [rbp - 0x35], 0x5a
mov byte [rbp - 0x34], WSAGetLastError
mov byte [rbp - 0x33], 0x2d
mov byte [rbp - 0x32], WSAGetLastError
mov byte [rbp - 0x31], 0x7e
mov byte [rbp - 0x30], WSAGetLastError
mov byte [rbp - 0x2f], 0x7c
mov byte [rbp - 0x2e], WSAGetLastError
mov byte [rbp - 0x2d], 0x7e
mov byte [rbp - 0x2c], WSAGetLastError
mov byte [rbp - 0x2b], 0x4f
mov byte [rbp - 0x2a], WSAGetLastError
mov byte [rbp - 0x29], 0x2d
mov byte [rbp - 0x28], WSAGetLastError
mov byte [rbp - 0x27], 0x18
mov byte [rbp - 0x26], WSAGetLastError
mov byte [rbp - 0x25], 0x67
mov byte [rbp - 0x24], WSAGetLastError
mov byte [rbp - 0x23], 0xa
mov byte [rbp - 0x22], WSAGetLastError
mov byte [rbp - 0x21], 0x7d
mov byte [rbp - 0x20], WSAGetLastError
mov byte [rbp - 0x1f], WSAGetLastError
mov byte [rbp - 0x1e], WSAGetLastError
movzx eax, byte [rbp - 0x37]
movzx eax, byte [rbp - 0x38]
test al, al
jne 0x1400029c1
mov r8, rbx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + r8 - 0x37]
mov eax, WSAGetLastError
sub eax, ecx
imul ecx, eax, 0xb
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x37], cl
inc r8
cmp r8, 0x1a
jb 0x140002970
lea rax, [rbp - 0x37]
mov qword [rbp + 0x18], rax
mov byte [rsp + 0x40], bl
mov byte [rsp + 0x41], gethostbyname
mov byte [rsp + 0x42], 0x68
mov byte [rsp + 0x43], gethostname
mov byte [rsp + 0x44], 0x68
mov byte [rsp + 0x45], gethostname
mov byte [rsp + 0x46], 0x68
mov byte [rsp + 0x47], 0x47
mov byte [rsp + 0x48], 0x68
mov byte [rsp + 0x49], 0x68
mov byte [rsp + 0x4a], 0x68
movzx eax, byte [rsp + 0x41]
movzx eax, byte [rsp + 0x40]
test al, al
jne 0x140002a61
mov r8, rbx
movzx ecx, byte [rsp + r8 + 0x41]
mov eax, 0x68
sub eax, ecx
imul ecx, eax, 0x2a
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x41], cl
inc r8
cmp r8, 0xa
jb 0x140002a10
lea rax, [rsp + 0x41]
mov qword [rbp + 0x20], rax
mov byte [rsp + 0x70], bl
mov byte [rsp + 0x71], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x72], 0x2b
mov byte [rsp + 0x73], gethostname
mov byte [rsp + 0x74], 0x2b
mov byte [rsp + 0x75], WSAGetLastError
mov byte [rsp + 0x76], 0x2b
mov byte [rsp + 0x77], bl
mov byte [rsp + 0x78], 0x2b
mov byte [rsp + 0x79], 0x79
mov byte [rsp + 0x7a], 0x2b
mov byte [rsp + 0x7b], 0x52
mov byte [rsp + 0x7c], 0x2b
mov byte [rsp + 0x7d], 0x26
mov byte [rsp + 0x7e], 0x2b
mov byte [rsp + 0x7f], 0x2b
mov byte [rbp - 0x80], 0x2b
movzx eax, byte [rsp + 0x71]
movzx eax, byte [rsp + 0x70]
test al, al
jne 0x140002b21
mov r8, rbx
nop dword [rax]
movzx ecx, byte [rsp + r8 + 0x71]
mov eax, 0x2b
sub eax, ecx
imul ecx, eax, 0x17
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x71], cl
inc r8
cmp r8, 0x10
jb 0x140002ad0
lea rax, [rsp + 0x71]
mov qword [rbp + 0x28], rax
mov byte [rbp - 0x78], bl
mov byte [rbp - 0x77], inet_ntoa
mov byte [rbp - 0x76], 0x5e
mov byte [rbp - 0x75], 0x3f
mov byte [rbp - 0x74], 0x5e
mov byte [rbp - 0x73], 0x20
mov byte [rbp - 0x72], 0x5e
mov byte [rbp - 0x71], 0x49
mov byte [rbp - 0x70], 0x5e
mov byte [rbp - 0x6f], 0x62
mov byte [rbp - 0x6e], 0x5e
mov byte [rbp - 0x6d], 0xe
mov byte [rbp - 0x6c], 0x5e
mov byte [rbp - 0x6b], 0x5c
mov byte [rbp - 0x6a], 0x5e
mov byte [rbp - 0x69], reloc.WS2_32.dll_shutdown
mov byte [rbp - 0x68], 0x5e
mov byte [rbp - 0x67], 0x25
mov byte [rbp - 0x66], 0x5e
mov byte [rbp - 0x65], 0x3f
mov byte [rbp - 0x64], 0x5e
mov byte [rbp - 0x63], 7
mov byte [rbp - 0x62], 0x5e
mov byte [rbp - 0x61], 0x5e
mov byte [rbp - 0x60], 0x5e
movzx eax, byte [rbp - 0x77]
movzx eax, byte [rbp - 0x78]
test al, al
jne 0x140002bf5
mov r9, rbx
nop dword [rax]
movzx ecx, byte [rbp + r9 - 0x77]
mov eax, 0x81020409
sub ecx, 0x5e
imul r8d, ecx, 0x19
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, 0x81020409
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rbp + r9 - 0x77], r8b
inc r9
cmp r9, 0x18
jb 0x140002ba0
lea rax, [rbp - 0x77]
mov qword [rbp + 0x30], rax
nop dword [rax]
mov rdx, qword [rbp + rbx*8 - 0x10]
mov rcx, rdi
call fcn.14000d8dc
test eax, eax
je 0x140002c21
inc rbx
cmp rbx, 9
jl 0x140002c00
mov eax, 1
jmp 0x140002c23
xor eax, eax
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret