Function at 0x419090
Capabilities:
Get common file path
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x46d4a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
push ebx
lea ecx, [esp + 0x10]
call fcn.00417560
mov eax, dword [esp + 0x49c]
xor ebx, ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x498], ebx
call fcn.00418210
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00418410
lea ecx, [esp + 0x10]
call fcn.00417690
test eax, eax
jne 0x419116
lea ecx, [esp + 0x10]
mov dword [esp + 0x494], 0xffffffff
call fcn.00417620
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
add esp, 0x494
ret
push esi
push edi
lea ecx, [esp + 0x78]
call fcn.00446730
lea ecx, [esp + 0x18]
mov byte [esp + 0x49c], 1
call fcn.00417ae0
test al, al
jne 0x419201
lea ecx, [esp + 0x78]
call fcn.00446780
test al, al
jne 0x419201
mov edi, dword [esp + 0x4a8]
lea ecx, [esp + 0x14]
push edi
push ecx
push ebx
push 2
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [esp + 0x38]
call fcn.00417970
push eax
push 0x1e15
call fcn.0043cbd0
mov esi, eax
add esp, 0x28
cmp esi, 0xffffffff
jne 0x4192a7
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00419350
add esp, 0x10
cmp al, bl
je 0x4192a7
mov eax, dword [esp + 0xc]
test al, 1
je 0x4192a7
and al, 0xfe
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x14], eax
call fcn.00419f80
add esp, 8
cmp al, bl
je 0x4192a7
lea eax, [esp + 0x14]
push edi
push eax
push ebx
push 2
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [esp + 0x38]
call fcn.00417970
push eax
push 0x1e19
call fcn.0043cbd0
jmp 0x4192a2
mov edi, dword [esp + 0x4a8]
lea ecx, [esp + 0x14]
push edi
push ecx
push ebx
push 2
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [esp + 0x38]
call fcn.00417cf0
push eax
push 0x1e14
call fcn.0043ca60
mov esi, eax
add esp, 0x28
cmp esi, 0xffffffff
jne 0x4192a7
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00419350
add esp, 0x10
cmp al, bl
je 0x4192a7
mov eax, dword [esp + 0xc]
test al, 1
je 0x4192a7
and al, 0xfe
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x14], eax
call fcn.00419f80
add esp, 8
cmp al, bl
je 0x4192a7
lea eax, [esp + 0x14]
push edi
push eax
push ebx
push 2
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [esp + 0x38]
call fcn.00417cf0
push eax
push 0x83f
call fcn.0043ca60
add esp, 0x28
mov esi, eax
cmp edi, ebx
je 0x419306
cmp esi, 0xffffffff
jne 0x419306
lea ecx, [esp + 0x2a0]
push ecx
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [edi]
lea eax, [esp + 0x2a0]
push eax
push str.CurrentDir
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x110]
push ecx
push edx
mov dword [esp + 0x18], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [edi]
lea ecx, [esp + 0x110]
push ecx
push str.LoggedOnUser
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [esp + 0x78]
mov byte [esp + 0x49c], bl
call fcn.00446770
lea ecx, [esp + 0x18]
mov dword [esp + 0x49c], 0xffffffff
call fcn.00417620
mov ecx, dword [esp + 0x494]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x494
ret