Function at 0x140034ff0
Capabilities:
Get session user name

Disassembly:
push rbp
push rbx
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x35e8]
mov eax, 0x3728
call fcn.1400789d0
sub rsp, rax
mov rax, qword [0x1400a45f8]
xor rax, rsp
mov qword [rbp + 0x35c0], rax
xor eax, eax
mov byte [rbp - 0x68], 0
mov r15, r8
mov qword [rbp - 0x67], rax
movzx r12d, dx
mov word [rbp - 0x5f], ax
mov r14, rcx
mov byte [rbp - 0x5d], al
xor edx, edx
mov byte [rbp - 0x78], al
mov r8d, 0x80
mov qword [rbp - 0x77], rax
lea rcx, [rbp + 0x3f0]
mov word [rbp - 0x6f], ax
mov byte [rbp - 0x6d], al
movzx ebx, r9w
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x80
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x2f0]
mov r8d, 0x80
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x31c0]
mov r8d, 0x3f9
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov byte [rbp - 0x48], 0
xor edx, edx
mov qword [rbp - 0x47], rax
mov r8d, 0x81
mov qword [rbp - 0x3f], rax
lea rcx, [rbp + 0x1e0]
mov word [rbp - 0x37], ax
mov byte [rbp - 0x35], al
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov word [rbp + 0x58], ax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov word [rbp + 0x28], ax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov word [rbp + 0x88], ax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x470]
mov r8d, 0x1fc
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea rcx, [rbp + 0xa60]
xor r13d, r13d
mov qword [rbp - 0x57], rax
xor edx, edx
mov dword [rbp - 0x4f], eax
mov r8d, 0x3e8
mov word [rbp - 0x4b], ax
mov byte [rbp - 0x49], al
mov dword [rbp - 0x80], r13d
mov byte [rbp - 0x58], r13b
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x670]
mov r8d, 0x3e8
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xe50]
mov r8d, 0x3e8
call sub.VCRUNTIME140.dll_memset
lea edx, [r13 + 0x40]
mov byte [rbp - 0x10], r13b
lea rcx, [rbp + 0x270]
mov byte [rbp + 0x1a0], r13b
mov byte [rbp + 0x2b0], r13b
mov byte [rbp + 0x270], r13b
mov byte [rbp + 0xd0], r13b
mov byte [rbp + 0xc0], r13b
mov byte [rbp + 0xb0], r13b
mov byte [rbp + 0xa0], r13b
call fcn.140026470
test eax, eax
jne 0x140035228
xor r9d, r9d
lea r8d, [r13 + 0x20]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x270]
call fcn.1400272d0
test eax, eax
je 0x140035228
mov byte [rbp + 0xd0], r13b
jmp 0x140035231
cmp byte [rbp + 0xd0], r13b
jne 0x14003525f
mov edx, 0x40
lea rcx, [rbp + 0xd0]
call fcn.140028720
test eax, eax
je 0x14003525f
lea r8, str.NoName
mov edx, 0x20
lea rcx, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str.RNBO_SPN_LOCAL
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14003528a
lea r8, str.RNBO_SPN_LOCAL
lea edx, [rax + 0x40]
lea rcx, [rbp + 0x270]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, [rbp - 0x7c]
mov dword [rbp - 0x7c], 0x40
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rcx, [rbp + 0x1a0]
cmp eax, 1
jne 0x1400352d8
lea r8d, [rax + 0x3f]
lea rdx, [rbp + 0x2b0]
call fcn.14004a720
lea rcx, [rbp + 0x1a0]
mov edx, 0x40
cmp eax, 0xffffffff
je 0x1400352dd
lea r8, [rbp + 0x2b0]
jmp 0x1400352e4
mov edx, 0x40
lea r8, str.NoName
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
xor eax, eax
movzx r9d, r12w
lea r8, [0x140087674]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x28], eax
mov qword [rbp - 0x20], rax
lea edx, [rax + 0xc]
mov dword [rbp - 0x18], eax
call fcn.1400292e0
mov r9d, dword [r14 + 0x90]
lea r8, [0x140087774]
mov edx, recv
lea rcx, [rbp - 0x20]
call fcn.1400292e0
movzx r9d, bx
lea r8, [0x140087674]
mov edx, recv
lea rcx, [rbp + 0x170]
call fcn.1400292e0
mov r9d, dword [0x1400a72a4]
lea r8, [0x140087774]
mov edx, reloc.WSOCK32.dll_sendto
lea rcx, [rbp + 0x180]
call fcn.1400292e0
movzx r9d, word [rbp + 0x3640]
lea r8, [0x140087674]
mov edx, recv
lea rcx, [rbp + 0x160]
call fcn.1400292e0
mov r9d, dword [r14 + 0x1d4]
lea r8, [0x140087774]
mov edx, reloc.WSOCK32.dll_sendto
lea rcx, [rbp + 0xf0]
call fcn.1400292e0
mov r9d, 0x2c6
lea r8, [0x140087674]
mov edx, recv
lea rcx, [rbp + 0x150]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
lea rcx, [rbp + 0xc0]
lea edx, [r9 + 0xc]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
lea rcx, [rbp + 0xb0]
lea edx, [r9 + 0xc]
call fcn.1400292e0
cmp word [r14 + 0x1d8], r13w
jne 0x140035437
xor r9d, r9d
lea r8, [0x140087774]
lea rcx, [rbp + 0x180]
lea edx, [r9 + 0x14]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087774]
lea rcx, [rbp + 0xf0]
lea edx, [r9 + 0x14]
call fcn.1400292e0
cmp word [r14 + 0x1d8], 1
jne 0x140035466
cmp word [r14 + 0x1da], r13w
jne 0x140035466
xor r9d, r9d
lea r8, [0x140087774]
lea rcx, [rbp + 0xf0]
lea edx, [r9 + 0x14]
call fcn.1400292e0
mov eax, dword [rbp + 0x3650]
cmp eax, 0x400
ja 0x140035d09
mov qword [rsp + 0x3718], rdi
test eax, eax
jne 0x140035570
xor r9d, r9d
lea r8, [0x140087674]
lea edx, [rax + 0xc]
lea rcx, [rbp - 0x68]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
lea rcx, [rbp - 0x78]
lea edx, [r9 + 0xc]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
lea rcx, [rbp + 0x90]
lea edx, [r9 + 0xc]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
lea rcx, [rbp + 0x110]
lea edx, [r9 + 0x40]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
mov edx, 0x80
lea rcx, [rbp + 0x3f0]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
mov edx, 0x80
lea rcx, [rbp + 0x370]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
mov edx, 0x80
lea rcx, [rbp + 0x2f0]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
lea rcx, [rbp - 0x48]
lea edx, [r9 + 0x14]
call fcn.1400292e0
xor r9d, r9d
lea r8, [0x140087674]
mov edx, 0x3f9
lea rcx, [rbp + 0x31c0]
call fcn.1400292e0
jmp 0x1400357fa
movups xmm0, xmmword [r14 + 0x604]
movzx eax, word [r14 + 0x62c]
lea rcx, [r14 + 0xabc]
movups xmm1, xmmword [r14 + 0x614]
mov edx, dword [r14 + 0xab8]
lea r9, [rbp - 0x80]
movsx ebx, byte [r14 + 0x6af]
lea r8, [rbp + 0x470]
movsx edi, byte [r14 + 0x6b0]
movups xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x58], ax
movsd xmm0, qword [r14 + 0x624]
movzx eax, word [r14 + 0xce0]
movsd qword [rbp + 0x50], xmm0
movups xmm0, xmmword [r14 + 0xcb8]
mov word [rbp + 0x28], ax
movzx eax, word [r14 + 0xd0a]
movups xmmword [rbp], xmm0
mov qword [rsp + Ordinal_14118], rsi
movsd xmm0, qword [r14 + 0xcd8]
movsx esi, byte [r14 + 0x6b1]
movups xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x88], ax
movups xmm1, xmmword [r14 + 0xcc8]
mov dword [rbp - 0x80], 0x1fc
movsd qword [rbp + 0x20], xmm0
movups xmm0, xmmword [r14 + 0xce2]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [r14 + 0xcf2]
movups xmmword [rbp + 0x60], xmm0
movsd xmm0, qword [r14 + 0xd02]
movsd qword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x70], xmm1
call fcn.140042a50
movups xmm0, xmmword [r14 + 0x62e]
movzx eax, byte [r14 + 0x6ae]
mov r9d, esi
movups xmm1, xmmword [r14 + 0x63e]
lea r8, [0x140087674]
mov edx, recv
movaps xmmword [rbp + 0x1e0], xmm0
lea rcx, [rbp - 0x68]
movups xmm0, xmmword [r14 + 0x64e]
mov byte [rbp + 0x260], al
movaps xmmword [rbp + 0x1f0], xmm1
movups xmm1, xmmword [r14 + 0x65e]
movaps xmmword [rbp + 0x200], xmm0
movups xmm0, xmmword [r14 + 0x66e]
movaps xmmword [rbp + 0x210], xmm1
movups xmm1, xmmword [r14 + 0x67e]
movaps xmmword [rbp + 0x220], xmm0
movups xmm0, xmmword [r14 + 0x68e]
movaps xmmword [rbp + 0x230], xmm1
movups xmm1, xmmword [r14 + 0x69e]
movaps xmmword [rbp + 0x240], xmm0
movaps xmmword [rbp + 0x250], xmm1
call fcn.1400292e0
mov r9d, ebx
lea r8, [0x140087674]
mov edx, recv
lea rcx, [rbp - 0x78]
call fcn.1400292e0
mov r9d, edi
lea r8, [0x140087674]
mov edx, recv
lea rcx, [rbp + 0x90]
call fcn.1400292e0
mov rsi, qword [rsp + 0x3720]
lea rcx, [rbp + 0x1e0]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r13b
jne 0x140035735
test rax, rax
je 0x140035772
mov r9d, reloc.WSOCK32.dll_recv
lea r8, [rbp - 0x58]
mov edx, eax
lea rcx, [rbp + 0x1e0]
call fcn.14004f9f0
lea r8, [rbp + 0x110]
mov edx, reloc.WSOCK32.dll_recv
lea rcx, [rbp - 0x58]
call fcn.140026c60
jmp 0x14003578c
xor r9d, r9d
lea r8, [0x140087674]
lea rcx, [rbp + 0x110]
lea edx, [r9 + 0x40]
call fcn.1400292e0
lea r8, [rbp + 0x3f0]
mov edx, 0x2a
lea rcx, [rbp + 0x30]
call fcn.140026c60
lea r8, [rbp + 0x370]
mov edx, 0x2a
lea rcx, [rbp]
call fcn.140026c60
lea r8, [rbp + 0x2f0]
mov edx, 0x2a
lea rcx, [rbp + 0x60]
call fcn.140026c60
mov r9d, dword [rbp - 0x80]
lea r8, [0x140087674]
mov edx, reloc.WSOCK32.dll_sendto
lea rcx, [rbp - 0x48]
call fcn.1400292e0
mov edx, dword [rbp - 0x80]
lea r8, [rbp + 0x31c0]
lea rcx, [rbp + 0x470]
call fcn.140026c60
mov eax, dword [r14 + 0x78]
lea r8, [0x1400877fc]
mov ecx, 1
cmp eax, 0xffffffff
cmove eax, ecx
mov r9d, eax
bts r9d, 0x18
lea edx, [rcx + 0xb]
cmp dword [r14 + 0x1ec], ecx
lea rcx, [rbp + 0xa0]
cmovne r9d, eax
call fcn.1400292e0
lea rax, [rbp + 0x31c0]
mov edx, 0x16
mov qword [rsp + 0xb8], rax
lea r9, [rbp + 0x1a0]
lea rax, [rbp - 0x48]
mov qword [rsp + 0xb0], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0xa8], rax
lea rcx, [0x140087678]
lea rax, [rbp + 0x370]
mov qword [rsp + 0xa0], rax
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x98], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x90], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x88], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x80], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
call fcn.14004d500
mov rbx, rax
test rax, rax
jne 0x140035987
mov eax, 0x4a
mov dword [r14 + 0x94], eax
mov rdi, qword [rsp + 0x3718]
mov rcx, qword [rbp + 0x35c0]
xor rcx, rsp
call fcn.140077b10
add rsp, 0x3728
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
mov r8, rbx
lea rcx, [rbp + 0xe50]
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rax, [rbp - 0x10]
mov edx, 3
lea r9, [rbp + 0xe50]
mov qword [rsp + 0x20], rax
lea r8, str.findFirstUnitEx2
lea rcx, [0x140087688]
call fcn.14004d500
mov rbx, rax
test rax, rax
je 0x140035a07
mov r8, rax
lea rcx, [rbp + 0x670]
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x670]
call fcn.14004d610
mov rbx, rax
test rax, rax
jne 0x140035a11
mov eax, 0x4a
jmp 0x14003595e
mov r8, rbx
lea rcx, [rbp + 0x670]
mov edx, 0x3e8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r8, [rbp + 0xa60]
mov rdx, r14
lea rcx, [rbp + 0x670]
call fcn.140047060
test ax, ax
je 0x140035a5a
mov rdx, r14
movzx ecx, ax
call fcn.140037660
jmp 0x14003595e
lea rcx, [rbp + 0xa60]
call fcn.14004d950
mov rdi, rax
test rax, rax
je 0x140035b84
xor eax, eax
lea rcx, [rbp + 0x1630]
xor edx, edx
mov qword [rbp - 0x10], rax
mov r8d, 0x3e8
mov dword [rbp - 8], eax
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0xa60]
mov r8, rdi
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1240]
lea rax, [rbp + 0x1630]
mov edx, 3
lea rcx, [0x140087688]
mov qword [rsp + 0x20], rax
call fcn.14004d9d0
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test bx, bx
jne 0x140035b84
movzx edi, r13w
lea rdx, [rbp + 0x1240]
mov byte [rbp + 0x1627], dil
lea r8, str.error
mov rcx, r13
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140035b25
cmp rcx, 6
jne 0x140035af2
lea rcx, [rbp + 0x1630]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edi, eax
cmp ax, 0x46
je 0x140035b25
cmp ax, 0x50
jne 0x14003595e
lea rax, [rbp + 0x29e0]
mov edx, 6
mov qword [rsp + 0x40], rax
lea r9, [rbp + 0x1a20]
lea rax, [rbp + 0x25f0]
mov qword [rsp + 0x38], rax
lea r8, [rbp + 0xa60]
lea rax, [rbp + 0x2200]
mov qword [rsp + 0x30], rax
lea rcx, [0x140087678]
lea rax, [rbp + 0x1e10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2dd0]
mov qword [rsp + 0x20], rax
call fcn.14004d9d0
test eax, eax
je 0x140035b8e
mov eax, 0x42
jmp 0x14003595e
lea rcx, [rbp + 0x1a20]
mov byte [rbp + 0x1e07], r13b
mov byte [rbp + 0x31b7], r13b
mov byte [rbp + 0x21f7], r13b
mov byte [rbp + 0x25e7], r13b
mov byte [rbp + 0x29d7], r13b
mov byte [rbp + reloc.mfc140.dll_Ordinal_11719], r13b
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea rcx, [rbp + 0x1e10]
mov word [r14 + 0x42], r12w
mov word [r14 + 0x44], ax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea rcx, [rbp + 0x2200]
mov word [r14 + 0x1d0], ax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea rcx, [rbp + 0x25f0]
mov dword [r14 + 0x1e0], eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea rcx, [rbp + 0x29e0]
mov dword [r14 + 0x1e8], eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [r14 + 0x1e0]
mov edx, r13d
sub ecx, 5
test ecx, 0xfffffffd
jne 0x140035c54
bt eax, 0xe
mov edx, 8
mov ecx, recv
cmovae ecx, edx
mov edx, ecx
bt eax, 0xd
jae 0x140035c54
test byte [r14 + 0x1e8], 0x10
je 0x140035c54
or edx, 2
movzx eax, word [r14 + 0x98]
dec ax
mov dword [r14 + 0x1e4], edx
cmp ax, 1
ja 0x140035c77
mov rdx, r15
mov rcx, r14
call fcn.1400370a0
test di, di
je 0x140035c88
cmp di, 0x46
je 0x140035c88
cmp di, 0x50
jne 0x140035cf1
movsx ebx, word [r14 + 0x70]
cmp ebx, 9
jge 0x140035c9b
inc ebx
mov word [r14 + 0x70], bx
jmp 0x140035ca3
mov word [r14 + 0x70], r13w
mov ebx, r13d
lea rcx, [rbp + 0x2dd0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movsxd rcx, ebx
mov dword [r14 + rcx*4 + 0x48], eax
test di, di
jne 0x140035cf9
inc dword [r14 + 0x74]
lea rcx, [r14 + 0x80]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [r14 + 0x88]
mov qword [r14 + 0x88], 0x78
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov eax, dword [r14 + 0x78]
add qword [r14 + 0x88], rax
movzx eax, di
jmp 0x14003595e
cmp di, 0x50
jne 0x140035cf1
mov eax, 0x46
jmp 0x14003595e
mov eax, 0x4a
jmp 0x140035966