Function at 0x10049920
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cbefc
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x100e800c]
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 ecx, dword [0x101a9a44]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1004a010
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x144], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x290]
call fcn.10043780
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x2a0], eax
add esp, 4
mov dword [ebp - 0x29c], str._H:_M:_S
mov eax, str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x100499c7
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x298], eax
lea ecx, [ebp - 0x290]
call fcn.1004d290
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
push 0
push 0x100d6878
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.1003dc00
mov eax, dword [0x100e8018]
mov ecx, 0xff
add eax, 7
mov dword [ebp - 0x124], 0x101
cmp eax, ecx
cmovg eax, ecx
mov ecx, 0x64
mov dword [0x100e8018], eax
mov eax, dword [0x100e8014]
add eax, 7
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100e8014], eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [0x1012c978]
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.10043950
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c8]
cmp dword [ebp - 0x2b4], 0x10
cmovae eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movd xmm1, eax
mov eax, dword [0x101b5268]
cvtdq2ps xmm1, xmm1
inc eax
mov dword [0x101b5268], eax
mulss xmm1, dword [0x100dcbc4]
movaps xmm0, xmm1
movss dword [0x101b5250], xmm1
subss xmm0, dword [0x101b5284]
comiss xmm0, dword [0x100dccd8]
jb 0x10049b01
movss dword [0x101b5284], xmm1
mov dword [0x101b5290], eax
mov dword [0x101b5268], 0
jmp 0x10049b06
mov eax, dword [0x101b5290]
push 0x98
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x1f8]
call fcn.10043780
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x300], eax
mov esi, eax
mov dword [ebp - 0x2fc], 4
mov edi, 4
nop
mov ecx, esi
call fcn.1003ed80
add esi, 0xc
sub edi, 1
jne 0x10049b50
push dword [ebp - 0x2fc]
mov dword [ebp - 0x29c], 0x1004d6a0
lea eax, [ebp - 0x13c]
push dword [ebp - 0x300]
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x1f8]
movq xmm0, qword [ebp - 0x2a0]
lea eax, [ebp - 0x118]
mov dword [ebp - 0x2a0], eax
mov edx, str.talkshit__s___s___i_fps___s
movq qword [ebp - 0x2f8], xmm0
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x29c], 0x1004d820
movq xmm0, qword [ebp - 0x2a0]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2ac]
movq qword [ebp - 0x2ec], xmm0
mov dword [ebp - 0x29c], 0x1004d880
movq xmm0, qword [ebp - 0x2a0]
movq qword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], 0x10044040
movq xmm0, qword [ebp - 0x2a0]
mov dword [ebp - 0x2f0], fcn.10044060
mov dword [ebp - 0x2e4], fcn.10044060
mov dword [ebp - 0x2d8], 0x1004da00
movq qword [ebp - 0x2d4], xmm0
mov dword [ebp - 0x2cc], fcn.10044060
call fcn.10040f40
add esp, 8
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x1f4]
push eax
call fcn.10043950
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x1f8], 0x100d7208
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1fc], eax
lea ecx, [ebp - 0x1f4]
call fcn.1003d5b0
lea ecx, [ebp - 0x1f0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2b4]
cmp edx, 0x10
jb 0x10049cda
mov ecx, dword [ebp - 0x2c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10049cd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049cd0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c94d3
add esp, 8
lea eax, [ebp - 0x160]
mov dword [ebp - 0x2b8], 0
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x2b4], 0xf
push eax
mov ecx, 0x101abeb8
mov byte [ebp - 0x2c8], 0
call fcn.100b2c90
mov ecx, dword [0x101a9a50]
mov al, byte [0x100e8018]
mov ebx, dword [0x101b1c64]
mov edi, dword [ebp - 0x120]
sub ebx, edi
mov esi, dword [ebp - 0x11c]
sub ebx, 0x17
mov byte [ebp - 0x291], al
mov eax, dword [ecx]
mov word [ebp - 0x294], 0x505
mov byte [ebp - 0x292], 5
push dword [ebp - 0x294]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101a9a50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0x11]
push eax
lea eax, [edi + 0xf]
add eax, ebx
push eax
push 5
push ebx
call edx
mov ecx, dword [0x101a9a50]
mov al, byte [0x100e8018]
mov ebx, dword [0x101b1c64]
mov edi, dword [ebp - 0x120]
sub ebx, edi
mov esi, dword [ebp - 0x11c]
sub ebx, 0x16
mov byte [ebp - 0x291], al
mov eax, dword [ecx]
mov word [ebp - 0x294], 0x2d2d
mov byte [ebp - 0x292], 0x2d
push dword [ebp - 0x294]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101a9a50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0x10]
push eax
lea eax, [edi + 0xd]
add eax, ebx
push eax
push 6
push ebx
call edx
mov ecx, dword [0x101a9a50]
mov al, byte [0x100e8018]
mov ebx, dword [0x101b1c64]
mov edi, dword [ebp - 0x120]
sub ebx, edi
mov esi, dword [ebp - 0x11c]
sub ebx, 0x15
mov byte [ebp - 0x291], al
mov eax, dword [ecx]
mov word [ebp - 0x294], 0x1818
mov byte [ebp - 0x292], 0x18
push dword [ebp - 0x294]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101a9a50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xf]
push eax
lea eax, [edi + 0xb]
add eax, ebx
push eax
push 7
push ebx
call edx
movzx edx, byte [ebp - 0x2ae]
mov eax, dword [ebp - 0x2a4]
mov ebx, dword [0x101b1c64]
mov edi, dword [ebp - 0x120]
sub ebx, edi
mov esi, dword [ebp - 0x11c]
sub ebx, 0x14
movzx ecx, ah
shl edx, 8
or edx, ecx
movzx eax, al
mov ecx, dword [0x101a9a50]
shl edx, 8
or edx, eax
mov dword [ebp - 0x294], edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
movzx eax, byte [0x100e8018]
shl eax, 0x18
or eax, dword [ebp - 0x294]
push eax
call edx
mov ecx, dword [0x101a9a50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi - 4]
push eax
lea eax, [edi + 9]
add eax, ebx
push eax
push 8
push ebx
call edx
mov ecx, dword [0x101a9a50]
mov ebx, dword [0x101b1c64]
mov edi, dword [ebp - 0x120]
sub ebx, edi
mov esi, dword [ebp - 0x11c]
sub ebx, 0x14
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
movzx eax, byte [0x100e8014]
shl eax, 0x18
or eax, dword [ebp - 0x294]
push eax
call edx
mov ecx, dword [0x101a9a50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi - 3]
push eax
lea eax, [edi + 9]
add eax, ebx
push eax
push 9
push ebx
call edx
mov esi, dword [0x101b1c64]
lea eax, [ebp - 0x160]
push 1
push eax
mov al, byte [0x100e8018]
add esi, 0xfffffff1
push ecx
mov edx, esp
mov ecx, 0x101abeb8
push 0xc
push esi
mov word [edx], 0xbaba
mov byte [edx + 2], 0xba
mov byte [edx + 3], al
call fcn.100b2a40
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x10049f54
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10049f4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049f9b
push edx
push ecx
call fcn.100c94d3
add esp, 8
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
cmp edx, 0x10
jb 0x10049fab
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10049fa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10049fa1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c94d3
add esp, 8
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x290], 0x100d7208
mov eax, dword [ebp - 0x290]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x294], eax
lea ecx, [ebp - 0x28c]
call fcn.1003d5b0
lea ecx, [ebp - 0x288]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x240]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.100c8fa5
mov esp, ebp
pop ebp
ret