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

Disassembly:
mov eax, 0x3428
call fcn.00439c50
mov eax, dword [0x483ca0]
xor eax, esp
mov dword [esp + 0x3424], eax
mov eax, dword [esp + 0x3434]
push ebx
mov ebx, dword [esp + 0x343c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3440]
push ebp
mov ebp, dword [esp + 0x3438]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3448]
push esi
mov esi, dword [esp + 0x3438]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3450]
mov dword [esp + 0x18], eax
cmp byte [esi], 0
mov eax, dword [esp + 0x3454]
push edi
mov edi, dword [esp + 0x3460]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x345c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edi
je 0x40c980
mov ecx, str.WebMeeting
mov eax, esi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c960
test dl, dl
je 0x40c95c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c960
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c940
xor eax, eax
jmp 0x40c965
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c980
lea edx, [esp + 0x34]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40c971
jmp 0x40c9a0
mov eax, dword [0x4613f8]
movq xmm0, qword [0x4613f0]
mov dword [esp + 0x3c], eax
mov al, byte [0x4613fc]
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x40], al
push 0x200
lea eax, [esp + 0x1c38]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x200
lea eax, [esp + 0x1438]
push eax
lea eax, [esp + 0x1c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x200
lea eax, [esp + 0x638]
push eax
lea eax, [esp + 0x143c]
push eax
call fcn.0040f9f0
lea eax, [esp + 0x640]
push eax
push str.sCurrentFilePath___s
push 0xed2
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
push 0x46140c
push dword [esp + 0x50]
lea eax, [esp + 0x664]
push ebp
push eax
call fcn.0040dd20
mov eax, dword [esp + 0x4c]
add esp, 0x38
mov dword [esp + 0x2c], 0x200
mov byte [eax], 1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2438]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x200
lea eax, [esp + 0x438]
push eax
lea eax, [esp + 0x243c]
push eax
call fcn.0040f9f0
lea ecx, [esp + 0x440]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ca76
sub ecx, edx
lea eax, [esp + 0x434]
push ecx
push eax
call fcn.0040eb60
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, str.SYSTEM
mov byte [eax], 0
lea eax, [esp + 0x434]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40cac3
test dl, dl
je 0x40cabf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40cac3
add eax, 2
add ecx, 2
test dl, dl
jne 0x40caa3
xor eax, eax
jmp 0x40cac8
sbb eax, eax
or eax, 1
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40cbfc
mov eax, dword [esp + 0x18]
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 0x40cae5
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xeec
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
push 0x4613f0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x258]
push 0x461410
push eax
call fcn.0043a459
lea eax, [esp + 0x260]
push eax
push dword [esp + 0x40]
call fcn.00439380
add esp, 0x34
test eax, eax
je 0x40cb9d
lea ecx, [ebx - 1]
jmp 0x40cb50
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x40cb50
mov eax, dword [str.....]
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
mov dword [ecx], eax
mov ax, word [0x463e78]
push 0xef4
push 0x46360c
mov word [ecx + 4], ax
mov al, byte [0x463e7a]
push 0
mov byte [ecx + 6], al
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x1c
jmp 0x40cc75
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x14]
call fcn.00439380
add esp, 8
test eax, eax
je 0x40cc75
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x40cbc0
mov eax, dword [0x463e7c]
push ebx
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xefb
push 0x46360c
push 0
mov dword [edi], eax
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
mov edi, dword [esp + 0x4c]
add esp, 0x1c
jmp 0x40cc75
lea eax, [esp + 0xc34]
push eax
push 0
push 0
push 0x1a
push 0
call ebp
test eax, eax
jns 0x40cc3d
mov eax, dword [esp + 0x14]
push str.user_application_directory_does_not_exist
push 0xf04
push 0x46360c
push 0
mov byte [eax], 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x18
push 0x200
lea eax, [esp + 0xc38]
push ebx
push eax
call fcn.0040f9f0
push ebx
push str.bSystemUser__false__sUserApplicationDirectory___s
push 0xf08
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x28
mov ecx, str.MXmeeting
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40cca0
test dl, dl
je 0x40cc9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40cca0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40cc80
xor eax, eax
jmp 0x40cca5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40cd46
call fcn.0040d1b0
test al, al
je 0x40cd46
lea eax, [esp + 0x2c34]
push eax
push 0
push 0
push 0x2e
push 0
call ebp
push 0x200
lea eax, [esp + 0x238]
push eax
lea eax, [esp + 0x2c3c]
push eax
call fcn.0040f9f0
lea ecx, [esp + 0x240]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ccf3
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
js 0x40cd21
jmp 0x40cd10
cmp byte [esp + eax + 0x234], 0x5c
je 0x40cde0
dec eax
jns 0x40cd10
push ebx
push str.from_CSIDL_COMMON_DOCUMENTS__sUserApplicationDirectory___s
push 0xf21
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x1c
lea eax, [esp + 0x1034]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x200
lea eax, [esp + 0x1838]
push eax
lea eax, [esp + 0x103c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x200
push dword [esp + 0x2c]
lea eax, [esp + 0x183c]
push eax
call fcn.0040f9f0
add esp, 0xc
lea eax, [esp + 0x2034]
push 0
push 5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x200
lea eax, [esp + 0x2038]
push edi
push eax
call fcn.0040f9f0
add esp, 0xc
mov eax, str.MXmeeting
lea esp, [esp]
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x40ce0e
test cl, cl
je 0x40cddc
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x40ce0e
add esi, 2
add eax, 2
test cl, cl
jne 0x40cdc0
xor eax, eax
jmp 0x40ce13
cmp eax, 0x200
jae 0x40d0c8
mov byte [esp + eax + 0x234], 0
lea eax, [esp + 0x234]
push eax
push 0x462724
push ebx
call fcn.0043a459
add esp, 0xc
jmp 0x40cd21
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40ce30
call fcn.0040d1b0
test al, al
lea eax, [esp + 0x834]
push eax
push 0
push 0
je 0x40ce3c
push 0x17
jmp 0x40ce3e
lea eax, [esp + 0x834]
push eax
push 0
push 0
push 2
push 0
call ebp
push 0x200
push dword [esp + 0x24]
lea eax, [esp + 0x83c]
push eax
call fcn.0040f9f0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea edi, [ecx - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x40ce62
mov ax, word [0x46140c]
lea edx, [esp + 0x34]
mov word [edi], ax
mov esi, edx
jmp 0x40ce80
mov al, byte [edx]
inc edx
test al, al
jne 0x40ce80
sub edx, esi
lea edi, [ecx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40ce90
mov ecx, edx
lea eax, [esp + 0x2834]
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
push 0x200
lea eax, [esp + 0x3038]
push eax
lea eax, [esp + 0x283c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x3034]
push 0x200
push esi
push eax
call fcn.0040f9f0
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cef2
sub ecx, edx
je 0x40cf24
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf02
sub ecx, edx
cmp byte [ecx + ebx - 1], 0x5c
jne 0x40cf24
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf17
sub ecx, edx
mov byte [ecx + ebx - 1], al
mov ebp, dword [esp + 0x28]
mov ecx, ebp
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf30
sub ecx, edx
je 0x40cf62
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf40
sub ecx, edx
cmp byte [ecx + ebp - 1], 0x5c
jne 0x40cf62
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf55
sub ecx, edx
mov byte [ecx + ebp - 1], al
push dword [esp + 0x20]
push str.sStartMenuDirectory___s
push 0xf4f
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
push dword [esp + 0x2c]
push str.sCurrentDirectory___s
push 0xf51
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
push dword [esp + 0x5c]
push str.sCurrentFile___s
push 0xf52
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x54
push ebx
push str.sUserApplicationDirectory___s
push 0xf53
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
push ebp
push str.sTempDirectory___s
push 0xf54
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
push esi
push str.sDesktopDirectory___s
push 0xf55
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
mov eax, dword [esp + 0x68]
add esp, 0x54
cmp byte [eax], 0
je 0x40d052
push str.bUserAppDirAccessable__true
push 0xf58
jmp 0x40d05c
push str.bUserAppDirAccessable__false
push 0xf5a
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
mov eax, dword [esp + 0x30]
add esp, 0x18
cmp byte [eax], 0
je 0x40d08b
push str.bSystemUser__true
push 0xf5d
jmp 0x40d095
push str.bSystemUser__false
push 0xf5f
push 0x46360c
push 0
push str.Utility::GetUserDirectory__
push dword [0x4868e8]
call fcn.0040a4c0
mov ecx, dword [esp + 0x344c]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004396df
add esp, 0x3428
ret
call fcn.004383dd
int3