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

Disassembly:
mov eax, 0x342c
call fcn.004213b0
mov eax, dword [0x4668f4]
mov ecx, dword [esp + 0x343c]
mov edx, dword [esp + 0x3440]
xor eax, esp
mov dword [esp + 0x3428], eax
mov eax, dword [esp + 0x3438]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3444]
push ebp
mov ebp, dword [esp + 0x3438]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3454]
push esi
mov esi, dword [esp + 0x3438]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3450]
mov dword [esp + 0x14], eax
cmp byte [esi], 0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x3454]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x345c]
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
je 0x4064e3
mov edi, str.WebMeeting
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4064e3
mov eax, dword [esp + 0x343c]
lea edx, [esp + 0x34]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4064d7
jmp 0x406509
mov eax, dword [0x44c72c]
mov ecx, dword [0x44c730]
mov edx, dword [0x44c734]
mov dword [esp + 0x34], eax
mov al, byte [0x44c738]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov byte [esp + 0x40], al
push 0x200
lea ecx, [esp + 0x1838]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x200
lea edx, [esp + 0x2c38]
push edx
lea eax, [esp + 0x183c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x200
lea ecx, [esp + 0x638]
push ecx
lea edx, [esp + 0x2c3c]
push edx
call fcn.004057c0
mov ecx, dword [0x467980]
lea eax, [esp + 0x640]
push eax
push str.sCurrentFilePath___s
push 0xe12
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push ecx
call fcn.0040ebc0
mov edx, dword [esp + 0x50]
push 0x44c470
push edx
lea eax, [esp + 0x664]
push ebp
push eax
call fcn.00405560
mov ecx, dword [esp + 0x58]
add esp, 0x38
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2438]
push eax
mov byte [ecx], 1
mov dword [esp + 0x38], 0x200
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x200
lea ecx, [esp + 0x438]
push ecx
lea edx, [esp + 0x243c]
push edx
call fcn.004057c0
lea eax, [esp + 0x440]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4065e1
sub eax, ecx
push eax
lea eax, [esp + 0x438]
push eax
call fcn.004051c0
mov ecx, dword [esp + 0x20]
add esp, 8
mov byte [ecx], 0
mov edi, str.SYSTEM
lea esi, [esp + 0x434]
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40673a
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov edx, esi
mov byte [eax], 1
mov eax, ebp
sub edx, ebp
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406630
mov ecx, dword [0x467980]
push esi
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xe2c
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push ecx
call fcn.0040ebc0
push 0x44c72c
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x258]
push 0x44c45c
push eax
call fcn.004217f1
lea ecx, [esp + 0x260]
push ecx
push ebp
call fcn.00422370
add esp, 0x34
test eax, eax
je 0x4066df
mov edi, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406691
mov edx, dword [str.....]
push esi
mov dword [edi], edx
mov ax, word [0x44c998]
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xe34
mov word [edi + 4], ax
mov cl, byte [0x44c99a]
push str..Utility.cpp
push 0
mov byte [edi + 6], cl
mov edx, dword [0x467980]
push str.Utility::GetUserDirectory__
push edx
call fcn.0040ebc0
add esp, 0x1c
jmp 0x4067bc
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.00422370
add esp, 8
test eax, eax
je 0x4067bc
mov ecx, dword [esp + 0xc]
mov edi, ecx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406700
mov edx, dword [0x44c990]
push ecx
push str.bSystemUser__true__sUserApplicationDirectory___s
push 0xe3b
push str..Utility.cpp
push 0
mov dword [edi], edx
mov eax, dword [0x467980]
push str.Utility::GetUserDirectory__
push eax
call fcn.0040ebc0
add esp, 0x1c
jmp 0x4067bc
lea ecx, [esp + 0x1c34]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x40677f
mov edx, dword [esp + 0x20]
push str.user_application_directory_does_not_exist
push 0xe44
push str..Utility.cpp
push 0
mov byte [edx], 0
mov eax, dword [0x467980]
push str.Utility::GetUserDirectory__
push eax
call fcn.0040ebc0
add esp, 0x18
mov esi, dword [esp + 0xc]
push 0x200
lea ecx, [esp + 0x1c38]
push esi
push ecx
call fcn.004057c0
mov edx, dword [0x467980]
push esi
push str.bSystemUser__false__sUserApplicationDirectory___s
push 0xe48
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push edx
call fcn.0040ebc0
add esp, 0x28
mov esi, dword [esp + 0x343c]
mov edi, str.MXmeeting
mov ecx, 0xa
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40688b
call fcn.00405ae0
test al, al
je 0x40688b
lea ecx, [esp + 0x2034]
push ecx
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x200
lea edx, [esp + 0x238]
push edx
lea eax, [esp + 0x203c]
push eax
call fcn.004057c0
lea eax, [esp + 0x240]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406821
sub eax, edx
dec eax
js 0x406861
lea ecx, [ecx]
cmp byte [esp + eax + 0x234], 0x5c
je 0x40683f
dec eax
jns 0x406830
jmp 0x406861
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x234]
push ecx
push 0x44c73c
push edx
mov byte [esp + eax + 0x240], 0
call fcn.004217f1
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [0x467980]
push eax
push str.from_CSIDL_COMMON_DOCUMENTS__sUserApplicationDirectory___s
push 0xe61
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push ecx
call fcn.0040ebc0
add esp, 0x1c
lea edx, [esp + 0x2834]
push edx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x200
lea eax, [esp + 0xc38]
push eax
lea ecx, [esp + 0x283c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea edx, [esp + 0xc34]
push edx
call fcn.004216cf
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 4
push 0
push 0
push 0
push 0
mov edi, eax
push edi
lea eax, [esp + 0xc48]
push eax
push 0
push 0xfde9
call ebp
mov esi, eax
cmp esi, 0x200
jge 0x406919
mov ecx, dword [esp + 0x1c]
push 0
push 0
push esi
push ecx
push edi
lea edx, [esp + 0xc48]
push edx
push 0
push 0xfde9
call ebp
mov eax, dword [esp + 0x1c]
mov byte [eax + esi], 0
push 0
push 5
lea ecx, [esp + 0x103c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x1034]
push edx
call fcn.004216cf
add esp, 4
push 0
push 0
push 0
push 0
mov edi, eax
push edi
lea eax, [esp + 0x1048]
push eax
push 0
push 0xfde9
call ebp
mov esi, eax
cmp esi, 0x200
jge 0x406987
mov ecx, dword [esp + 0x14]
push 0
push 0
push esi
push ecx
push edi
lea edx, [esp + 0x1048]
push edx
push 0
push 0xfde9
call ebp
mov eax, dword [esp + 0x14]
mov byte [eax + esi], 0
mov esi, dword [esp + 0x343c]
mov edi, str.MXmeeting
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4069c1
call fcn.00405ae0
test al, al
je 0x4069b7
lea eax, [esp + 0x834]
push eax
push 0
push 0
push 0x17
jmp 0x4069cf
lea ecx, [esp + 0x834]
push ecx
jmp 0x4069c9
lea edx, [esp + 0x834]
push edx
push 0
push 0
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x834]
push eax
call fcn.004216cf
add esp, 4
push 0
push 0
push 0
push 0
mov edi, eax
push edi
lea ecx, [esp + 0x848]
push ecx
push 0
push 0xfde9
call ebp
mov esi, eax
cmp esi, 0x200
jge 0x406a31
mov edx, dword [esp + 0x10]
push 0
push 0
push esi
push edx
push edi
lea eax, [esp + 0x848]
push eax
push 0
push 0xfde9
call ebp
mov ecx, dword [esp + 0x10]
mov byte [ecx + esi], 0
mov edx, dword [esp + 0x10]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406a38
mov ax, word [0x44c470]
mov word [edi], ax
lea eax, [esp + 0x34]
mov esi, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406a50
mov edi, edx
sub eax, esi
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406a60
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3034]
push ecx
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x200
lea edx, [esp + 0x1438]
push edx
lea eax, [esp + 0x303c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [esp + 0x1434]
push ecx
call fcn.004216cf
add esp, 4
push 0
push 0
push 0
push 0
mov edi, eax
push edi
lea edx, [esp + 0x1448]
push edx
push 0
push 0xfde9
call ebp
mov esi, eax
cmp esi, 0x200
jge 0x406b01
mov eax, dword [esp + 0x24]
push 0
push 0
push esi
push eax
push edi
lea ecx, [esp + 0x1448]
push ecx
push 0
push 0xfde9
call ebp
mov edx, dword [esp + 0x24]
mov byte [edx + esi], 0
mov edi, dword [esp + 0xc]
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b10
sub eax, edx
mov dword [esp + 0x14], eax
je 0x406b4d
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b24
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
jne 0x406b4d
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b40
sub eax, edx
mov byte [eax + edi - 1], cl
mov esi, dword [esp + 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b56
sub eax, edx
mov dword [esp + 0x14], eax
je 0x406b92
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b70
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
jne 0x406b92
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406b85
sub eax, edx
mov byte [eax + esi - 1], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [0x467980]
push eax
push str.sStartMenuDirectory___s
push 0xe8f
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push ecx
call fcn.0040ebc0
mov edx, dword [esp + 0x48]
mov eax, dword [0x467980]
push edx
push str.sCurrentDirectory___s
push 0xe91
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push eax
call fcn.0040ebc0
mov ecx, dword [esp + 0x60]
mov edx, dword [0x467980]
push ecx
push str.sCurrentFile___s
push 0xe92
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push edx
call fcn.0040ebc0
mov eax, dword [0x467980]
add esp, 0x54
push edi
push str.sUserApplicationDirectory___s
push 0xe93
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push eax
call fcn.0040ebc0
mov ecx, dword [0x467980]
push esi
push str.sTempDirectory___s
push 0xe94
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push ecx
call fcn.0040ebc0
mov edx, dword [esp + 0x5c]
mov eax, dword [0x467980]
push edx
push str.sDesktopDirectory___s
push 0xe95
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push eax
call fcn.0040ebc0
mov ecx, dword [esp + 0x74]
mov al, byte [ecx]
add esp, 0x54
test al, al
pop edi
pop esi
pop ebp
je 0x406ca3
mov edx, dword [0x467980]
push str.bUserAppDirAccessable__true
push 0xe98
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push edx
jmp 0x406cbf
mov eax, dword [0x467980]
push str.bUserAppDirAccessable__false
push 0xe9a
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push eax
call fcn.0040ebc0
mov ecx, dword [esp + 0x24]
mov al, byte [ecx]
add esp, 0x18
test al, al
je 0x406cf0
mov edx, dword [0x467980]
push str.bSystemUser__true
push 0xe9d
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push edx
jmp 0x406d0c
mov eax, dword [0x467980]
push str.bSystemUser__false
push 0xe9f
push str..Utility.cpp
push 0
push str.Utility::GetUserDirectory__
push eax
call fcn.0040ebc0
mov ecx, dword [esp + 0x3440]
add esp, 0x18
xor ecx, esp
call fcn.004205fd
add esp, 0x342c
ret