Function at 0x140003c64
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2e0
mov rax, qword [0x1401980c8]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov byte [rsp + 0x30], 0
cmp dword [rsp + 0x2f8], 0
je 0x140003ca1
cmp qword [rsp + 0x2f0], 0
jne 0x140003caa
mov al, byte [rsp + 0x30]
jmp 0x1400040e8
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0xffffffff
call fcn.14010f3c8
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x90], VarCyRound
xor edx, edx
mov ecx, 2
call fcn.140124970
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x1400040e4
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call fcn.14014380c
cmp eax, 1
jne 0x1400040d9
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x2c0], reloc.OLEAUT32.dll_VarCyFromR8
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x2c0], VarFormatCurrency
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x2c0], reloc.OLEAUT32.dll_VarCyFromR8
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x2c0], WSACleanup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x2c0], VarFormatCurrency
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x2c0], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x2c0], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x2c0], reloc.OLEAUT32.dll_VarCyFromR8
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x2c0], WSACleanup
mov eax, 1
imul rax, rax, 0xc
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xd
jae 0x140003dd1
jmp 0x140003dd6
call fcn.14008eff0
mov rax, qword [rsp + 0x78]
mov byte [rsp + rax + 0x2c0], 0
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x2c0], WSAGetLastError
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x2c0], reloc.OLEAUT32.dll_VarCyFromR8
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x2c0], reloc.WS2_32.dll_WSAGetLastError
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x2c0]
call fcn.1400b97c8
test eax, eax
jne 0x1400040be
mov qword [rsp + 0x40], 0
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov ecx, 0x1fffff
call fcn.140007618
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400040be
lea r8, [rsp + 0x38]
mov edx, 8
mov rcx, qword [rsp + 0x40]
call fcn.14011a34c
test eax, eax
je 0x1400040a2
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x4c]
lea r8, [rsp + 0x50]
mov edx, listen
mov rcx, qword [rsp + 0x38]
call fcn.140143a0c
test eax, eax
je 0x14000404e
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jne 0x140004014
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x1c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rsp + 0x1c0]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.140143a0c
test eax, eax
je 0x140003fd5
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x1c0]
call sub.ADVAPI32.dll_ConvertSidToStringSidA
test eax, eax
je 0x140003fd5
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x140003f31
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x2f8]
cmp rax, rcx
jae 0x140003fcb
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x48], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 3
jae 0x140003f86
jmp 0x140003f8b
call fcn.14008eff0
mov rax, qword [rsp + 0x80]
mov byte [rsp + rax + 0x48], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x48], Ordinal_41
mov eax, dword [rsp + 0x2f8]
mov r9, qword [rsp + 0x70]
lea r8, [rsp + 0x48]
mov edx, eax
mov rcx, qword [rsp + 0x2f0]
call fcn.1400620f4
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x70]
call fcn.1400085d4
cmp qword [rsp + 0x38], 0
je 0x140003ff1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x14000400d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
jmp 0x1400040d9
cmp qword [rsp + 0x38], 0
je 0x140004030
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x14000404c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
jmp 0x140004086
cmp qword [rsp + 0x38], 0
je 0x14000406a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x140004086
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x38], 0
je 0x1400040a2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x1400040be
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call fcn.140100960
cmp eax, 1
je 0x140003d20
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14008f320
add rsp, 0x2e0
pop rdi
ret