Function at 0x40de0c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc8
push ebx
mov eax, 0x4c72c4
call fcn.004a2f4c
mov word [ebp - 0x208], 8
lea eax, [ebp - 0x14c]
call fcn.00401d74
inc dword [ebp - 0x1fc]
inc dword [ebp - 0x1fc]
mov word [ebp - 0x208], 0x14
mov word [ebp - 0x208], 0x20
lea eax, [ebp - 0x15c]
call fcn.00401d74
inc dword [ebp - 0x1fc]
mov word [ebp - 0x208], 0x14
mov word [ebp - 0x208], 0x2c
lea eax, [ebp - 0x160]
call fcn.00401d74
inc dword [ebp - 0x1fc]
mov word [ebp - 0x208], 0x14
mov word [ebp - 0x208], 0x38
lea eax, [ebp - 0x164]
call fcn.00401d74
inc dword [ebp - 0x1fc]
mov word [ebp - 0x208], 0x14
mov word [ebp - 0x208], 0x44
lea eax, [ebp - 0x168]
call fcn.00401d74
inc dword [ebp - 0x1fc]
mov word [ebp - 0x208], 0x14
mov word [ebp - 0x208], 0x50
lea eax, [ebp - 0x16c]
call fcn.00401d74
inc dword [ebp - 0x1fc]
mov word [ebp - 0x208], 0x14
mov dword [ebp - 0x22c], 0xff
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x338]
push ecx
call sub.ADVAPI32.DLL_GetUserNameA
mov word [ebp - 0x208], 0x5c
lea edx, [ebp - 0x338]
lea eax, [ebp - 0x170]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x170]
lea eax, [ebp - 0x15c]
call fcn.004ad100
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.004ad0d0
mov dl, 1
mov eax, dword [0x446994]
call fcn.00401f7c
mov dword [ebp - 0x224], eax
mov word [ebp - 0x208], 0x68
mov edx, 0x4c2f28
lea eax, [ebp - 0x174]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [0x4535c8]
call fcn.00453d70
mov dword [ebp - 0x228], eax
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.004ad0d0
mov word [ebp - 0x208], 0x74
mov edx, 0x4c2f71
lea eax, [ebp - 0x180]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
push dword [eax]
lea eax, [ebp - 0x184]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, str.NetHood
lea eax, [ebp - 0x17c]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
push dword [eax]
mov edx, 0x4c2f5b
lea eax, [ebp - 0x178]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x228]
pop ecx
call fcn.00453e04
lea edx, [ebp - 0x184]
lea eax, [ebp - 0x16c]
call fcn.004ad100
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x180]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x17c]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x178]
mov edx, 2
call fcn.004ad0d0
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x18c], ecx
cmp dword [ebp - 0x18c], 0
je 0x40e0d4
mov eax, dword [ebp - 0x18c]
mov edx, dword [eax]
mov dword [ebp - 0x188], edx
mov word [ebp - 0x208], 0x8c
mov edx, 3
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x208], 0x80
mov word [ebp - 0x208], 0x98
lea eax, [ebp - 0x194]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, 0x4c2f72
lea eax, [ebp - 0x190]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x190]
lea eax, [ebp - 0x16c]
pop ecx
call fcn.004ad114
lea edx, [ebp - 0x194]
lea eax, [ebp - 0x164]
call fcn.004ad100
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x194]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x190]
mov edx, 2
call fcn.004ad0d0
mov word [ebp - 0x208], 0xa4
lea eax, [ebp - 0x19c]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, 0x4c2f74
lea eax, [ebp - 0x198]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x198]
lea eax, [ebp - 0x164]
pop ecx
call fcn.004ad114
lea eax, [ebp - 0x19c]
mov eax, dword [eax]
lea ecx, [ebp - 0x158]
mov edx, 0x3f
call fcn.0045617c
mov dword [ebp - 0x230], eax
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x19c]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x198]
mov edx, 2
call fcn.004ad0d0
mov word [ebp - 0x208], 0x14
cmp dword [ebp - 0x230], 0
jne 0x40e30f
mov word [ebp - 0x208], 0xb0
mov edx, 0x4c2f78
lea eax, [ebp - 0x1a0]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1a0]
lea eax, [ebp - 0x14c]
call fcn.004ad1b8
test al, al
je 0x40e276
mov edx, 0x4c2f7a
lea eax, [ebp - 0x1a4]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1a4]
lea eax, [ebp - 0x14c]
call fcn.004ad1b8
test al, al
setne cl
and ecx, 1
push ecx
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1a4]
mov edx, 2
call fcn.004ad0d0
pop ecx
test ecx, ecx
jne 0x40e27a
xor eax, eax
jmp 0x40e27f
mov eax, 1
push eax
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1a0]
mov edx, 2
call fcn.004ad0d0
pop ecx
test cl, cl
je 0x40e2f1
mov word [ebp - 0x208], 0xbc
lea eax, [ebp - 0x1a8]
call fcn.00401d74
mov ecx, eax
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0x164]
call fcn.004ad114
lea edx, [ebp - 0x1a8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1a8]
mov edx, 2
call fcn.004ad0d0
lea eax, [ebp - 0x158]
call fcn.004561cc
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x40e1f7
lea eax, [ebp - 0x158]
call fcn.004561f0
xor edx, edx
mov dword [ebp - 0x234], edx
mov word [ebp - 0x208], 0x14
jmp 0x40e830
mov word [ebp - 0x208], 0xc8
lea eax, [ebp - 0x1ac]
call fcn.00401d74
mov ecx, eax
inc dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x224]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x1b4]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, 0x4c2f7d
lea eax, [ebp - 0x1b0]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1b0]
pop ecx
pop eax
call fcn.004ad114
lea eax, [ebp - 0x1b4]
mov eax, dword [eax]
call fcn.00455f6c
push eax
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1b4]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1b0]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1ac]
mov edx, 2
call fcn.004ad0d0
pop ecx
test cl, cl
je 0x40e82a
lea eax, [ebp - 0x160]
push eax
mov word [ebp - 0x208], 0xd4
lea eax, [ebp - 0x1b8]
call fcn.00401d74
mov ecx, eax
inc dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x224]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1c0]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, str._target.lnk
lea eax, [ebp - 0x1bc]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1bc]
pop ecx
pop eax
call fcn.004ad114
lea edx, [ebp - 0x1c0]
push dword [edx]
call fcn.0040ae28
add esp, 8
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1c0]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1bc]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1b8]
mov edx, 2
call fcn.004ad0d0
mov word [ebp - 0x208], 0xe0
lea eax, [ebp - 0x1c8]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, 0x4c2f95
lea eax, [ebp - 0x1c4]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1c4]
lea eax, [ebp - 0x160]
call fcn.004ad284
add eax, 2
push eax
lea eax, [ebp - 0x160]
call fcn.00401d50
mov ecx, eax
lea eax, [ebp - 0x160]
pop edx
call fcn.004ad330
lea edx, [ebp - 0x1c8]
lea eax, [ebp - 0x160]
call fcn.004ad100
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1c8]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1c4]
mov edx, 2
call fcn.004ad0d0
mov word [ebp - 0x208], 0xec
lea eax, [ebp - 0x1d0]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, 0x4c2f98
lea eax, [ebp - 0x1cc]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1cc]
lea eax, [ebp - 0x160]
call fcn.004ad284
push eax
lea eax, [ebp - 0x160]
call fcn.00401d50
mov ecx, eax
lea eax, [ebp - 0x160]
pop edx
call fcn.004ad330
lea edx, [ebp - 0x1d0]
lea eax, [ebp - 0x160]
call fcn.004ad100
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1d0]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1cc]
mov edx, 2
call fcn.004ad0d0
mov word [ebp - 0x208], 0xf8
lea eax, [ebp - 0x1d8]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, str.Microsoft
lea eax, [ebp - 0x1d4]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1d4]
lea eax, [ebp - 0x160]
call fcn.004ad284
mov ecx, eax
dec ecx
lea eax, [ebp - 0x160]
mov edx, 1
call fcn.004ad330
lea edx, [ebp - 0x1d8]
lea eax, [ebp - 0x160]
call fcn.004ad100
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1d4]
mov edx, 2
call fcn.004ad0d0
mov word [ebp - 0x208], 0x104
mov edx, 0x4c2fa5
lea eax, [ebp - 0x1dc]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1dc]
lea eax, [ebp - 0x168]
call fcn.004ad100
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1dc]
mov edx, 2
call fcn.004ad0d0
mov dword [ebp - 0x238], 1
mov word [ebp - 0x208], 0x14
jmp 0x40e787
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x238]
call fcn.00401e94
cmp byte [eax], 0
je 0x40e781
mov word [ebp - 0x208], 0x110
lea eax, [ebp - 0x1e4]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x238]
call fcn.00401e94
mov dl, byte [eax]
lea eax, [ebp - 0x1e0]
call fcn.004ad084
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1e0]
lea eax, [ebp - 0x168]
pop ecx
call fcn.004ad114
lea edx, [ebp - 0x1e4]
lea eax, [ebp - 0x168]
call fcn.004ad100
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1e4]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1e0]
mov edx, 2
call fcn.004ad0d0
inc dword [ebp - 0x238]
lea eax, [ebp - 0x160]
call fcn.00401d50
cmp eax, dword [ebp - 0x238]
jge 0x40e6d9
mov eax, dword [ebp - 0x168]
call fcn.00455f7c
test al, al
je 0x40e82a
mov word [ebp - 0x208], 0x11c
lea eax, [ebp - 0x1ec]
call fcn.00401d74
push eax
inc dword [ebp - 0x1fc]
mov edx, 0x4c2fa6
lea eax, [ebp - 0x1e8]
call fcn.004acfb4
inc dword [ebp - 0x1fc]
lea edx, [ebp - 0x1e8]
lea eax, [ebp - 0x168]
pop ecx
call fcn.004ad114
lea edx, [ebp - 0x1ec]
push dword [edx]
call fcn.0040c5f8
pop ecx
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1ec]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x1e8]
mov edx, 2
call fcn.004ad0d0
inc dword [ebp - 0x234]
mov eax, dword [ebp - 0x224]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x234]
jg 0x40e330
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x1f4], ecx
cmp dword [ebp - 0x1f4], 0
je 0x40e88c
mov eax, dword [ebp - 0x1f4]
mov edx, dword [eax]
mov dword [ebp - 0x1f0], edx
mov word [ebp - 0x208], 0x134
mov edx, 3
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x208], 0x128
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x15c]
mov edx, 2
call fcn.004ad0d0
dec dword [ebp - 0x1fc]
dec dword [ebp - 0x1fc]
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.004ad0d0
mov ecx, dword [ebp - 0x218]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret