Function at 0x1000c656
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100504a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000c842
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1000c6d9
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x304b
jl 0x1000c6c8
mov dword [ebp - 0x30], 1
jmp 0x1000c6cc
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x1000c840
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x34], 0x3f5e
mov dword [ebp - 0x50], str.kxpgnwsxa_vqc_xbctkyl_oxkveb_talujkwwx_wnrzymlxu_wfp_nfq_jklhdhm_hwwzlxy_kyqgx_wmanq
cmp dword [ebp - 0x34], 0x4319
jle 0x1000c7af
and dword [ebp - 0x18], 0
jmp 0x1000c707
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x26db
jge 0x1000c7a5
and dword [ebp - 0x1c], 0
jmp 0x1000c721
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x77ed
jge 0x1000c7a0
and dword [ebp - 0x20], 0
jmp 0x1000c737
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3a08
jge 0x1000c79b
and dword [ebp - 0x24], 0
jmp 0x1000c74d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x35f0
jge 0x1000c799
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
xor edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.10001a55
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.100032b3
push eax
call fcn.100379e3
pop ecx
lea ecx, [ebp - 0x78]
call fcn.100032a9
jmp 0x1000c746
jmp 0x1000c730
jmp 0x1000c71a
jmp 0x1000c700
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 2
jmp 0x1000c7cb
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jl 0x1000c804
mov byte [ebp - 0x11], 0
push 0
push 0x2fe4
push 1
push 0x2037
push 0x540d
push 0
push 0xc30
lea eax, [ebp - 0x11]
push eax
push 0x3e0
call fcn.10017cf0
add esp, 0x24
jmp 0x1000c7c0
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x3e65
jge 0x1000c81a
push dword [ebp - 0x50]
call fcn.100379e3
pop ecx
jmp 0x1000c836
or dword [ebp - 4], 0xffffffff
jmp 0x1000c840
jmp 0x1000c854
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
push 0
push dword [ebp - 0x54]
call fcn.1000cc13
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret