Function at 0xffde1e4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.0ffe896f
test dword [ebp + 0xc], 0xfffff87
je 0xffde209
mov esi, 0x80090009
jmp 0xffde5f7
mov eax, dword [ebp + 0xc]
mov esi, 0xf0000000
and eax, esi
cmp eax, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
jne 0xffde231
test edi, edi
je 0xffde231
cmp byte [edi], 0
je 0xffde231
mov esi, 0x80090009
jmp 0xffde5f6
push 4
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0xffde248
push 0x57
pop esi
jmp 0xffde5f6
test edi, edi
je 0xffde277
cmp byte [edi], 0
je 0xffde27c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xffde256
sub eax, edx
inc eax
test byte [ebp + 0xc], 8
je 0xffde2d0
cmp eax, 0x105
jbe 0xffde2d0
mov esi, 0x8009001f
jmp 0xffde5f6
cmp dword [ebp - 8], esi
je 0xffde2f1
push 0x40
pop esi
push esi
call fcn.0ffe82b0
test eax, eax
mov dword [ebp - 4], eax
je 0xffde569
test byte [ebp + 0xc], 0x20
je 0xffde2a9
mov esi, 0xffd1460
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], 0xc
jmp 0xffde2f1
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0xffde2f1
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 0xa
mov esi, 0xffd1454
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0xffde2f1
push eax
call fcn.0ffe82b0
mov edx, eax
test edx, edx
mov dword [ebp - 4], edx
je 0xffde569
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0xffde2e7
test byte [ebp + 0xc], 0x10
je 0xffde30a
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.0ffdd0f0
jmp 0xffde591
call fcn.0ffddabb
mov ebx, eax
test ebx, ebx
je 0xffde569
mov eax, dword [ebp + 0x18]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x1c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xffde325
sub eax, esi
lea esi, [eax + 1]
push esi
call fcn.0ffe82b0
test eax, eax
je 0xffde569
mov ecx, esi
mov esi, dword [ebp + 0x1c]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 3
pop edx
and ecx, edx
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x198], eax
mov eax, dword [ebp + 0x18]
dec eax
je 0xffde399
dec eax
je 0xffde38d
sub eax, 0xa
je 0xffde385
sub eax, 0xc
je 0xffde379
mov esi, 0x80090014
jmp 0xffde5de
mov dword [ebx + 0x194], 5
jmp 0xffde3d9
mov dword [ebx + 0x194], edx
jmp 0xffde3d9
mov dword [ebx + 0x194], 4
jmp 0xffde3d9
push dword [ebp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0xffd1428
call esi
test eax, eax
jne 0xffde3b5
and dword [ebx + 0x194], eax
jmp 0xffde3d9
push dword [ebp + 0x1c]
push 0xffd1400
call esi
test eax, eax
jne 0xffde3cf
mov dword [ebx + 0x194], 1
jmp 0xffde3d9
mov dword [ebx + 0x194], 2
test byte [ebp + 0xc], 0x40
jne 0xffde3e5
cmp dword [ebp - 8], 0
je 0xffde3ec
mov dword [ebx + 0x3c], 1
mov edi, 0xf0000000
cmp dword [ebp - 8], edi
je 0xffde429
push dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
call fcn.0ffdcf29
test eax, eax
jne 0xffde591
lea esi, [ebx + 0x1c]
push esi
call fcn.0ffe833c
test eax, eax
jne 0xffde591
push esi
call fcn.0ffe8448
test eax, eax
jne 0xffde591
test byte [ebp + 0xc], 0x20
je 0xffde432
or dword [ebx], 0x20
lea eax, [ebx + 0x10]
push eax
call fcn.0ffe9000
test eax, eax
jne 0xffde591
mov esi, dword [ebp + 0x14]
push ebx
push eax
push esi
call fcn.0ffdf87e
test eax, eax
jne 0xffde591
cmp dword [ebp - 8], edi
mov eax, dword [esi]
mov dword [ebx + 0xc], eax
je 0xffde51b
lea esi, [ebx + 0x164]
cmp dword [esi], 2
je 0xffde51b
test byte [ebp + 0xc], 8
jne 0xffde51b
push esi
push dword [ebx + 0x150]
call fcn.0ffdce34
cmp dword [esi], 1
jne 0xffde4bf
push 0x50
call fcn.0ffe82b0
test eax, eax
mov dword [ebx + 0x168], eax
je 0xffde569
push eax
call fcn.0ffe1f52
test eax, eax
je 0xffde548
push ebx
call fcn.0ffe1fa9
test eax, eax
jne 0xffde591
mov esi, dword [esi]
test esi, esi
je 0xffde4d4
cmp esi, 1
je 0xffde4d4
mov esi, 0x80090016
jmp 0xffde5de
push 1
push dword [ebp + 0xc]
push dword [ebx + 0x5c]
push ebx
call fcn.0ffdd76c
test eax, eax
jne 0xffde591
push ebx
push dword [ebx + 0x150]
call fcn.0ffddd83
test eax, eax
je 0xffde51b
cmp eax, 0x80090016
jne 0xffde591
push dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
push dword [ebx + 0x150]
call fcn.0ffde02d
test eax, eax
jne 0xffde591
cmp dword [ebx + 0x30], 0
je 0xffde552
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0xffde552
push 0
push dword [eax + 8]
mov eax, dword [ebx + 0x194]
push 0xa400
push dword [eax*4 + 0xfff0228]
call fcn.0ffec407
test eax, eax
jne 0xffde552
mov esi, 0x8009001a
jmp 0xffde5de
lea esi, [ebx + 0x58]
cmp dword [esi], 0
jne 0xffde576
push 0x14
pop edi
push edi
call fcn.0ffe82b0
test eax, eax
mov dword [esi], eax
jne 0xffde56e
push 8
pop esi
jmp 0xffde5de
mov dword [ebx + 0x38], edi
mov edi, 0xf0000000
push 0xa
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebx + 0x38]
push eax
push esi
lea eax, [ebx + 0x174]
push eax
call fcn.0ffdc536
test eax, eax
je 0xffde595
mov esi, eax
jmp 0xffde5de
cmp dword [ebx + 0x194], 1
je 0xffde5cd
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0xffd13c4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xffde5cd
or dword [ebx], 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0xffde5d5
or dword [ebx], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 4], 0
je 0xffde5ec
push dword [ebp - 4]
call fcn.0ffe82e0
test ebx, ebx
je 0xffde5f6
push ebx
call fcn.0ffdf8be
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18