Function at 0x10013960
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015a0b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1001d0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 0x121], 0
call fcn.100155d0
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x120]
xor esi, esi
mov dword [ebp - 4], esi
push edx
mov dword [ebp - 0x128], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov al, 0x72
mov bl, 0x75
mov cl, 0x65
mov dl, 0x63
mov byte [ebp - 0x12], al
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x13], cl
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x19], al
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x16], 0x74
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x120]
lea ebx, [esi + 1]
cmp byte [ebp - 0x120], dl
jne 0x10013a17
test dl, dl
je 0x10013a17
mov dl, byte [eax + ebx]
add eax, ebx
add ecx, ebx
cmp dl, byte [ecx]
je 0x10013a08
movsx eax, byte [eax]
movsx ecx, byte [ecx]
sub eax, ecx
jne 0x10013a27
mov byte [ebp - 0x121], bl
push 0xd
lea ecx, [ebp - 0x140]
call fcn.100146c0
mov cl, byte [ebp - 0x120]
lea edx, [ebp - 0x120]
cmp cl, byte [eax]
jne 0x10013a53
test cl, cl
je 0x10013a53
mov cl, byte [edx + ebx]
add edx, ebx
add eax, ebx
cmp cl, byte [eax]
je 0x10013a44
movsx edx, byte [edx]
movsx eax, byte [eax]
sub edx, eax
jne 0x10013a63
mov byte [ebp - 0x121], bl
push 0xe
lea ecx, [ebp - 0x140]
call fcn.100146c0
mov cl, byte [ebp - 0x120]
lea edx, [ebp - 0x120]
cmp cl, byte [eax]
jne 0x10013a8f
test cl, cl
je 0x10013a8f
mov cl, byte [edx + ebx]
add edx, ebx
add eax, ebx
cmp cl, byte [eax]
je 0x10013a80
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10013a9f
mov byte [ebp - 0x121], bl
push 0xf
lea ecx, [ebp - 0x140]
call fcn.100146c0
mov cl, byte [ebp - 0x120]
lea edx, [ebp - 0x120]
cmp cl, byte [eax]
jne 0x10013acf
lea esp, [esp]
test cl, cl
je 0x10013acf
mov cl, byte [edx + ebx]
add edx, ebx
add eax, ebx
cmp cl, byte [eax]
je 0x10013ac0
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10013adf
mov byte [ebp - 0x121], bl
push 0x10
lea ecx, [ebp - 0x140]
call fcn.100146c0
mov cl, byte [ebp - 0x120]
lea edx, [ebp - 0x120]
cmp cl, byte [eax]
jne 0x10013b0f
lea esp, [esp]
test cl, cl
je 0x10013b0f
mov cl, byte [edx + ebx]
add edx, ebx
add eax, ebx
cmp cl, byte [eax]
je 0x10013b00
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10013b1f
mov byte [ebp - 0x121], bl
push 0x11
lea ecx, [ebp - 0x140]
call fcn.100146c0
mov cl, byte [ebp - 0x120]
lea edx, [ebp - 0x120]
cmp cl, byte [eax]
jne 0x10013b4f
lea esp, [esp]
test cl, cl
je 0x10013b4f
mov cl, byte [edx + ebx]
add edx, ebx
add eax, ebx
cmp cl, byte [eax]
je 0x10013b40
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10013b5f
mov byte [ebp - 0x121], bl
push 0x12
lea ecx, [ebp - 0x140]
call fcn.100146c0
mov cl, byte [ebp - 0x120]
lea edx, [ebp - 0x120]
cmp cl, byte [eax]
jne 0x10013b8f
lea esp, [esp]
test cl, cl
je 0x10013b8f
mov cl, byte [edx + ebx]
add edx, ebx
add eax, ebx
cmp cl, byte [eax]
je 0x10013b80
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10013b9f
mov byte [ebp - 0x121], bl
push 0x13
lea ecx, [ebp - 0x140]
call fcn.100146c0
mov cl, byte [ebp - 0x120]
lea edx, [ebp - 0x120]
cmp cl, byte [eax]
jne 0x10013bcf
lea esp, [esp]
test cl, cl
je 0x10013bcf
mov cl, byte [edx + ebx]
add edx, ebx
add eax, ebx
cmp cl, byte [eax]
je 0x10013bc0
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10013bdf
mov byte [ebp - 0x121], bl
mov eax, dword [ebp - 0x134]
cmp eax, esi
je 0x10013c0d
mov ecx, dword [ebp - 0x128]
mov edi, dword [ebp - 0x130]
push ecx
call fcn.10004030
mov edx, dword [ebp - 0x134]
add esp, 4
push edx
call fcn.10004be1
add esp, 4
mov eax, dword [ebp - 0x140]
push eax
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], esi
call fcn.10004be1
mov al, byte [ebp - 0x121]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10004bec
mov esp, ebp
pop ebp
ret