Function at 0x10004b40
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100277ac
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x10035040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x101
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1b4], 0
movups xmmword [ebp - 0x1c8], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004bc0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10009a80
push 9
push str.C:Users_
push ecx
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 4], 0
call fcn.1000a6c0
mov dword [ebp - 0x1a0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1b0], xmm0
mov dword [ebp - 0x19c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x19c]
mov eax, edx
mov ecx, dword [ebp - 0x1a0]
sub eax, ecx
push 0x13
push str.AppDataLocalTemp
cmp eax, 0x13
jb 0x10004c8c
cmp edx, 0xf
lea esi, [ebp - 0x1b0]
lea eax, [ecx + 0x13]
cmova esi, dword [ebp - 0x1b0]
add esi, ecx
mov dword [ebp - 0x1a0], eax
push esi
call fcn.10010440
add esp, 0xc
mov byte [esi + 0x13], 0
lea eax, [ebp - 0x1b0]
jmp 0x10004ca6
mov byte [ebp - 0x118], 0
lea ecx, [ebp - 0x1b0]
push dword [ebp - 0x118]
push 0x13
call fcn.10009ed0
mov dword [ebp - 0x164], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x160], 0
mov esi, 0x70000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x174], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x164], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x19c]
cmp ecx, 0xf
jbe 0x10004d2f
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004d25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1b4]
cmp ecx, 0xf
jbe 0x10004d88
mov edx, dword [ebp - 0x1c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004d7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
mov byte [ebp - 0x118], 0
lea edx, [ebp - 0x174]
push dword [ebp - 0x118]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
call fcn.1000aa20
add esp, 4
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.10004aa0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x138]
mov byte [ebp - 0x18d], al
cmp ecx, 7
jbe 0x10004e23
mov edx, dword [ebp - 0x14c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004e13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005744
push ecx
push edx
call fcn.1000eded
mov al, byte [ebp - 0x18d]
add esp, 8
test al, al
je 0x100056ee
mov byte [ebp - 0x118], 0
lea edx, [ebp - 0x174]
push dword [ebp - 0x118]
lea ecx, [ebp - 0x1e0]
call fcn.1000aa20
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
lea edx, [ebp - 0x1e0]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x124]
call fcn.10008e10
add esp, 4
test eax, eax
jne 0x10005749
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1cc]
cmp ecx, 7
jbe 0x10004ec1
mov edx, dword [ebp - 0x1e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004eb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000575c
push ecx
push edx
call fcn.1000eded
add esp, 8
mov ecx, dword [ebp - 0x120]
xorps xmm0, xmm0
movlpd qword [ebp - 0x134], xmm0
test ecx, ecx
je 0x10004eda
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x124]
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x130], ecx
test ecx, ecx
je 0x10004ef4
lock inc dword [ecx + 4]
movlpd qword [ebp - 0x154], xmm0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
test ecx, ecx
je 0x10004f37
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10004f37
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x120]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10004f37
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
test edi, edi
je 0x1000569a
mov ecx, edi
call fcn.100045b0
test al, al
je 0x10005681
lea eax, [edi + 0x20]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100039a0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x18c]
call fcn.100038d0
push ecx
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 0xd
push ecx
or esi, 1
mov ecx, eax
mov dword [ebp - 0x118], esi
call fcn.10008c70
or esi, 0x1000
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x1f8]
or esi, 2
cmp dword [ebp - 0x1e4], 0xf
mov dword [ebp - 0x194], esi
cmova ecx, dword [ebp - 0x1f8]
cmp dword [ebp - 0x1e8], 6
mov dword [ebp - 0x118], esi
jne 0x10005017
mov eax, dword [ecx]
mov edx, str.VSLogs
mov edi, 2
cmp eax, dword [edx]
jne 0x10004fe7
add ecx, 4
mov edi, 0xfffffffe
add edx, 4
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1000500e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1000500e
cmp edi, 0xfffffffe
je 0x1000500a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1000500e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1000500e
xor eax, eax
jmp 0x10005013
sbb eax, eax
or eax, 1
test eax, eax
je 0x10005071
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x18c]
call fcn.100038d0
push ecx
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 4], 0xf
push ecx
or esi, 4
mov ecx, eax
mov dword [ebp - 0x118], esi
call fcn.10008c70
push ecx
or esi, 0x8000008
lea ecx, [ebp - 0x1c8]
push str..dir
mov dword [ebp - 0x194], esi
call fcn.10008230
mov byte [ebp - 0x18d], 1
cmp eax, 0xffffffff
je 0x10005078
mov byte [ebp - 0x18d], 0
mov eax, dword [ebp - 0x194]
test al, 8
je 0x100050e6
mov ecx, dword [ebp - 0x1b4]
and eax, 0xfffffff7
mov dword [ebp - 0x194], eax
cmp ecx, 0xf
jbe 0x100050cb
mov edx, dword [ebp - 0x1c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100050bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
mov eax, dword [ebp - 0x194]
add esp, 8
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 4], 0xe
test al, 4
je 0x1000515d
mov ecx, dword [ebp - 0x1cc]
and eax, 0xfffffffb
mov dword [ebp - 0x194], eax
cmp ecx, 7
jbe 0x10005140
mov edx, dword [ebp - 0x1e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005130
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
mov eax, dword [ebp - 0x194]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 7
mov word [ebp - 0x1e0], cx
mov dword [ebp - 4], 0xd
test al, 2
je 0x100051cc
mov ecx, dword [ebp - 0x1e4]
and eax, 0xfffffffd
mov dword [ebp - 0x194], eax
cmp ecx, 0xf
jbe 0x100051b1
mov edx, dword [ebp - 0x1f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100051a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
mov eax, dword [ebp - 0x194]
add esp, 8
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
mov dword [ebp - 4], 0xc
test al, 1
je 0x10005220
mov ecx, dword [ebp - 0x138]
and eax, 0xfffffffe
mov dword [ebp - 0x194], eax
cmp ecx, 7
jbe 0x10005220
mov edx, dword [ebp - 0x14c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005216
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
cmp byte [ebp - 0x18d], 0
je 0x10005637
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
push ecx
lea edx, [ebp - 0x18c]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x12c]
call fcn.10008e10
add esp, 4
test eax, eax
jne 0x10005766
mov esi, dword [ebp - 0x128]
xorps xmm0, xmm0
movlpd qword [ebp - 0x11c], xmm0
test esi, esi
je 0x1000527b
lock inc dword [esi + 4]
mov edi, dword [ebp - 0x12c]
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x118], esi
test esi, esi
je 0x10005295
lock inc dword [esi + 4]
movlpd qword [ebp - 0x15c], xmm0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
test esi, esi
je 0x100052d6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100052d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100052d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x194]
test edi, edi
je 0x100055df
nop dword [eax + eax]
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [edi + 0x20]
call fcn.100038d0
push ecx
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x14
push ecx
mov ecx, eax
call fcn.10008c70
or esi, 0x10
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x19c]
cmp ecx, 7
jbe 0x10005359
mov edx, dword [ebp - 0x1b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000534f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
xor eax, eax
mov dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x13c], 0x26
mov dword [ebp - 0x19c], 7
mov word [ebp - 0x1b0], ax
jne 0x10005588
push ecx
push 0x1003054c
lea ecx, [ebp - 0x14c]
call fcn.10008230
test eax, eax
je 0x10005588
push ecx
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [edi + 0x20]
call fcn.10008c70
or esi, 0x80000
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x1c8]
cmp dword [ebp - 0x1b4], 0xf
push dword [ebp - 0x1b8]
cmova edx, dword [ebp - 0x1c8]
call fcn.1000aa60
push eax
call fcn.100091c0
mov byte [ebp - 4], 0x16
add esp, 8
mov ecx, dword [ebp - 0x1b4]
cmp ecx, 0xf
jbe 0x1000541c
mov edx, dword [ebp - 0x1c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005412
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
mov eax, dword [0x10037370]
lea ecx, [ebp - 0x18c]
mov byte [eax], 1
lea eax, [ebp - 0x210]
push eax
call fcn.100038d0
push ecx
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x18
push ecx
mov ecx, eax
call fcn.10008c70
or esi, 0x1000000
push 0x1f
push str.Detected__Bypass_Cheat_Engine_
push ecx
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x19
call fcn.1000a6c0
or esi, 0x4000000
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [0x10037324]
movq qword [ebp - 0x198], xmm1
movups xmmword [ebp - 0x1a8], xmm0
cmp ecx, 0xf
jbe 0x100054dc
mov eax, dword [0x10037310]
inc ecx
cmp ecx, 0x1000
jb 0x100054c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
mov eax, edx
push ecx
push eax
call fcn.1000eded
movups xmm0, xmmword [ebp - 0x1a8]
add esp, 8
movq xmm1, qword [ebp - 0x198]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1cc]
movq qword [0x10037320], xmm1
movups xmmword [0x10037310], xmm0
cmp ecx, 0xf
jbe 0x10005529
mov edx, dword [ebp - 0x1e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000551f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
cmp ecx, 7
jbe 0x10005588
mov edx, dword [ebp - 0x210]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000557e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x138]
cmp ecx, 0xf
jbe 0x100055c6
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100055bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
lea ecx, [ebp - 0x11c]
call fcn.10004990
mov edi, dword [ebp - 0x11c]
test edi, edi
jne 0x100052f0
mov edi, dword [ebp - 0x118]
test edi, edi
je 0x1000560a
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1000560a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1000560a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x128]
test edi, edi
je 0x1000563d
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1000563d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1000563d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x1000563d
mov esi, dword [ebp - 0x194]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x178]
cmp ecx, 7
jbe 0x10005681
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005677
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000573f
push ecx
push edx
call fcn.1000eded
add esp, 8
lea ecx, [ebp - 0x134]
call fcn.10004990
mov edi, dword [ebp - 0x134]
test edi, edi
jne 0x10004f43
mov esi, dword [ebp - 0x130]
or edi, 0xffffffff
test esi, esi
je 0x100056c6
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100056c6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100056c6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x100056ee
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100056ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100056ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x160]
cmp ecx, 0xf
jbe 0x10005724
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000571a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005761
push ecx
push edx
call fcn.1000eded
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000eddf
mov esp, ebp
pop ebp
ret
call fcn.10013ed4
call fcn.10013ed4
lea ecx, [ebp - 0x1e0]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.10004380
call fcn.10013ed4
call fcn.10013ed4
lea ecx, [ebp - 0x18c]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.10004380
int3