Function at 0x140176ff0
Capabilities:
Execute command

Disassembly:
push rsi
push rdi
sub rsp, 0x2b8
movzx eax, byte [section..data]
test eax, eax
je 0x140177912
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x28]
call fcn.140172d60
mov qword [rsp + 0x20], rax
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x59], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x280], rax
xor eax, eax
imul rax, rax, 1
mov rcx, qword [rsp + 0x280]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x88], rax
mov eax, 3
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x33], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x98], rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x34], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xa8], rax
mov eax, 5
imul rax, rax, 1
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x35], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xb8], rax
mov eax, 6
imul rax, rax, 1
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x36], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xc8], rax
mov eax, 7
imul rax, rax, 1
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x37], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xd8], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xd8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x38], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xe8], rax
mov eax, 9
imul rax, rax, 1
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x39], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xf8], rax
mov eax, 0xa
imul rax, rax, 1
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x3a], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x108], rax
mov eax, reloc.WS2_32.dll_inet_addr
imul rax, rax, 1
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x3b], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x118], rax
mov eax, reloc.WS2_32.dll_inet_ntoa
imul rax, rax, 1
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x3c], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x128], rax
mov eax, reloc.WS2_32.dll_listen
imul rax, rax, 1
mov rcx, qword [rsp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x3d], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x138], rax
mov eax, reloc.WS2_32.dll_ntohl
imul rax, rax, 1
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x3e], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x148], rax
mov eax, reloc.WS2_32.dll_ntohs
imul rax, rax, 1
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x3f], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x158], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x168], rax
mov eax, reloc.WS2_32.dll_recvfrom
imul rax, rax, 1
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x41], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x178], rax
mov eax, reloc.WS2_32.dll_select
imul rax, rax, 1
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x42], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x188], rax
mov eax, reloc.WS2_32.dll_send
imul rax, rax, 1
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x43], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x198], rax
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 1
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x44], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x1a8], rax
mov eax, reloc.WS2_32.dll_setsockopt
imul rax, rax, 1
mov rcx, qword [rsp + 0x1a8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x45], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x1b8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_22
imul rax, rax, 1
mov rcx, qword [rsp + 0x1b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x46], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x1c8], rax
mov eax, reloc.WS2_32.dll_socket
imul rax, rax, 1
mov rcx, qword [rsp + 0x1c8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x47], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x1d8], rax
mov eax, Ordinal_27
imul rax, rax, 1
mov rcx, qword [rsp + 0x1d8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x48], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x1e8], rax
mov eax, Ordinal_27
imul rax, rax, 1
mov rcx, qword [rsp + 0x1e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x49], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x1f8], rax
mov eax, reloc.WLDAP32.dll_Ordinal_26
imul rax, rax, 1
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x4a], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x208], rax
mov eax, reloc.WLDAP32.dll_Ordinal_27
imul rax, rax, 1
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x4b], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x218], rax
mov eax, Ordinal_32
imul rax, rax, 1
mov rcx, qword [rsp + 0x218]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x4c], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x228], rax
mov eax, Ordinal_33
imul rax, rax, 1
mov rcx, qword [rsp + 0x228]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x4d], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x238], rax
mov eax, reloc.WLDAP32.dll_Ordinal_30
imul rax, rax, 1
mov rcx, qword [rsp + 0x238]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x4e], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x248], rax
mov eax, Ordinal_33
imul rax, rax, 1
mov rcx, qword [rsp + 0x248]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x4f], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x258], rax
mov eax, reloc.WLDAP32.dll_Ordinal_32
imul rax, rax, 1
mov rcx, qword [rsp + 0x258]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x50], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x268], rax
mov eax, reloc.WLDAP32.dll_Ordinal_33
imul rax, rax, 1
mov rcx, qword [rsp + 0x268]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
movsx rax, byte [rax]
xor rax, 0x3c5
mov byte [rsp + 0x51], al
lea rax, [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov ecx, Ordinal_35
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x2b8
pop rdi
pop rsi
ret