Function at 0x441670
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1851
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4ce4bc]
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.00499abe
add esp, 4
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4416c4
mov ecx, eax
call fcn.0042b330
jmp 0x4416c6
xor eax, eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 1
call fcn.00403860
lea ecx, [ebp - 0x278]
push ecx
mov ecx, eax
call fcn.004037e0
push str.jshttpserver
push eax
call fcn.00407d50
mov edx, dword [ebp - 0x264]
add esp, 8
mov bl, al
cmp edx, 8
jb 0x44175c
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441752
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441752
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
call fcn.00403860
test bl, bl
je 0x4418e3
lea ecx, [ebp - 0x278]
push ecx
mov ecx, eax
call fcn.004037e0
mov esi, eax
push 0xc
xor eax, eax
mov dword [ebp - 0x248], 0
push str.WPSCloudSvr_
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00404580
push esi
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x260]
call fcn.00405340
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x441813
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4418dd
push edx
push ecx
call fcn.00499aee
add esp, 8
mov eax, dword [ebp - 0x260]
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x44189b
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441891
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4418dd
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x441c56
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441c4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441c4c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x2c0]
push ecx
mov ecx, eax
call fcn.004037e0
mov esi, eax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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 - 0x260], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x260], ax
jmp 0x441960
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441960
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00404580
push 0xc
xor eax, eax
mov dword [ebp - 0x290], 0
push str.WPSCloudSvr_
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 5
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.00404580
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x278]
call fcn.00405340
push 1
push 0x4a9b30
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 7
call fcn.00401cd0
mov edx, eax
mov ecx, dword [edx]
mov eax, dword [edx + 0x14]
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 - 0x234], eax
xor eax, eax
mov dword [ebp - 0x23c], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x238], ecx
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
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2a8]
call fcn.00405340
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x441a9f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441a95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441c46
push edx
push ecx
call fcn.00499aee
add esp, 8
mov eax, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x441b2b
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441b21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441c46
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x441b6f
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441b65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441c46
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x441bd0
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441bc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441c46
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x441c10
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441c06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441c46
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x441c56
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441c4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441c4c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
push 0x50
call fcn.00499abe
add esp, 4
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x441c7e
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.0042c1a0
jmp 0x441c80
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [edi], eax
call fcn.0042cc30
test eax, eax
jne 0x441c95
xor esi, esi
jmp 0x441cb9
mov ecx, edi
call fcn.00440d30
call fcn.00403860
mov ecx, eax
call fcn.00403890
cmp eax, 1
jne 0x441cb4
mov ecx, edi
call fcn.0043f630
mov esi, 1
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x441cfb
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441cf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441cf1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
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.00499afc
mov esp, ebp
pop ebp
ret