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

Disassembly:
mov eax, 0x342c
call fcn.00444200
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 0x413180
mov ecx, str.WebMeeting
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413160
test dl, dl
je 0x41315c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413160
add eax, 2
add ecx, 2
test dl, dl
jne 0x413140
xor eax, eax
jmp 0x413165
sbb eax, eax
or eax, 1
test eax, eax
je 0x413180
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 0x413171
jmp 0x4131a0
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.004165a0
lea eax, [esp + 0x644]
push eax
push str.sCurrentFilePath___s
push 0xfcd
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
push 0x47cb7c
push dword [esp + 0x54]
lea eax, [esp + 0x668]
push ebp
push eax
call fcn.00414640
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.004165a0
lea ecx, [esp + 0x444]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413276
sub ecx, edx
lea eax, [esp + 0x438]
push ecx
push eax
call fcn.00415440
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 0x4132c3
test dl, dl
je 0x4132bf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4132c3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4132a3
xor eax, eax
jmp 0x4132c8
sbb eax, eax
or eax, 1
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4133fc
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 0x4132e5
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xfe7
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
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.00447260
add esp, 0x34
test eax, eax
je 0x41339d
lea ecx, [ebx - 1]
nop dword [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x413350
mov eax, dword [str.....]
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
mov dword [ecx], eax
mov ax, word [0x47f3c8]
push 0xfef
push 0x47eb50
mov word [ecx + 4], ax
mov al, byte [0x47f3ca]
push 0
mov byte [ecx + 6], al
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x1c
jmp 0x413475
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x14]
call fcn.00447260
add esp, 8
test eax, eax
je 0x413475
lea edi, [ebx - 1]
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4133c0
mov eax, dword [0x47f3cc]
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xff6
push 0x47eb50
push 0
mov dword [edi], eax
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
mov edi, dword [esp + 0x40]
add esp, 0x1c
jmp 0x413475
lea eax, [esp + 0x2038]
push eax
push 0
push 0
push 0x1a
push 0
call ebp
test eax, eax
jns 0x41343d
mov eax, dword [esp + 0x18]
push str.user_application_directory_does_not_exist
push 0xfff
push 0x47eb50
push 0
mov byte [eax], 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x18
push 0x200
lea eax, [esp + 0x203c]
push ebx
push eax
call fcn.004165a0
push ebx
push str.bSystemUser__false__sUserApplicationDirectory___s
push 0x1003
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x28
mov ecx, str.MXmeeting
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4134a0
test dl, dl
je 0x41349c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4134a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x413480
xor eax, eax
jmp 0x4134a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413548
call fcn.00413ad0
test al, al
je 0x413548
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.004165a0
lea ecx, [esp + 0x244]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4134f3
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
js 0x413523
nop dword [eax]
nop word [eax + eax]
cmp byte [esp + eax + 0x238], 0x5c
je 0x4135e0
sub eax, 1
jns 0x413510
push ebx
push str.from_CSIDL_COMMON_DOCUMENTS__sUserApplicationDirectory___s
push 0x101c
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
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.004165a0
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.004165a0
add esp, 0xc
mov eax, str.MXmeeting
nop
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x41360e
test cl, cl
je 0x4135dc
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x41360e
add esi, 2
add eax, 2
test cl, cl
jne 0x4135c0
xor eax, eax
jmp 0x413613
cmp eax, 0x200
jae 0x413913
mov byte [esp + eax + 0x238], 0
lea eax, [esp + 0x238]
push eax
push 0x47cce0
push ebx
call fcn.00407cd0
add esp, 0xc
jmp 0x413523
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413630
call fcn.00413ad0
test al, al
lea eax, [esp + 0x838]
push eax
push 0
push 0
je 0x41363c
push 0x17
jmp 0x41363e
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.004165a0
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 0x413662
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 0x413680
sub edx, esi
lea edi, [ecx - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413690
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.004165a0
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.004165a0
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413736
sub ecx, edx
je 0x41376d
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413746
sub ecx, edx
cmp byte [ecx + ebx - 1], 0x5c
jne 0x41376d
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413760
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 0x413776
sub ecx, edx
je 0x4137ad
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413786
sub ecx, edx
cmp byte [ecx + ebp - 1], 0x5c
jne 0x4137ad
mov ecx, ebp
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4137a0
sub ecx, edx
mov byte [ecx + ebp - 1], al
push dword [esp + 0x14]
push str.sStartMenuDirectory___s
push 0x104e
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
push dword [esp + 0x2c]
push str.sCurrentDirectory___s
push 0x1050
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
push dword [esp + 0x60]
push str.sCurrentFile___s
push 0x1051
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x54
push ebx
push str.sUserApplicationDirectory___s
push 0x1052
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
push ebp
push str.sTempDirectory___s
push 0x1053
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
push edi
push str.sDesktopDirectory___s
push 0x1054
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
mov eax, dword [esp + 0x6c]
add esp, 0x54
cmp byte [eax], 0
je 0x41389d
push str.bUserAppDirAccessable__true
push 0x1057
jmp 0x4138a7
push str.bUserAppDirAccessable__false
push 0x1059
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp byte [eax], 0
je 0x4138d6
push str.bSystemUser__true
push 0x105c
jmp 0x4138e0
push str.bSystemUser__false
push 0x105e
push 0x47eb50
push 0
push str.Utility::GetUserDirectory__
push dword [0x4a9068]
call fcn.0040ee70
mov ecx, dword [esp + 0x3450]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004440d2
add esp, 0x342c
ret
call fcn.00443ff8
int3