Function at 0x469470
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x90]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
cmp dword [ebp - 4], 1
jne 0x4694a0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46972d
mov eax, 1
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.0040db40
call fcn.0040f650
push eax
test eax, eax
jne 0x4696d5
mov eax, 1
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.0040db40
call fcn.0040f650
push eax
test eax, eax
jne 0x46969f
mov eax, dword [ebp - 8]
mov edx, 0
call fcn.0040cf30
mov eax, 0x5e9744
mov edx, 1
call fcn.00469290
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, 0x5e95b0
mov edx, 1
call fcn.00468df0
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov edx, 0xff
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0xc]
call fcn.0040f6d0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call sub.advapi32.dll_GetUserNameA
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0xc]
mov dx, 0
call fcn.00409970
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.00409050
mov eax, dword [ebp - 0xc]
call fcn.0040f700
mov eax, dword [ebp - 8]
mov dword [eax + 0x2c], 1
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], 1
lea edx, [ebp - 0x64]
mov al, 1
call fcn.0048d740
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
add eax, 0x10
call fcn.00409050
push 0
lea eax, [ebp - 0x74]
call fcn.004693c0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov eax, str.WinISD
mov dword [ebp - 0x6c], eax
mov eax, 0x5e98ec
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
add eax, 0x14
mov ecx, 2
call fcn.004093c0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x70], eax
mov eax, str.projects
mov dword [ebp - 0x6c], eax
mov eax, 0x5e98ec
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
add eax, 0x18
mov ecx, 2
call fcn.004093c0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x70], eax
mov eax, str.drivers
mov dword [ebp - 0x6c], eax
mov eax, 0x5e98ec
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
add eax, 0x1c
mov ecx, 2
call fcn.004093c0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x70], eax
mov eax, str.settings
mov dword [ebp - 0x6c], eax
mov eax, 0x5e98ec
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
add eax, 0x20
mov ecx, 2
call fcn.004093c0
mov eax, 1
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x70]
call fcn.0040db40
call fcn.0040f650
push eax
test eax, eax
jne 0x469690
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00482160
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
call fcn.00482160
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.00482160
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
call fcn.00482160
call fcn.0040ddc0
pop eax
test eax, eax
je 0x46969f
call fcn.0040def0
call fcn.0040ddc0
lea eax, [ebp - 0x74]
call fcn.00403e80
lea eax, [ebp - 0x64]
call fcn.00403e80
pop eax
test eax, eax
je 0x4696be
call fcn.0040def0
cmp dword [ebp - 8], 0
je 0x4696d5
cmp dword [ebp - 4], 0
je 0x4696d5
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
call fcn.0040ddc0
pop eax
test eax, eax
je 0x46972d
mov eax, 1
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x70]
call fcn.0040db40
call fcn.0040f650
push eax
test eax, eax
jne 0x469719
cmp dword [ebp - 4], 0
je 0x46970f
mov eax, dword [ebp - 8]
mov edx, 0xffffffff
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0x30]
call fcn.0040ddc0
call fcn.0040def0
call fcn.0040ddc0
pop eax
test eax, eax
je 0x469728
call fcn.0040dff0
call fcn.0040dfe0
mov eax, dword [ebp - 8]
leave
ret