Function at 0x432020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5843f2
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.00425790
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0042fae0
mov esi, dword [ebp - 0x248]
cmp byte [esi + 0xd], 0
jne 0x432139
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], eax
jb 0x4320eb
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.0042f960
add esp, 0xc
test eax, eax
jne 0x43212c
mov eax, dword [ebp - 0x234]
mov ecx, edi
cmp eax, ecx
jbe 0x432128
or eax, 0xffffffff
jmp 0x43212c
sbb eax, eax
neg eax
mov edi, dword [ebp - 0x244]
shr eax, 0x1f
test al, al
je 0x432141
mov esi, dword [ebp - 0x238]
mov esi, dword [esi]
lea ecx, [ebp - 0x28]
call fcn.00425730
mov eax, dword [ebp - 0x238]
cmp esi, dword [eax]
jne 0x432171
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
jmp 0x4328d6
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.00428970
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 0x4322b4
xor esi, esi
mov edx, eax
test ecx, ecx
je 0x4321b6
cmp word [eax], 0x5c
je 0x4321b4
cmp ecx, 1
je 0x4321b6
add edx, 2
dec ecx
cmp word [edx], 0x5c
jne 0x4321a5
mov esi, edx
test esi, esi
je 0x4322b4
sub esi, eax
sar esi, 1
cmp esi, 0xffffffff
je 0x4322b4
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.00425790
lea ecx, [ebp - 0x58]
call fcn.00425730
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.00425730
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 0x432908
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.00425790
lea ecx, [ebp - 0x88]
call fcn.00425730
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.00425730
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x622c80]
cmp eax, dword [ecx + 8]
jle 0x43267e
push 0x622c80
call fcn.00553e0b
add esp, 4
cmp dword [0x622c80], 0xffffffff
jne 0x43267e
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.00425790
movups xmm0, xmmword [0x5c2ad8]
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.00425790
movups xmm0, xmmword [0x5c2ac8]
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.00425790
movups xmm0, xmmword [0x5c2ab8]
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.00425790
movups xmm0, xmmword [0x5c2aa8]
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.00425790
movups xmm0, xmmword [0x5c2a98]
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.00425790
movups xmm0, xmmword [0x5c2a88]
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.00425790
movups xmm0, xmmword [0x5c2a78]
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.00425790
movups xmm0, xmmword [0x5c2a68]
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.00425790
movups xmm0, xmmword [0x5c2a58]
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.00425790
movups xmm0, xmmword [0x5c2a48]
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.00553ee1
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 0x43264a
mov edi, dword [ebp - 0x238]
nop word [eax + eax]
push esi
push edi
call fcn.00434770
add esi, 0x28
lea eax, [ebp - 0x88]
cmp esi, eax
jne 0x432630
mov edi, dword [ebp - 0x244]
push fcn.00424580
push 0xa
push 0x28
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
call fcn.0055443c
push 0x59e480
call fcn.0055414d
push 0x622c80
mov byte [ebp - 4], 2
call fcn.00553dc1
add esp, 8
lea eax, [ebp - 0x58]
mov ecx, 0x622c84
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0042fae0
mov esi, dword [ebp - 0x248]
cmp byte [esi + 0xd], 0
jne 0x4328a8
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], eax
jb 0x4326b7
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.0042f960
add esp, 0xc
test eax, eax
jne 0x4326f8
mov eax, dword [ebp - 0x234]
mov ecx, edi
cmp eax, ecx
jbe 0x4326f4
or eax, 0xffffffff
jmp 0x4326f8
sbb eax, eax
neg eax
mov edi, dword [ebp - 0x244]
shr eax, 0x1f
test al, al
jne 0x4328a8
cmp esi, dword [0x622c84]
je 0x4328a8
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 0x432779
mov edx, dword [ebp - 0x240]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432760
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00425790
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 0x43290d
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push 0x5bd2c8
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x238]
lea ecx, [ebp - 0x230]
call fcn.004344d0
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.004258a0
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.00425730
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.00425730
lea ecx, [ebp - 0x230]
call fcn.00425730
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.00425730
jmp 0x4328ce
xor eax, eax
mov dword [edi], 0
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x5bb3b8
mov word [edi], ax
call fcn.00425790
lea ecx, [ebp - 0x70]
call fcn.00425730
lea ecx, [ebp - 0x88]
call fcn.00425730
lea ecx, [ebp - 0x58]
call fcn.00425730
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.00553cca
mov esp, ebp
pop ebp
ret 4
call fcn.00426cb0
call fcn.004213b0
int3