Function at 0x207560
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x248a20
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x265124]
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
mov ebx, ecx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x414], ebx
lea eax, [ebp - 0x430]
mov dword [ebp - 0x414], ebx
push eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x430], 0xff
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], 0xff
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], 0xff
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidIdentifierAuthority]
push 1
sub esp, 0x18
mov edi, eax
mov ecx, esp
push str.RC1m5HLi
call fcn.00223030
lea ecx, [ebp - 0x42c]
call fcn.002061f0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x20763c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00202400
mov edx, dword [ebp - 0x418]
add esp, 0xc
mov dword [ebp - 0x438], eax
cmp edx, 0x10
jb 0x20768c
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x207682
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2078c3
push edx
push ecx
call fcn.00229d26
add esp, 8
lea esi, [ebp - 0x110]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x207695
movzx eax, byte [edi + 5]
sub esi, ecx
push eax
sub esp, 0x18
mov ecx, esp
push str.GW2t7Q
call fcn.00223030
lea ecx, [ebp - 0x42c]
call fcn.002061f0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x2076c8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x110]
add eax, esi
push eax
call fcn.00202400
add dword [ebp - 0x438], eax
add esp, 0xc
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x20771a
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x207710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2078c8
push edx
push ecx
call fcn.00229d26
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
xor esi, esi
movzx edi, byte [eax]
test edi, edi
je 0x2077d8
mov ebx, dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
nop word [eax + eax]
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
push dword [eax]
sub esp, 0x18
mov ecx, esp
push str.IWWt7Q
call fcn.00223030
lea ecx, [ebp - 0x42c]
call fcn.002061f0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x207771
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x110]
add eax, ecx
push eax
call fcn.00202400
add dword [ebp - 0x438], eax
add esp, 0xc
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x2077c9
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2077bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2078c3
push edx
push ecx
call fcn.00229d26
add esp, 8
inc esi
cmp esi, edi
jl 0x207740
mov ebx, dword [ebp - 0x440]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x41c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x207806
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00223f40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x42c]
mov ecx, 0x28
mov dword [ebx], 0
cmp dword [ebp - 0x41c], ecx
mov dword [ebx + 0x10], 0
cmovb ecx, dword [ebp - 0x41c]
cmp dword [ebp - 0x418], 0x10
push ecx
cmovae eax, dword [ebp - 0x42c]
mov ecx, ebx
mov dword [ebx + 0x14], 0xf
push eax
mov byte [ebx], 0
call fcn.00223f40
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x2078a5
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x20789b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2078cd
push edx
push ecx
call fcn.00229d26
add esp, 8
mov eax, ebx
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.002296b0
mov esp, ebp
pop ebp
ret
call fcn.0022ea38
call fcn.0022ea38
call fcn.0022ea38
int3