Function at 0x10035247
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dbbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1ac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100352ce
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x134], eax
push dword [ebp - 0x138]
push 0x666e
push dword [ebp - 0xf8]
push 1
push dword [ebp - 0x100]
push 0x59b0
push 0x644
push dword [ebp - 0x134]
call fcn.10035c8c
add esp, 0x20
jmp 0x10035c7b
lea eax, [ebp + 0x10]
mov dword [ebp - 0x13c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x1003531c
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10035317
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
jmp 0x10035c7b
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x34], 0x475ee4c2
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x60], 0xf3922cbd
mov dword [ebp - 0x11c], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x1003536d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10035383
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf4], 2
jmp 0x10035366
mov dword [ebp - 0x14], 0
jmp 0x10035393
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100353a9
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x170], 0xfffffffe
jmp 0x1003538c
mov dword [ebp - 0x14], 0
jmp 0x100353b9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100353cc
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x30], 0xffffffff
jmp 0x100353b2
mov dword [ebp - 0x14], 0
jmp 0x100353dc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100353f2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1b4], 0xbc6200d4
jmp 0x100353d5
mov dword [ebp - 0x18], 0
jmp 0x10035402
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1003562a
mov dword [ebp - 0x6c], 0xfffffffd
mov dword [ebp - 0x1c], 0
jmp 0x10035423
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10035439
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x110], 9
jmp 0x1003541c
mov dword [ebp - 0x1c], 0
jmp 0x10035449
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1003545f
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x150], 0x6369
jmp 0x10035442
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0xf4], 0
je 0x10035544
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xf4]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1a8], eax
mov eax, 0xd54
imul eax, eax, 0xffffffff
cmp eax, 7
jle 0x100354a2
mov dword [ebp - 0xb0], 1
jmp 0x100354a9
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x6c]
je 0x100354c7
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0xf4], 0
je 0x100354c7
and dword [ebp - 0x64], 0
jmp 0x100354ce
mov dword [ebp - 0x64], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x150]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x1330
sub ecx, dword [ebp + eax - 0x30]
mov dword [ebp - 0xe4], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe4]
mov dword [ebp + eax - 0x110], ecx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xe4]
push 4
pop edx
shl edx, 0
mov edx, dword [ebp + edx - 0x150]
dec edx
push 4
pop esi
shl esi, 0
mov dword [ebp + esi - 0x150], edx
cmp eax, ecx
jl 0x10035544
mov dword [ebp - 0xac], 1
jmp 0x1003554b
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0xac], eax
jg 0x1003555f
mov dword [ebp - 0x74], 1
jmp 0x10035563
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
sub eax, 0x6d42bd36
cmp eax, dword [ebp - 0x114]
jle 0x1003557f
mov dword [ebp - 0xcc], 1
jmp 0x10035586
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x170]
cmp dword [ebp - 0xcc], eax
jne 0x100355a4
mov dword [ebp - 0x7c], 1
jmp 0x100355a8
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xb6d0
cmp ecx, dword [ebp + eax*4 - 0xf4]
jl 0x100355c9
mov dword [ebp - 0xb4], 1
jmp 0x100355d0
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x18]
imul ecx, dword [ebp - 0xb4], 0x2a90
cmp ecx, dword [ebp + eax*4 - 0xf4]
jle 0x100355f2
mov dword [ebp - 0x84], 1
jmp 0x100355f9
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
jl 0x1003560e
mov dword [ebp - 0xdc], 1
jmp 0x10035615
and dword [ebp - 0xdc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp + eax - 0x30], ecx
jmp 0x100353fb
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x34], 0
je 0x1003566a
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1b4]
cmp eax, dword [ebp - 0x11c]
jg 0x1003566a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x30], 0
je 0x1003566a
cmp dword [ebp - 0x34], 0
je 0x1003566a
mov dword [ebp - 0x4c], 1
jmp 0x1003566e
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + eax - 0x170], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x4c], eax
jle 0x1003569b
mov dword [ebp - 0x8c], 1
jmp 0x100356a2
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x30]
imul ecx, dword [ebp - 0x8c]
cmp ecx, dword [ebp + eax - 0x1b4]
je 0x100356ce
mov dword [ebp - 0xbc], 1
jmp 0x100356d5
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0xfffffff6
ja 0x100356ea
mov dword [ebp - 0x94], 1
jmp 0x100356f1
and dword [ebp - 0x94], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp eax, dword [ebp - 0x94]
je 0x1003570f
mov dword [ebp - 0xd4], 1
jmp 0x10035716
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
sub eax, 0x1f
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x2c], 0xd526d2e8
mov dword [ebp - 0x9c], 0x76acb8f2
mov dword [ebp - 0x148], 0xfe81720d
mov dword [ebp - 0xa4], 0xfffffffb
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x18c], 0x30045702
mov dword [ebp - 0x188], 0x30045702
mov dword [ebp - 0x184], 0x30045702
mov dword [ebp - 0x180], 0x30045702
mov dword [ebp - 0x48], 0
jmp 0x100357a1
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x100357b7
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x168], 0xfff6
jmp 0x1003579a
push 0x5f2a
push 0
push 0
call fcn.100361ae
add esp, 0xc
cmp dword [ebp - 0x2c], 0
jne 0x1003582f
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x9c], 0xffffffff
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x148]
je 0x1003580d
mov dword [ebp - 0xc4], 1
jmp 0x10035814
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x1003582f
and dword [ebp - 0x5c], 0
jmp 0x10035836
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 1
jle 0x10035845
mov dword [ebp - 0x68], 1
jmp 0x10035849
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x168]
cmp dword [ebp - 0x68], eax
jne 0x10035863
mov dword [ebp - 0x70], 1
jmp 0x10035867
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x70]
jl 0x1003587b
mov dword [ebp - 0x128], 1
jmp 0x10035882
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x168]
mov dword [ebp - 0x1a4], eax
mov eax, 0xffff
test eax, eax
jne 0x100358b2
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x168], 0
jne 0x100358b2
and dword [ebp - 0x78], 0
jmp 0x100358b9
mov dword [ebp - 0x78], 1
cmp dword [ebp - 0x78], 1
je 0x100358c8
mov dword [ebp - 0x80], 1
jmp 0x100358cc
and dword [ebp - 0x80], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x168]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xfffffffe
jle 0x10035902
mov dword [ebp - 0x98], 1
jmp 0x10035909
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x18c], ecx
mov eax, dword [ebp - 0x140]
cdq
mov ecx, 0x7ce
idiv ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x28], 0xfffffffc
mov dword [ebp - 0xb8], 0x96e6c8ca
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0xa0], 0x660c
mov dword [ebp - 0x130], str.rhcndyzf_quflhmm_wouqviucp_yyo
cmp dword [ebp - 0xa0], 0x6896
jle 0x100359e5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
and dword [ebp - 0x40], 0
jmp 0x1003597e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x6424
jge 0x100359e5
and dword [ebp - 0x38], 0
jmp 0x10035994
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x48f1
jge 0x100359e3
and dword [ebp - 0x44], 0
jmp 0x100359aa
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x7d4f
jge 0x100359e1
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x44]
cdq
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], edx
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
mov ecx, 0x10077fd8
call fcn.10004c70
jmp 0x100359a3
jmp 0x1003598d
jmp 0x10035977
mov dword [ebp - 0xc8], 0xfffffffe
and dword [ebp - 4], 0
cmp dword [ebp - 0xa0], 0x6595
jge 0x10035a0f
mov edx, dword [ebp - 0x130]
mov ecx, 0x10077fd8
call fcn.10007021
jmp 0x10035a2b
or dword [ebp - 4], 0xffffffff
jmp 0x10035a35
mov dword [ebp - 0x118], 0x339b8842
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x1bc], 0x983c17a3
mov dword [ebp - 0x20], 0
jmp 0x10035a63
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10035a79
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x17c], 1
jmp 0x10035a5c
mov dword [ebp - 0x20], 0
jmp 0x10035a89
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10035a9c
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x50], 0
jmp 0x10035a82
mov dword [ebp - 0x28], 8
jmp 0x10035aac
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc
jle 0x10035ade
mov dword [ebp - 0x3c], 0x7dd68876
mov dword [ebp - 0x3c], 2
jmp 0x10035ac9
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10035adc
push 0
push 0
call fcn.1003317e
pop ecx
pop ecx
jmp 0x10035ac2
jmp 0x10035aa5
cmp dword [ebp - 0x28], 0
je 0x10035bd9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
mov dword [ebp - 0x28], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp + eax - 0x50]
jge 0x10035b10
mov dword [ebp - 0xa8], 1
jmp 0x10035b17
and dword [ebp - 0xa8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
dec eax
cmp dword [ebp - 0xa8], eax
jge 0x10035b33
mov dword [ebp - 0x58], 1
jmp 0x10035b37
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jl 0x10035b55
mov dword [ebp - 0xc0], 1
jmp 0x10035b5c
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
sub eax, 0x313
cmp eax, dword [ebp - 0x54]
jl 0x10035b87
mov dword [ebp - 0xd0], 1
jmp 0x10035b8e
and dword [ebp - 0xd0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x17c]
cmp eax, dword [ebp - 0xd0]
jne 0x10035bb1
or eax, 0xffffffff
jne 0x10035bb1
and dword [ebp - 0xd8], 0
jmp 0x10035bbb
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
sub eax, 0x488d
cmp eax, 0xf141
jge 0x10035bd9
mov dword [ebp - 0x154], 1
jmp 0x10035be0
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x118], 0x1efe
jle 0x10035bf8
mov dword [ebp - 0xe0], 1
jmp 0x10035bff
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xffffffff
jl 0x10035c14
mov dword [ebp - 0xe8], 1
jmp 0x10035c1b
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xe8], eax
jne 0x10035c32
mov dword [ebp - 0x10c], 1
jmp 0x10035c39
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x17c]
mov dword [ebp - 0x198], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x17c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x12c]
sub eax, 0x1f
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x104]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret