Function at 0x140004580
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140089080]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp + 0xb0], rdx
xor edi, edi
call fcn.140005530
mov dword [rbp + 0xb8], 0x64
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], dil
lea rax, [rbp + 0x100]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004610
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xc0]
call fcn.140006d60
nop
mov dword [rsp + 0x58], 0x948e97d1
mov dword [rsp + 0x5c], 0x9a948e9e
mov word [rsp + 0x60], Ordinal_200
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x20], 0x979896d1
mov dword [rsp + 0x24], 0x100c19e
mov dword [rsp + 0x68], 0x899c8bd1
mov dword [rsp + 0x6c], 0x90929588
mov dword [rsp + 0x70], 0x3c6496
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0x899c95d1
mov dword [rsp + 0x4c], 0x9b9a9d88
mov word [rsp + 0x50], Ordinal_200
mov byte [rsp + 0x52], 1
mov dword [rsp + 0x28], 0x8f9a88d1
mov dword [rsp + 0x2c], 0xc38f9988
mov word [rsp + 0x30], 0x100
mov dword [rsp + 0x38], 0x9f898183
mov dword [rsp + 0x3c], 0x999290c6
mov word [rsp + 0x40], 0x100
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x90]
call fcn.140004960
nop
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
mov rcx, rax
call fcn.1400061b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x70]
call fcn.140003d60
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000473c
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1400061b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x50]
call fcn.140003ec0
nop
lea rdx, [rbx + 0x260]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000478e
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400061b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x30]
call fcn.140003c60
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400047d4
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400061b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140003d60
nop
lea r8, [rbx + 0x20]
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140007930
nop
mov r8, qword [rbp - 0x70]
cmp r8, 0x10
jb 0x140004842
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.1400074d0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
lea rcx, [rbp - 0x68]
call fcn.140006250
nop
lea rcx, [rbp + 0x30]
call fcn.140006250
nop
lea rcx, [rbp - 0x48]
call fcn.140006250
nop
lea rcx, [rbp + 0x50]
call fcn.140006250
nop
lea rcx, [rbp - 0x28]
call fcn.140006250
nop
lea rcx, [rbp + 0x70]
call fcn.140006250
nop
lea rcx, [rbp - 8]
call fcn.140006250
nop
lea rcx, [rbp + 0x90]
call fcn.140006250
lea rax, [rbp - 8]
mov qword [rbp + 0x18], rax
lea rdx, [rbx + 0xa0]
lea rcx, [rbp - 8]
call fcn.140006340
mov rdi, rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x20], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x28]
call fcn.140006340
mov rbx, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x48]
call fcn.140006340
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140005340
lea rcx, [rbp - 0x68]
call fcn.140006250
call fcn.140005530
nop
lea rcx, [rbp + 0xe0]
call fcn.140006250
nop
lea rcx, [rbp + 0xc0]
call fcn.140006250
nop
mov rcx, rsi
call fcn.140006250
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14006a5b0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret