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

Disassembly:
mov eax, 0x342c
call fcn.00444260
mov eax, dword [0x4a6c44]
xor eax, esp
mov dword [esp + 0x3428], eax
mov eax, dword [esp + 0x3438]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3444]
push ebx
mov ebx, dword [esp + 0x3440]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x344c]
push ebp
mov ebp, dword [esp + 0x343c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3454]
push esi
mov esi, dword [esp + 0x343c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x345c]
mov dword [esp + 0x18], eax
cmp byte [esi], 0
mov eax, dword [esp + 0x3460]
push edi
mov edi, dword [esp + 0x3450]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3468]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
je 0x4131f0
mov ecx, str.WebMeeting
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4131d0
test dl, dl
je 0x4131cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4131d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4131b0
xor eax, eax
jmp 0x4131d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4131f0
lea edx, [esp + 0x38]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4131e1
jmp 0x413210
mov eax, dword [0x47cb68]
movq xmm0, qword [str.TurboMeeting]
mov dword [esp + 0x40], eax
mov al, byte [0x47cb6c]
movq qword [esp + 0x38], xmm0
mov byte [esp + 0x44], al
push 0x200
lea eax, [esp + 0x143c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x200
lea eax, [esp + 0x183c]
push eax
lea eax, [esp + 0x1440]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x200
lea eax, [esp + 0x63c]
push eax
lea eax, [esp + 0x1840]
push eax
call fcn.00416610
lea eax, [esp + 0x644]
push eax
push str.sCurrentFilePath___s
push 0xfcd
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
push 0x47cb7c
push dword [esp + 0x54]
lea eax, [esp + 0x668]
push ebp
push eax
call fcn.004146b0
mov eax, dword [esp + 0x50]
add esp, 0x38
mov dword [esp + 0x2c], 0x200
mov byte [eax], 1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c3c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x200
lea eax, [esp + 0x43c]
push eax
lea eax, [esp + 0x1c40]
push eax
call fcn.00416610
lea ecx, [esp + 0x444]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4132e6
sub ecx, edx
lea eax, [esp + 0x438]
push ecx
push eax
call fcn.004154b0
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, str.SYSTEM
mov byte [eax], 0
lea eax, [esp + 0x438]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413333
test dl, dl
je 0x41332f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413333
add eax, 2
add ecx, 2
test dl, dl
jne 0x413313
xor eax, eax
jmp 0x413338
sbb eax, eax
or eax, 1
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41346c
mov eax, dword [esp + 0x1c]
mov edx, ebx
mov ecx, dword [esp + 0x10]
sub edx, ecx
mov byte [eax], 1
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x413355
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xfe7
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
push str.TurboMeeting
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x25c]
push 0x47cb80
push eax
call fcn.00407cd0
lea eax, [esp + 0x264]
push eax
push dword [esp + 0x40]
call fcn.004472c0
add esp, 0x34
test eax, eax
je 0x41340d
lea ecx, [ebx - 1]
nop dword [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4133c0
mov eax, dword [str.....]
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
mov dword [ecx], eax
mov ax, word [0x47f400]
push 0xfef
push 0x47eb88
mov word [ecx + 4], ax
mov al, byte [0x47f402]
push 0
mov byte [ecx + 6], al
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x1c
jmp 0x4134e5
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x14]
call fcn.004472c0
add esp, 8
test eax, eax
je 0x4134e5
lea edi, [ebx - 1]
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x413430
mov eax, dword [0x47f404]
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xff6
push 0x47eb88
push 0
mov dword [edi], eax
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
mov edi, dword [esp + 0x40]
add esp, 0x1c
jmp 0x4134e5
lea eax, [esp + 0x2038]
push eax
push 0
push 0
push 0x1a
push 0
call ebp
test eax, eax
jns 0x4134ad
mov eax, dword [esp + 0x18]
push str.user_application_directory_does_not_exist
push 0xfff
push 0x47eb88
push 0
mov byte [eax], 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x18
push 0x200
lea eax, [esp + 0x203c]
push ebx
push eax
call fcn.00416610
push ebx
push str.bSystemUser__false__sUserApplicationDirectory___s
push 0x1003
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x28
mov ecx, str.MXmeeting
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413510
test dl, dl
je 0x41350c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413510
add eax, 2
add ecx, 2
test dl, dl
jne 0x4134f0
xor eax, eax
jmp 0x413515
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4135b8
call fcn.00413b40
test al, al
je 0x4135b8
lea eax, [esp + 0x2438]
push eax
push 0
push 0
push 0x2e
push 0
call ebp
push 0x200
lea eax, [esp + 0x23c]
push eax
lea eax, [esp + 0x2440]
push eax
call fcn.00416610
lea ecx, [esp + 0x244]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413563
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
js 0x413593
nop dword [eax]
nop word [eax + eax]
cmp byte [esp + eax + 0x238], 0x5c
je 0x413650
sub eax, 1
jns 0x413580
push ebx
push str.from_CSIDL_COMMON_DOCUMENTS__sUserApplicationDirectory___s
push 0x101c
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x1c
lea eax, [esp + 0x2838]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x200
lea eax, [esp + 0x2c3c]
push eax
lea eax, [esp + 0x2840]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x200
lea eax, [esp + 0x2c3c]
push edi
push eax
call fcn.00416610
add esp, 0xc
lea eax, [esp + 0x3038]
push 0
push 5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x200
push dword [esp + 0x34]
lea eax, [esp + 0x3040]
push eax
call fcn.00416610
add esp, 0xc
mov eax, str.MXmeeting
nop
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x41367e
test cl, cl
je 0x41364c
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x41367e
add esi, 2
add eax, 2
test cl, cl
jne 0x413630
xor eax, eax
jmp 0x413683
cmp eax, 0x200
jae 0x413983
mov byte [esp + eax + 0x238], 0
lea eax, [esp + 0x238]
push eax
push 0x47cce0
push ebx
call fcn.00407cd0
add esp, 0xc
jmp 0x413593
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4136a0
call fcn.00413b40
test al, al
lea eax, [esp + 0x838]
push eax
push 0
push 0
je 0x4136ac
push 0x17
jmp 0x4136ae
lea eax, [esp + 0x838]
push eax
push 0
push 0
push 2
push 0
call ebp
push 0x200
push dword [esp + 0x18]
lea eax, [esp + 0x840]
push eax
call fcn.00416610
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edi, [ecx - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4136d2
mov ax, word [0x47cb7c]
lea edx, [esp + 0x38]
mov word [edi], ax
mov esi, edx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4136f0
sub edx, esi
lea edi, [ecx - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413700
mov ecx, edx
lea eax, [esp + 0xc38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0
push 0
mov ecx, edx
and ecx, 3
push 0x10
rep movsb byte es:[edi], byte [esi]
push 0
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [esp + 0x1038]
push 0x200
push eax
lea eax, [esp + 0xc40]
push eax
call esi
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x1038]
push 0x200
push edi
push eax
call fcn.00416610
add esp, 0xc
lea eax, [esp + 0xc38]
push eax
push 0
push 0
push 0x19
push 0
call ebp
push 0x200
lea eax, [esp + 0x103c]
push eax
lea eax, [esp + 0xc40]
push eax
call esi
push 0x200
push dword [esp + 0x24]
lea eax, [esp + 0x1040]
push eax
call fcn.00416610
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4137a6
sub ecx, edx
je 0x4137dd
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4137b6
sub ecx, edx
cmp byte [ecx + ebx - 1], 0x5c
jne 0x4137dd
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4137d0
sub ecx, edx
mov byte [ecx + ebx - 1], al
mov ebp, dword [esp + 0x24]
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4137e6
sub ecx, edx
je 0x41381d
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4137f6
sub ecx, edx
cmp byte [ecx + ebp - 1], 0x5c
jne 0x41381d
mov ecx, ebp
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413810
sub ecx, edx
mov byte [ecx + ebp - 1], al
push dword [esp + 0x14]
push str.sStartMenuDirectory___s
push 0x104e
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
push dword [esp + 0x2c]
push str.sCurrentDirectory___s
push 0x1050
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
push dword [esp + 0x60]
push str.sCurrentFile___s
push 0x1051
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x54
push ebx
push str.sUserApplicationDirectory___s
push 0x1052
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
push ebp
push str.sTempDirectory___s
push 0x1053
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
push edi
push str.sDesktopDirectory___s
push 0x1054
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
mov eax, dword [esp + 0x6c]
add esp, 0x54
cmp byte [eax], 0
je 0x41390d
push str.bUserAppDirAccessable__true
push 0x1057
jmp 0x413917
push str.bUserAppDirAccessable__false
push 0x1059
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax], 0
je 0x413946
push str.bSystemUser__true
push 0x105c
jmp 0x413950
push str.bSystemUser__false
push 0x105e
push 0x47eb88
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040eee0
mov ecx, dword [esp + 0x3450]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00444138
add esp, 0x342c
ret
call fcn.0044405e
int3