Function at 0x467439
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4d2248]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x224]
push ebx
mov ebx, dword [ebp + 8]
push eax
mov dword [ebp - 0x240], ebx
call fcn.004138c0
mov ecx, dword [ebp - 0x214]
test ecx, ecx
jne 0x467491
lea eax, [ebp - 0x224]
mov ecx, ebx
push eax
call fcn.00413950
push 0
push 1
lea ecx, [ebp - 0x224]
call fcn.00414dd0
jmp 0x4678fc
push esi
push edi
xor edi, edi
cmp ecx, 1
jbe 0x467558
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x224]
mov esi, dword [ebp - 0x224]
cmp edx, 8
push 0x22
cmovae eax, esi
pop edi
push 0
cmp word [eax], di
pop edi
jne 0x4674da
cmp edx, 8
lea eax, [ebp - 0x224]
push 0x22
cmovae eax, esi
pop edi
push 0
cmp word [eax + ecx*2 - 2], di
pop edi
je 0x467507
cmp edx, 8
lea eax, [ebp - 0x224]
push 0x27
cmovae eax, esi
pop edi
push 0
cmp word [eax], di
pop edi
jne 0x467558
cmp edx, 8
lea eax, [ebp - 0x224]
push 0x27
cmovae eax, esi
pop edx
cmp word [eax + ecx*2 - 2], dx
jne 0x467558
xor eax, eax
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
lea eax, [ecx - 2]
push eax
push 1
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], edi
push eax
lea ecx, [ebp - 0x23c]
call fcn.00414be0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041ab70
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00414dd0
xor ebx, ebx
mov esi, dword [edi + 0x4d2050]
push esi
call fcn.00411dc0
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x224]
call fcn.0041b1d0
mov esi, eax
cmp esi, 0xffffffff
je 0x4675e0
push ebx
push dword [edi + 0x4d2054]
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.004138f0
mov ecx, dword [edi + 0x4d2050]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4675ac
push 0xffffffffffffffff
push ebx
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push eax
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.0041c890
push ebx
push 1
lea ecx, [ebp - 0x23c]
call fcn.00414dd0
add edi, 8
cmp edi, 0x38
jb 0x46755a
mov esi, dword [str._user_name]
push esi
call fcn.00411dc0
pop ecx
push eax
xor edi, edi
lea ecx, [ebp - 0x224]
push edi
push esi
call fcn.0041b1d0
mov ebx, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
cmp eax, 0xffffffff
je 0x4676be
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], edi
push eax
push edi
pop edi
call 0x55ea88
call edi
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x4676bc
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00467f1e
mov esi, eax
lea eax, [ebp - 0x240]
pop ecx
push eax
push esi
call edi
push esi
lea ecx, [ebp - 0x23c]
call fcn.004138f0
mov ecx, dword [str._user_name]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x467676
push 0xffffffffffffffff
push edi
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push eax
push ecx
push dword [ebp - 0x244]
lea ecx, [ebp - 0x224]
call fcn.0041c890
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00414dd0
test esi, esi
je 0x4676be
push esi
call fcn.00469b58
pop ecx
jmp 0x4676be
xor edi, edi
mov esi, dword [str._machine_name]
push esi
call fcn.00411dc0
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x224]
call fcn.0041b1d0
mov dword [ebp - 0x244], eax
cmp eax, 0xffffffff
je 0x467790
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], edi
push eax
push edi
call 0x66ef4a
mov esi, dword [str._client_name]
push esi
call fcn.00411dc0
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x224]
call fcn.0041b1d0
mov esi, eax
cmp esi, 0xffffffff
je 0x467837
lea eax, [ebp - 0x244]
mov dword [ebp - 0x240], edi
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], edi
push eax
push 0xa
push 0xffffffffffffffff
push edi
call fcn.0048baa2
test eax, eax
je 0x467837
push dword [ebp - 0x240]
lea ecx, [ebp - 0x23c]
call fcn.004138f0
mov ecx, dword [str._client_name]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4677f8
push 0xffffffffffffffff
push edi
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push eax
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.0041c890
push dword [ebp - 0x240]
call fcn.0048baa8
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00414dd0
mov esi, dword [str._session_name]
push esi
call fcn.00411dc0
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x224]
call fcn.0041b1d0
mov esi, eax
cmp esi, 0xffffffff
je 0x4678de
lea eax, [ebp - 0x244]
mov dword [ebp - 0x240], edi
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], edi
push eax
push 6
push 0xffffffffffffffff
push edi
call fcn.0048baa2
test eax, eax
je 0x4678de
push dword [ebp - 0x240]
lea ecx, [ebp - 0x23c]
call fcn.004138f0
mov ecx, dword [str._session_name]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x46789f
push 0xffffffffffffffff
push edi
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push eax
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.0041c890
push dword [ebp - 0x240]
call fcn.0048baa8
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00414dd0
lea eax, [ebp - 0x224]
mov ecx, ebx
push eax
call fcn.00413950
push edi
push 1
lea ecx, [ebp - 0x224]
call fcn.00414dd0
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0046a331
mov esp, ebp
pop ebp
ret