Function at 0x4106c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b144c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4ee05c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x2c
call fcn.00475cca
add esp, 4
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x410714
mov ecx, eax
call fcn.00405020
jmp 0x410716
xor eax, eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 1
push eax
call fcn.00403f10
mov ecx, eax
call fcn.00403ea0
push str.jshttpserver
push eax
call fcn.00402dd0
mov edx, dword [ebp - 0x24c]
add esp, 8
mov bl, al
cmp edx, 8
jb 0x4107a0
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410796
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d6b
push edx
push ecx
call fcn.00475cfa
add esp, 8
test bl, bl
je 0x410937
lea eax, [ebp - 0x278]
push eax
call fcn.00403f10
mov ecx, eax
call fcn.00403ea0
mov esi, eax
push 0xc
xor eax, eax
mov byte [ebp - 4], 2
push str.WPSCloudSvr_
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00402940
push esi
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00405f00
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x4108c0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x41085b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410851
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d70
push edx
push ecx
call fcn.00475cfa
add esp, 8
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x230], ax
mov dword [ebp - 0x21c], 7
mov eax, dword [esi]
mov dword [ebp - 0x230], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x260]
call fcn.00402120
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41090f
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410905
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d70
push edx
push ecx
call fcn.00475cfa
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
lea ecx, [ebp - 0x278]
mov word [ebp - 0x248], ax
jmp 0x410ca5
lea eax, [ebp - 0x2c0]
push eax
call fcn.00403f10
mov ecx, eax
call fcn.00403ea0
mov esi, eax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.00478480
add esp, 0xc
mov dword [ebp - 0x2c4], 0x104
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4109b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00402940
push 0xc
xor eax, eax
mov byte [ebp - 4], 5
push str.WPSCloudSvr_
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00402940
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00405f00
add esp, 0xc
push 1
push 0x4bbcac
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004027c0
mov edx, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov ecx, dword [edx]
mov dword [ebp - 0x248], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x244], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x240], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x23c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
push esi
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00405f00
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x410b66
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x410b01
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410af7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d75
push edx
push ecx
call fcn.00475cfa
add esp, 8
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x230], ax
mov dword [ebp - 0x21c], 7
mov eax, dword [esi]
mov dword [ebp - 0x230], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x290]
call fcn.00402120
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x410bb5
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410bab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d75
push edx
push ecx
call fcn.00475cfa
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00402120
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x410c21
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d75
push edx
push ecx
call fcn.00475cfa
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x410c82
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d75
push edx
push ecx
call fcn.00475cfa
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
lea ecx, [ebp - 0x2c0]
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 1
call fcn.00402120
push 0x50
call fcn.00475cca
add esp, 4
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x410cd6
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.00416d60
jmp 0x410cd8
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [edi], eax
call fcn.00417740
test eax, eax
jne 0x410ced
xor esi, esi
jmp 0x410d11
mov ecx, edi
call fcn.0040fdb0
call fcn.00403f10
mov ecx, eax
call fcn.00403f40
cmp eax, 1
jne 0x410d0c
mov ecx, edi
call fcn.0040e890
mov esi, 1
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x410d4d
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410d43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410d7a
push edx
push ecx
call fcn.00475cfa
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475f67
mov esp, ebp
pop ebp
ret
call fcn.00481379
call fcn.00481379
call fcn.00481379
call fcn.00481379
int3