Function at 0x49213d
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x34], 0x33992443
mov dword [ebp - 0xac], 0x5043c4ab
mov dword [ebp - 0x24], 0xb39e
mov dword [ebp - 0xa8], 0xdfe924f6
mov dword [ebp - 8], 0
jmp 0x492182
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x492198
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], 0xfffffffe
jmp 0x49217b
mov dword [ebp - 8], 0
jmp 0x4921a8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x4921be
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xd8], 1
jmp 0x4921a1
mov dword [ebp - 8], 0
jmp 0x4921ce
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x4921e4
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xec], 0x39e
jmp 0x4921c7
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd8]
cmp dword [ebp - 0x94], eax
jle 0x492202
mov dword [ebp - 0x50], 1
jmp 0x492206
and dword [ebp - 0x50], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x90], 0x80f8
jne 0x492226
xor eax, eax
je 0x492226
mov dword [ebp - 0x70], 1
jmp 0x49222a
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0xd8], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
sub eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jl 0x492266
mov dword [ebp - 0x78], 1
jmp 0x49226a
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0x90], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xbc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xec]
dec eax
mov dword [ebp - 0x80], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0xec], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
imul eax, dword [ebp - 0xac]
cmp dword [ebp - 0x80], eax
jle 0x4922d6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xec], 0
jne 0x4922d6
and dword [ebp - 0x88], 0
jmp 0x4922e0
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x492302
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0
call fcn.00477cfc
pop ecx
mov dword [ebp - 4], 0xfe0a8eac
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x18], 0
jmp 0x49232f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x492342
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x44], 0xacb2
jmp 0x492328
mov dword [ebp - 4], 0xffffffe9
jmp 0x492352
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x17
jl 0x4924b2
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x5c], 0x210e164c
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0x98], 0xc46983c1
cmp dword [ebp - 4], 0
je 0x492388
cmp dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jle 0x4923c9
mov dword [ebp - 0x3c], 1
jmp 0x4923cd
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x3c], eax
jge 0x4923e1
mov dword [ebp - 0x84], 1
jmp 0x4923e8
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x84], eax
jle 0x4923fc
mov dword [ebp - 0x4c], 1
jmp 0x492400
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x4c], eax
jne 0x492411
mov dword [ebp - 0x6c], 1
jmp 0x492415
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 4]
je 0x492429
mov dword [ebp - 0x54], 1
jmp 0x49242d
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xfffffff7
jge 0x49243c
mov eax, 0x51dba1dd
test eax, eax
jne 0x49244b
mov eax, 0x339b8842
test eax, eax
jne 0x49244b
and dword [ebp - 0x7c], 0
jmp 0x492452
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x7c], eax
jl 0x492466
mov dword [ebp - 0xa0], 1
jmp 0x49246d
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x8694
jge 0x4924a0
mov eax, 0x9909
test eax, eax
je 0x4924a0
mov dword [ebp - 0x74], 1
jmp 0x4924a4
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x98], eax
jmp 0x49234b
mov dword [ebp - 4], 1
jmp 0x4924c2
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x4925ea
mov dword [ebp - 0x64], 0xc923
mov dword [ebp - 0x68], 0xcbf785b8
mov dword [ebp - 0xc], 0
jmp 0x4924ea
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jg 0x4925e5
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x30], 0x184bf4d8
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x44]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x38], eax
jge 0x492523
mov dword [ebp - 0x48], 1
jmp 0x492527
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x48], eax
jge 0x492538
mov dword [ebp - 0x1c], 1
jmp 0x49253c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x44]
mov ecx, dword [ebp - 0x68]
imul ecx, dword [ebp - 0x1c]
imul eax, ecx
imul eax, eax, 0xe0cd
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp + ecx*4 - 0x44]
jg 0x492565
mov dword [ebp - 0x58], 1
jmp 0x492569
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
inc eax
cmp eax, 4
jle 0x492588
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0
je 0x492588
mov dword [ebp - 0x60], 1
jmp 0x49258c
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
jbe 0x4925a4
cmp dword [ebp - 0x68], 0
je 0x4925a4
mov dword [ebp - 0x9c], 1
jmp 0x4925ab
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 4], 0
jne 0x4925d3
cmp dword [ebp - 0x30], 0
jne 0x4925d3
and dword [ebp - 0x28], 0
jmp 0x4925da
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
jmp 0x4924e3
jmp 0x4924bb
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10