Function at 0x1000f570
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x100420f5
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x250], eax
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov dword [esp + 0x14], ebx
xor ebp, ebp
sub esp, 0x1c
mov dword [esp + 0x288], ebp
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x298]
mov word [ecx + 4], bp
call fcn.100020a0
mov esi, ebx
call fcn.100345f0
lea edi, [ebx + 0x1c]
mov eax, 7
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebp
mov word [edi + 4], bp
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x4c], ebp
mov word [ebx + 0x3c], bp
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x74], ebp
mov word [ebx + 0x64], bp
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x90], ebp
mov word [ebx + 0x80], bp
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xac], ebp
mov word [ebx + 0x9c], bp
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xc8], ebp
mov word [ebx + 0xb8], bp
lea esi, [ebx + 0xd0]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebp
mov word [esi + 4], bp
mov dword [ebx + 0x108], eax
mov dword [ebx + 0x104], ebp
mov word [ebx + 0xf4], bp
push ebp
mov byte [esp + 0x270], 9
call dword [sym.imp.MSVCR80.dll__time64]
push eax
call dword [sym.imp.MSVCR80.dll_srand]
add esp, 8
mov dword [ebx + 0x54], ebp
mov dword [ebx + 0x58], ebp
mov dword [ebx + 0x5c], ebp
call fcn.10001fc0
mov ecx, esi
call fcn.10023d70
cmp dword [ebx + 0xe4], ebp
lea edi, [ebp + 8]
je 0x1000f795
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
push 0x208
lea eax, [esp + 0x56]
push ebp
mov byte [esp + 0x274], 0xa
push eax
mov word [esp + 0x5c], bp
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [esp + 0x50]
mov word [esp + 0x256], bp
lea edx, [eax + 2]
jmp 0x1000f700
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x1000f700
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x54]
push eax
lea esi, [esp + 0x3c]
call fcn.100025e0
push str.__r_t_n
mov eax, esi
call fcn.100228c0
push str.__r_t_n
mov eax, esi
call fcn.10022930
add esp, 8
push 9
push str..CEIZ.log
mov ecx, esi
call fcn.100024e0
mov ecx, esi
push ecx
lea esi, [ebx + 0xd0]
push esi
lea ecx, [esp + 0x20]
call fcn.10024290
add esp, 8
push 0xffffffffffffffff
push ebp
mov ecx, esi
mov byte [esp + 0x274], 0xb
call fcn.100020a0
cmp dword [esp + 0x30], edi
jb 0x1000f782
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x4c], edi
jb 0x1000f795
mov eax, dword [esp + 0x38]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x28c], edi
mov dword [ebx + 0xec], ebp
jb 0x1000f7b4
mov ecx, dword [esp + 0x278]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x260
ret 0x1c