Function at 0x464c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5501
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x534
mov dword [ebp - 0x18], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea esi, [ecx + 4]
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
mov edi, esi
mov dword [ebp - 0x18], 1
jb 0x464c6a
mov edi, dword [esi]
lea ecx, [ebp - 0x14]
call fcn.0043f850
mov edx, edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0042f700
mov edi, eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x464c98
call fcn.0040d040
mov byte [ebp - 4], 0
cmp edi, 2
jne 0x464f87
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x464caf
mov ecx, dword [esi]
test ecx, ecx
jne 0x464cbb
mov byte [ebp - 0x22c], cl
jmp 0x464cda
lea eax, [ebp - 0x22c]
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x464cd7
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x129]
cmp eax, edx
jb 0x464cc1
mov byte [eax], 0
lea ecx, [ebp - 0x22c]
mov edi, str.Setup
mov eax, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x464cfd
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x129]
cmp eax, edx
jb 0x464ce7
mov byte [eax], 0
cmp byte [ebp - 0x22c], 0
je 0x464d20
push 0
mov edx, 0x104
lea ecx, [ebp - 0x22c]
call fcn.00436590
add esp, 4
nop
mov al, byte [edi]
cmp al, 0x2f
je 0x464d2a
cmp al, 0x5c
jne 0x464d2d
inc edi
jmp 0x464d20
push 0x104
mov edx, edi
lea ecx, [ebp - 0x22c]
call fcn.00436b60
add esp, 4
lea edx, [ebp - 0x22c]
mov ecx, edx
push 0x104
call fcn.004363c0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0043f850
lea edx, [ebp - 0x22c]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0042f700
mov edi, eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x464d89
call fcn.0040d040
mov byte [ebp - 4], 0
cmp edi, 2
jne 0x464df8
mov edi, dword [ebx + 4]
mov dword [ebp - 0x14], 0xffffffff
cmp dword [ebx + 8], edi
je 0x464de5
lea ecx, [ebp - 0x22c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464dc0
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
mov ecx, edi
call fcn.0043d2f0
mov dword [edi + 0x18], 0xffffffff
add dword [ebx + 4], 0x1c
jmp 0x464df8
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.004656f0
cmp dword [esi + 0x14], 0x10
jb 0x464e00
mov esi, dword [esi]
test esi, esi
jne 0x464e0d
mov byte [ebp - 0x124], 0
jmp 0x464e29
lea eax, [ebp - 0x124]
mov cl, byte [esi]
lea esi, [esi + 1]
test cl, cl
je 0x464e26
mov byte [eax], cl
inc eax
lea ecx, [ebp - 0x21]
cmp eax, ecx
jb 0x464e13
mov byte [eax], 0
lea ecx, [ebp - 0x124]
mov esi, str.Agent
mov eax, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x464e49
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x21]
cmp eax, edx
jb 0x464e36
mov byte [eax], 0
cmp byte [ebp - 0x124], 0
je 0x464e70
push 0
mov edx, 0x104
lea ecx, [ebp - 0x124]
call fcn.00436590
add esp, 4
nop word [eax + eax]
mov al, byte [esi]
cmp al, 0x2f
je 0x464e7a
cmp al, 0x5c
jne 0x464e7d
inc esi
jmp 0x464e70
push 0x104
mov edx, esi
lea ecx, [ebp - 0x124]
call fcn.00436b60
add esp, 4
lea edx, [ebp - 0x124]
mov ecx, edx
push 0x104
call fcn.004363c0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0043f850
lea edx, [ebp - 0x124]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0042f700
mov esi, eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x464ed9
call fcn.0040d040
mov byte [ebp - 4], 0
cmp esi, 2
jne 0x464f87
mov esi, dword [ebx + 4]
mov dword [ebp - 0x14], 1
cmp dword [ebx + 8], esi
je 0x464f35
lea ecx, [ebp - 0x124]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464f10
sub ecx, edx
lea eax, [ebp - 0x124]
push ecx
push eax
mov ecx, esi
call fcn.0043d2f0
mov dword [esi + 0x18], 1
add dword [ebx + 4], 0x1c
jmp 0x464f48
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x124]
push eax
push esi
call fcn.004656f0
lea ecx, [ebp - 0x14]
call fcn.0043f850
push 0
push 0x4652d0
push ebx
lea edx, [ebp - 0x124]
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.004300f0
add esp, 0xc
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x464f83
call fcn.0040d040
mov byte [ebp - 4], 0
lea eax, [ebp - 0x53c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x464fbd
sub esp, 0xc
lea eax, [ebp - 0x53c]
mov edx, 0x104
lea ecx, [ebp - 0x334]
push eax
call fcn.00436cd0
add esp, 0x10
lea ecx, [ebp - 0x334]
mov esi, 0x4d0a50
mov eax, ecx
nop word [eax + eax]
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x464fe6
mov byte [eax], dl
lea edi, [ebp - 0x231]
inc eax
cmp eax, edi
jb 0x464fd0
mov byte [eax], 0
cmp byte [ebp - 0x334], 0
je 0x465007
push 0
mov edx, 0x104
lea ecx, [ebp - 0x334]
call fcn.00436590
add esp, 4
mov al, byte [esi]
cmp al, 0x2f
je 0x465011
cmp al, 0x5c
jne 0x465014
inc esi
jmp 0x465007
push 0x104
mov edx, esi
lea ecx, [ebp - 0x334]
call fcn.00436b60
add esp, 4
lea edx, [ebp - 0x334]
mov ecx, edx
push 0x104
call fcn.004363c0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0043f850
lea edx, [ebp - 0x334]
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.0042f700
mov esi, eax
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x465070
call fcn.0040d040
mov byte [ebp - 4], 0
cmp esi, 2
jne 0x4650d8
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + 4]
cmp dword [ebx + 8], esi
je 0x4650c5
lea ecx, [ebp - 0x334]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4650a0
sub ecx, edx
lea eax, [ebp - 0x334]
push ecx
push eax
mov ecx, esi
call fcn.0043d2f0
mov dword [esi + 0x18], 2
add dword [ebx + 4], 0x1c
jmp 0x4650d8
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x334]
push eax
push esi
call fcn.004656f0
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4