Function at 0x4320b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5848b2
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x238], esi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 7
push str.DESTDIR
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
call fcn.00425810
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0042fb70
mov esi, dword [ebp - 0x248]
cmp byte [esi + 0xd], 0
jne 0x4321c9
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], eax
jb 0x43217b
mov edx, dword [edx]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov edi, eax
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x234], edi
cmovb eax, dword [ebp - 0x234]
push eax
push edx
push ecx
call fcn.0042f9f0
add esp, 0xc
test eax, eax
jne 0x4321bc
mov eax, dword [ebp - 0x234]
mov ecx, edi
cmp eax, ecx
jbe 0x4321b8
or eax, 0xffffffff
jmp 0x4321bc
sbb eax, eax
neg eax
mov edi, dword [ebp - 0x244]
shr eax, 0x1f
test al, al
je 0x4321d1
mov esi, dword [ebp - 0x238]
mov esi, dword [esi]
lea ecx, [ebp - 0x28]
call fcn.004257b0
mov eax, dword [ebp - 0x238]
cmp esi, dword [eax]
jne 0x432201
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
jmp 0x432966
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.004289f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov ecx, dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
test ecx, ecx
je 0x432344
xor esi, esi
mov edx, eax
test ecx, ecx
je 0x432246
cmp word [eax], 0x5c
je 0x432244
cmp ecx, 1
je 0x432246
add edx, 2
dec ecx
cmp word [edx], 0x5c
jne 0x432235
mov esi, edx
test esi, esi
je 0x432344
sub esi, eax
sar esi, 1
cmp esi, 0xffffffff
je 0x432344
cmp dword [ebp - 0x60], esi
lea eax, [ebp - 0x70]
mov ecx, esi
mov dword [ebp - 0x28], 0
cmovb ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00425810
lea ecx, [ebp - 0x58]
call fcn.004257b0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.004257b0
mov eax, dword [ebp - 0x60]
inc esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, esi
jb 0x432998
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x28]
lea eax, [eax + esi*2]
push eax
call fcn.00425810
lea ecx, [ebp - 0x88]
call fcn.004257b0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.004257b0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x622c80]
cmp eax, dword [ecx + 8]
jle 0x43270e
push 0x622c80
call fcn.00553eeb
add esp, 4
cmp dword [0x622c80], 0xffffffff
jne 0x43270e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x218]
push 0x1a
xor eax, eax
mov dword [ebp - 0x218], 0
push str._DIR:CSIDL_COMMON_APPDATA_
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 7
mov word [ebp - 0x218], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2bf8]
movups xmmword [ebp - 0x200], xmm0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
push 0x1c
xor eax, eax
mov dword [ebp - 0x1f0], 0
push str._DIR:CSIDL_COMMON_DOCUMENTS_
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 7
mov word [ebp - 0x1f0], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2be8]
movups xmmword [ebp - 0x1d8], xmm0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c8]
push 0x1a
xor eax, eax
mov dword [ebp - 0x1c8], 0
push str._DIR:CSIDL_COMMON_STARTUP_
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 7
mov word [ebp - 0x1c8], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2bd8]
movups xmmword [ebp - 0x1b0], xmm0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a0]
push 0x19
xor eax, eax
mov dword [ebp - 0x1a0], 0
push str._DIR:CSIDL_PROGRAM_FILES_
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 7
mov word [ebp - 0x1a0], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2bc8]
movups xmmword [ebp - 0x188], xmm0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x178]
push 0x1c
xor eax, eax
mov dword [ebp - 0x178], 0
push str._DIR:CSIDL_PROGRAM_FILESX86_
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 7
mov word [ebp - 0x178], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2bb8]
movups xmmword [ebp - 0x160], xmm0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
push 0x1c
xor eax, eax
mov dword [ebp - 0x150], 0
push str._DIR:CSIDL_PROGRAM_FILESX64_
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2ba8]
movups xmmword [ebp - 0x138], xmm0
mov byte [ebp - 4], 9
mov dword [ebp - 0x128], 0
push 0x20
xor eax, eax
mov dword [ebp - 0x118], 0
push str._DIR:CSIDL_PROGRAM_FILES_COMMON_
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2b98]
movups xmmword [ebp - 0x110], xmm0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x100]
push 0x12
xor eax, eax
mov dword [ebp - 0x100], 0
push str._DIR:CSIDL_SYSTEM_
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2b88]
movups xmmword [ebp - 0xe8], xmm0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd8]
push 0x15
xor eax, eax
mov dword [ebp - 0xd8], 0
push str._DIR:CSIDL_SYSTEMX86_
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2b78]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb0]
push 0x13
xor eax, eax
mov dword [ebp - 0xb0], 0
push str._DIR:CSIDL_WINDOWS_
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00425810
movups xmm0, xmmword [0x5c2b68]
movups xmmword [ebp - 0x98], xmm0
mov byte [ebp - 4], 0xd
lea esi, [ebp - 0x218]
push 0x38
mov dword [0x622c84], 0
mov dword [0x622c88], 0
call fcn.00553fc1
add esp, 4
mov dword [ebp - 0x238], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [0x622c84], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xe
cmp esi, eax
je 0x4326da
mov edi, dword [ebp - 0x238]
nop word [eax + eax]
push esi
push edi
call fcn.00434800
add esi, 0x28
lea eax, [ebp - 0x88]
cmp esi, eax
jne 0x4326c0
mov edi, dword [ebp - 0x244]
push fcn.00424600
push 0xa
push 0x28
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
call fcn.0055451c
push 0x59e950
call fcn.0055422d
push 0x622c80
mov byte [ebp - 4], 2
call fcn.00553ea1
add esp, 8
lea eax, [ebp - 0x58]
mov ecx, 0x622c84
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0042fb70
mov esi, dword [ebp - 0x248]
cmp byte [esi + 0xd], 0
jne 0x432938
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], eax
jb 0x432747
mov edx, dword [edx]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
mov edi, eax
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x234], edi
cmovb eax, dword [ebp - 0x234]
push eax
push edx
push ecx
call fcn.0042f9f0
add esp, 0xc
test eax, eax
jne 0x432788
mov eax, dword [ebp - 0x234]
mov ecx, edi
cmp eax, ecx
jbe 0x432784
or eax, 0xffffffff
jmp 0x432788
sbb eax, eax
neg eax
mov edi, dword [ebp - 0x244]
shr eax, 0x1f
test al, al
jne 0x432938
cmp esi, dword [0x622c84]
je 0x432938
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x240]
push eax
push 0
push 0
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x432809
mov edx, dword [ebp - 0x240]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4327f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00425810
push dword [ebp - 0x240]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x30]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x43299d
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push 0x5bd3e8
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x238]
lea ecx, [ebp - 0x230]
call fcn.00434560
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x230]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00425920
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x254], xmm0
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x23c], xmm0
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.004257b0
movups xmm0, xmmword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x23c]
movq qword [ebp - 0x30], xmm0
call fcn.004257b0
lea ecx, [ebp - 0x230]
call fcn.004257b0
movups xmm0, xmmword [ebp - 0x254]
mov dword [edi], 0
lea ecx, [ebp - 0x40]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov dword [ebp - 0x30], 0
movq xmm0, qword [ebp - 0x23c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004257b0
jmp 0x43295e
xor eax, eax
mov dword [edi], 0
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x5bb418
mov word [edi], ax
call fcn.00425810
lea ecx, [ebp - 0x70]
call fcn.004257b0
lea ecx, [ebp - 0x88]
call fcn.004257b0
lea ecx, [ebp - 0x58]
call fcn.004257b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553daa
mov esp, ebp
pop ebp
ret 4
call fcn.00426d30
call fcn.00421430
int3