Function at 0x1002e36d
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079ae3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x30], 7
push 2
lea ecx, [ebp - 0x100]
call fcn.100173a1
and dword [ebp - 4], 0
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x12c], 0xfffffffb
mov dword [ebp - 0x94], 0xd484
mov dword [ebp - 0xc8], 0x6ae3d475
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
jmp 0x1002e3ec
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1002e408
push dword [ebp - 0x24]
lea ecx, [ebp - 0x100]
call fcn.1001743f
mov dword [eax], 0x999d94b4
jmp 0x1002e3e5
cmp dword [ebp - 0xa4], 0xffffffff
jl 0x1002e41a
mov dword [ebp - 0x64], 1
jmp 0x1002e41e
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x30], 0
je 0x1002e439
cmp dword [ebp - 0x94], 0
je 0x1002e439
mov dword [ebp - 0x90], 1
jmp 0x1002e440
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x90], eax
jl 0x1002e454
mov dword [ebp - 0x4c], 1
jmp 0x1002e458
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x4c]
jne 0x1002e46c
mov dword [ebp - 0x54], 1
jmp 0x1002e470
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x9c], eax
push 0
lea ecx, [ebp - 0x100]
call fcn.1001743f
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x54]
je 0x1002e4a9
mov dword [ebp - 0x5c], 1
jmp 0x1002e4ad
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x5c]
je 0x1002e4c4
mov dword [ebp - 0xb0], 1
jmp 0x1002e4cb
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xb0], eax
jg 0x1002e4e5
mov dword [ebp - 0xb8], 1
jmp 0x1002e4ec
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0xb8]
jl 0x1002e503
mov dword [ebp - 0xac], 1
jmp 0x1002e50a
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x7f76
push 1
push 0x572f
call fcn.1002cfde
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.10017423
lea eax, [ebp + 8]
push eax
push 0x7f36
push 0x7797
push 1
push 0x4d03
push dword [ebp + 0xc]
call fcn.1002d09d
add esp, 0x18
mov dword [ebp - 0x10], 0xd41e5596
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x2c], 0
jmp 0x1002e582
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1002e598
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0xc4], 0xffffffff
jmp 0x1002e57b
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp + eax - 0xc4], ecx
mov dword [ebp - 0x10], 0
jmp 0x1002e5b8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x1002e67a
mov dword [ebp - 0xe0], 0xfffc
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xc4]
cmp dword [ebp - 0x10], eax
jle 0x1002e600
mov dword [ebp - 0x70], 1
jmp 0x1002e604
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x1002e62c
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0xc4], 0
je 0x1002e62c
mov dword [ebp - 0x78], 1
jmp 0x1002e630
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0xc4]
add ecx, dword [ebp - 0x78]
cmp dword [ebp + eax*4 - 0xc4], ecx
jl 0x1002e658
mov dword [ebp - 0xa8], 1
jmp 0x1002e65f
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0xc4], eax
jmp 0x1002e5b1
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x1002e9a8
mov dword [ebp - 0xd4], 0x197f
mov dword [ebp - 0xd8], 0xe41b66ba
mov dword [ebp - 0x20], 0xdc8dfba2
push 0x5585
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x20]
push eax
push 5
push 1
call fcn.1002ded3
add esp, 0x18
mov dword [ebp - 0x20], 0xd
jmp 0x1002e6d4
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x1002e6fc
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1002e6fa
push 0xa44
push 1
push 0x2278
call fcn.1002e029
add esp, 0xc
jmp 0x1002e6cd
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x14]
push eax
push 1
lea eax, [ebp + 0x10]
push eax
call fcn.1002e0a1
add esp, 0x10
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x60], 3
mov dword [ebp - 0xe8], 0x45e2
push 3
lea ecx, [ebp - 0xf4]
call fcn.100173a1
mov dword [ebp - 4], 1
lea eax, [ebp - 0xf4]
push eax
push 1
lea eax, [ebp - 0x130]
push eax
call fcn.1002e0f4
add esp, 0xc
mov dword [ebp - 0x18], 0xfffffff8
jmp 0x1002e766
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1c
jl 0x1002e986
mov dword [ebp - 0x34], 0xfffffff7
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x68], 0xd6446bd2
mov dword [ebp - 0x3c], 0xed09eb81
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x60], eax
je 0x1002e7af
mov dword [ebp - 0x80], 1
jmp 0x1002e7b3
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x80]
cmp eax, 0x3f30
jne 0x1002e7cc
mov dword [ebp - 0xa0], 1
jmp 0x1002e7d3
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0xa0], eax
jge 0x1002e7ea
mov dword [ebp - 0x88], 1
jmp 0x1002e7f1
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 5
je 0x1002e806
mov dword [ebp - 0xb4], 1
jmp 0x1002e80d
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xffffffff
jl 0x1002e81f
mov dword [ebp - 0x40], 1
jmp 0x1002e823
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x40], eax
jle 0x1002e837
cmp dword [ebp - 0x68], 0
jne 0x1002e837
and dword [ebp - 0x6c], 0
jmp 0x1002e83e
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x6c], eax
jle 0x1002e84f
mov dword [ebp - 0x74], 1
jmp 0x1002e853
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
dec eax
cmp eax, dword [ebp - 0x34]
je 0x1002e865
mov dword [ebp - 0x7c], 1
jmp 0x1002e869
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x7c], eax
jle 0x1002e880
mov dword [ebp - 0xdc], 1
jmp 0x1002e887
and dword [ebp - 0xdc], 0
push 1
lea ecx, [ebp - 0xf4]
call fcn.1001743f
cmp dword [ebp - 0x38], 0
je 0x1002e8af
mov eax, 0xfe8e60a2
test eax, eax
je 0x1002e8af
mov dword [ebp - 0xe4], 1
jmp 0x1002e8b6
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x134], eax
push 2
lea ecx, [ebp - 0xf4]
call fcn.1001743f
cmp dword [eax], 0
je 0x1002e8e6
mov eax, 0xdd5c0aec
test eax, eax
je 0x1002e8e6
mov dword [ebp - 0x84], 1
jmp 0x1002e8ed
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 6
je 0x1002e902
mov dword [ebp - 0x8c], 1
jmp 0x1002e909
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x34], eax
jge 0x1002e921
mov dword [ebp - 0x44], 1
jmp 0x1002e925
and dword [ebp - 0x44], 0
push 1
lea ecx, [ebp - 0xf4]
call fcn.1001743f
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jge 0x1002e942
mov dword [ebp - 0x48], 1
jmp 0x1002e946
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
jge 0x1002e955
mov dword [ebp - 0x50], 1
jmp 0x1002e959
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x18]
add eax, 0x4ff48dd8
cmp eax, 0xb4cc
jne 0x1002e974
mov dword [ebp - 0x58], 1
jmp 0x1002e978
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
jmp 0x1002e75f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.10017423
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
jmp 0x1002eabe
mov dword [ebp - 0xd0], 1
push 2
lea ecx, [ebp - 0x10c]
call fcn.100173a1
mov dword [ebp - 4], 2
mov dword [ebp - 0xcc], 1
push 3
lea ecx, [ebp - 0x118]
call fcn.100173a1
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0
jmp 0x1002e9f1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002ea0a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10c]
call fcn.1001743f
or dword [eax], 0xffffffff
jmp 0x1002e9ea
mov dword [ebp - 0x14], 0
jmp 0x1002ea1a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002ea36
push dword [ebp - 0x14]
lea ecx, [ebp - 0x118]
call fcn.1001743f
mov dword [eax], 0x26c312fb
jmp 0x1002ea13
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002ea4c
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x285a
push 1
push 0x705e
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.1002e15b
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.10017423
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.10017423
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
push 1
call fcn.1002e26a
pop ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret