Function at 0x1002823c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002825c
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x10028c7d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 0x44], 0
jmp 0x10028288
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1002829e
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x154], 0
jmp 0x10028281
mov dword [ebp - 0x2c], 0
jmp 0x100282ae
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x15
jl 0x1002840d
mov dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 0x8c], 4
mov dword [ebp - 0x10], 0
jmp 0x100282d9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x100283ee
mov dword [ebp - 0x100], 0xdec4f3f7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x19c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x154], 0x3535
jle 0x10028315
mov dword [ebp - 0x98], 1
jmp 0x1002831c
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jne 0x1002833d
mov dword [ebp - 0xf8], 1
jmp 0x10028344
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x154]
cmp dword [ebp - 0xf8], eax
je 0x10028362
mov dword [ebp - 0xfc], 1
jmp 0x10028369
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0xdbc5
je 0x10028381
mov dword [ebp - 0x84], 1
jmp 0x10028388
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x84]
jle 0x1002839f
mov dword [ebp - 0xc4], 1
jmp 0x100283a6
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xc4], eax
jle 0x100283bd
mov dword [ebp - 0x10c], 1
jmp 0x100283c4
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x154]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x8c], 0xc6076fda
cmp dword [ebp - 0x8c], 0
je 0x100283e9
jmp 0x100283ee
jmp 0x100282d2
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10028408
push 0
push 0x16a7
call fcn.1002bd7d
pop ecx
pop ecx
jmp 0x100282a7
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
mov dword [ebp - 0x18c], 0xffffffff
push 0x2361
push 0x4ab4
push 0x29fc
push 1
push 0x2720
call fcn.10025e8a
add esp, 0x14
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10028454
push 0
call fcn.1002c720
pop ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x10028c7d
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x14d2fc5c
mov dword [ebp - 0x28], 0xbc1552c2
mov dword [ebp - 4], 0xe8b7
mov eax, dword [ebp - 4]
add eax, 0x7a4a
je 0x100284e1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x160], eax
mov eax, 0xfff8
add eax, 0x75a5
cmp eax, 0xaa53f0d3
jne 0x100284be
mov dword [ebp - 0xe4], 1
jmp 0x100284c5
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xffffffff
jl 0x100284da
mov dword [ebp - 0x94], 1
jmp 0x100284e1
and dword [ebp - 0x94], 0
cmp dword [ebp - 4], 0
je 0x10028877
mov dword [ebp - 0x18], 5
mov dword [ebp - 0xc], 0xae5d5ec7
mov dword [ebp - 0x24], 0x55e97312
mov dword [ebp - 0xbc], 0x4c0c5dc7
mov dword [ebp - 0x134], 0x92777ef5
mov dword [ebp - 0x40], 0
jmp 0x10028524
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x10028537
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x7c], 0xc0e2632c
jmp 0x1002851d
mov dword [ebp - 4], 0
jmp 0x10028547
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x10028727
mov dword [ebp - 0x130], 0x6340c09c
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x7c]
mov dword [ebp - 0x180], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x7c], 0
je 0x1002858b
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x7c], 0
je 0x1002858b
mov dword [ebp - 0xcc], 1
jmp 0x10028592
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100285b6
mov eax, 0xbfe7374
test eax, eax
je 0x100285b6
mov dword [ebp - 0x13c], 1
jmp 0x100285bd
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x7c]
mov dword [ebp - 0x168], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x7c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x7c]
add eax, dword [ebp - 0x24]
cmp eax, 0xfbde
je 0x100285fd
mov dword [ebp - 0x9c], 1
jmp 0x10028604
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x7c]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp eax, dword [ebp + ecx*4 - 0x7c]
jne 0x1002862c
mov dword [ebp - 0xf4], 1
jmp 0x10028633
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 0xfffffff6
jbe 0x10028648
mov dword [ebp - 0x104], 1
jmp 0x1002864f
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
add eax, dword [ebp + ecx*4 - 0x7c]
jne 0x10028674
push 0xfffffffffffffffc
pop eax
test eax, eax
jne 0x10028674
and dword [ebp - 0xa4], 0
jmp 0x1002867e
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xa4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x28], eax
je 0x1002869f
mov dword [ebp - 0xd4], 1
jmp 0x100286a6
and dword [ebp - 0xd4], 0
imul eax, dword [ebp - 0xd4], 0x9257
mov ecx, 0x7018
sub ecx, eax
imul eax, ecx, 0xb053
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
jne 0x100286ec
mov eax, 0x16e8
test eax, eax
jne 0x100286ec
and dword [ebp - 0xac], 0
jmp 0x100286f6
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 8]
shl eax, 1
cmp eax, dword [ebp - 0xac]
jl 0x1002870f
mov dword [ebp - 0xec], 1
jmp 0x10028716
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x130], eax
jmp 0x10028540
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 8], 0xfffffff7
je 0x10028742
mov dword [ebp - 0x12c], 1
jmp 0x10028749
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 8]
add eax, 0x6e0e3f56
cmp dword [ebp - 0x18], eax
jl 0x1002876b
mov dword [ebp - 0xb4], 1
jmp 0x10028772
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
add eax, 3
imul eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jg 0x10028790
mov dword [ebp - 0x114], 1
jmp 0x10028797
and dword [ebp - 0x114], 0
cmp dword [ebp - 4], 0
je 0x100287a9
mov dword [ebp - 0xdc], 1
jmp 0x100287b0
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0xdc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xe0ee4d50
jb 0x100287e0
cmp dword [ebp - 0x18], 0
jne 0x100287e0
and dword [ebp - 0x140], 0
jmp 0x100287ea
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 8], 0xae77ddba
ja 0x1002881a
cmp dword [ebp - 4], 0
jne 0x1002881a
and dword [ebp - 0x11c], 0
jmp 0x10028824
mov dword [ebp - 0x11c], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x7c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 8], eax
jl 0x10028844
mov dword [ebp - 0x6c], 1
jmp 0x10028848
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 4]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x7c]
jl 0x10028862
mov dword [ebp - 0x80], 1
jmp 0x10028866
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x134], eax
jmp 0x1002889c
mov byte [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x1002889c
push 0
push 0x62e7
push 0x5344
push 0x1a15
call fcn.10028d32
add esp, 0x10
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x1002894f
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
je 0x10028903
mov dword [ebp - 0x88], 0x97a8
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x100288dc
push 0x5001
push 0
call fcn.1002c750
pop ecx
pop ecx
mov dword [ebp - 0x30], 0
jmp 0x100288ec
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1e
jl 0x10028901
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
jmp 0x100288e5
jmp 0x1002893a
mov dword [ebp - 0x124], 0x987f
mov dword [ebp - 0x138], 0x5efa20bd
mov dword [ebp - 0x90], 0x34d8
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x10028c7d
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x10028c7d
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x50], 0x299fa9ef
mov dword [ebp - 0xe0], 0xfffffff7
mov dword [ebp - 0x48], 0
jmp 0x10028988
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x1002899b
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x64], 0
jmp 0x10028981
mov dword [ebp - 0x20], 0xfffffff6
jmp 0x100289ab
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffec
jne 0x10028c4f
mov dword [ebp - 0x110], 0x62e08974
mov dword [ebp - 0x128], 0x6dfc9b99
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 0xfffffffc
mov dword [ebp - 0x120], 3
mov dword [ebp - 0x34], 0
jmp 0x100289f8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10028a0e
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x148], 0x2c41ac3d
jmp 0x100289f1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x50]
cmp dword [ebp + eax - 0x64], ecx
jl 0x10028a26
mov dword [ebp - 0x68], 1
jmp 0x10028a2a
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x68]
je 0x10028a3e
mov dword [ebp - 0xa0], 1
jmp 0x10028a45
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
imul eax, dword [ebp - 0xa0]
cmp eax, 0xfffffffd
jl 0x10028a67
mov dword [ebp - 0xa8], 1
jmp 0x10028a6e
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x87972e7e
jae 0x10028a86
mov dword [ebp - 0xb0], 1
jmp 0x10028a8d
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0xb0]
dec eax
mov ecx, dword [ebp - 0x58]
dec ecx
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x10028ab3
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x148], 0
jne 0x10028ac1
xor eax, eax
inc eax
jne 0x10028ac1
and dword [ebp - 0xb8], 0
jmp 0x10028acb
mov dword [ebp - 0xb8], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xb8], eax
jg 0x10028ae8
mov dword [ebp - 0xc0], 1
jmp 0x10028aef
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0xc0], eax
jg 0x10028b06
mov dword [ebp - 0xc8], 1
jmp 0x10028b0d
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0xc8]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x54]
add eax, 0xb09c
cmp eax, dword [ebp - 0x20]
jne 0x10028b42
mov dword [ebp - 0x108], 1
jmp 0x10028b49
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x17c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0xd0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xd0]
mov dword [ebp + eax - 0x148], ecx
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0xd0]
jg 0x10028b8f
mov dword [ebp - 0xd8], 1
jmp 0x10028b96
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x10028c21
mov dword [ebp - 0x118], 0xfffffff6
mov dword [ebp - 0x3c], 0
jmp 0x10028bc5
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x11
jge 0x10028c12
xor eax, eax
inc eax
je 0x10028be4
cmp dword [ebp - 0x118], 0
je 0x10028be4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0
cmp dword [ebp - 0x120], 1
jg 0x10028bf9
mov dword [ebp - 0xe8], 1
jmp 0x10028c00
and dword [ebp - 0xe8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xe8]
mov dword [ebp + eax - 0x64], ecx
jmp 0x10028bbe
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp + eax - 0x64], ecx
jmp 0x10028c3b
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x10028c3b
push 0x7430
push 0
call fcn.1002817c
pop ecx
pop ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x128], eax
jmp 0x100289a4
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xf0]
push eax
push 1
push 0x6bde
push 0x1d8a
push 0x5b79
push 0x4ea0
push 0x3ecb
call fcn.10025f92
add esp, 0x20
mov esp, ebp
pop ebp
ret