Function at 0x432040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584832
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.0042fb00
mov esi, dword [ebp - 0x248]
cmp byte [esi + 0xd], 0
jne 0x432159
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], eax
jb 0x43210b
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.0042f980
add esp, 0xc
test eax, eax
jne 0x43214c
mov eax, dword [ebp - 0x234]
mov ecx, edi
cmp eax, ecx
jbe 0x432148
or eax, 0xffffffff
jmp 0x43214c
sbb eax, eax
neg eax
mov edi, dword [ebp - 0x244]
shr eax, 0x1f
test al, al
je 0x432161
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 0x432191
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
jmp 0x4328f6
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 0x4322d4
xor esi, esi
mov edx, eax
test ecx, ecx
je 0x4321d6
cmp word [eax], 0x5c
je 0x4321d4
cmp ecx, 1
je 0x4321d6
add edx, 2
dec ecx
cmp word [edx], 0x5c
jne 0x4321c5
mov esi, edx
test esi, esi
je 0x4322d4
sub esi, eax
sar esi, 1
cmp esi, 0xffffffff
je 0x4322d4
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 0x432928
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 0x43269e
push 0x622c80
call fcn.00553e6b
add esp, 4
cmp dword [0x622c80], 0xffffffff
jne 0x43269e
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 [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.00425790
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.00425790
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.00425790
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.00425790
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.00425790
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.00425790
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.00425790
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.00425790
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.00425790
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.00553f41
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 0x43266a
mov edi, dword [ebp - 0x238]
nop word [eax + eax]
push esi
push edi
call fcn.00434790
add esi, 0x28
lea eax, [ebp - 0x88]
cmp esi, eax
jne 0x432650
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.0055449c
push 0x59e8d0
call fcn.005541ad
push 0x622c80
mov byte [ebp - 4], 2
call fcn.00553e21
add esp, 8
lea eax, [ebp - 0x58]
mov ecx, 0x622c84
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0042fb00
mov esi, dword [ebp - 0x248]
cmp byte [esi + 0xd], 0
jne 0x4328c8
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], eax
jb 0x4326d7
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.0042f980
add esp, 0xc
test eax, eax
jne 0x432718
mov eax, dword [ebp - 0x234]
mov ecx, edi
cmp eax, ecx
jbe 0x432714
or eax, 0xffffffff
jmp 0x432718
sbb eax, eax
neg eax
mov edi, dword [ebp - 0x244]
shr eax, 0x1f
test al, al
jne 0x4328c8
cmp esi, dword [0x622c84]
je 0x4328c8
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 0x432799
mov edx, dword [ebp - 0x240]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432780
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 0x43292d
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.004344f0
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 0x4328ee
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.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.00553d2a
mov esp, ebp
pop ebp
ret 4
call fcn.00426cb0
call fcn.004213b0
int3