Function at 0x41694e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
push ebx
push esi
push edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov ebx, ecx
push edi
push edi
push 0x406
push dword [ebx + 0x20]
call esi
push edi
push 0x12c
push 0x160
push eax
call esi
push edi
push edi
push 0x406
push dword [ebx + 0x20]
call esi
push edi
push edi
push 0x14b
push eax
call esi
cmp dword [ebx + 0x3c], edi
jne 0x4169bf
lea eax, [ebx + 0x40]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebx + 0x3c]
push eax
push 0x11
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebx + 0x44]
push eax
push 0x12
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov al, byte [ebp + 0xb]
and byte [ebp - 0x34], 0
mov byte [ebp - 0x3c], al
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3b], al
call fcn.00417775
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
push edi
push dword [ebp + 8]
push dword [ebx + 0x40]
push dword [0x48a1d0]
call fcn.0041684f
push dword [ebx + 0x3c]
push dword [ebx + 0x40]
call fcn.0045fb5e
pop ecx
lea edx, [ebp - 0x68]
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [0x48a1d0]
push edx
push 0x479de8
push edi
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x416a31
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
push 1
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 0x68]
call fcn.0041684f
mov eax, dword [ebp - 0x30]
push dword [ebp + 8]
or dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], edi
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.0045bc9b
pop ecx
cmp eax, edi
mov ecx, dword [0x47e520]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], ecx
jne 0x416a86
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebp - 8], edi
push eax
call fcn.0045bc12
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401522
lea ecx, [ebp - 0x10]
call fcn.0040139c
jmp 0x416bd9
cmp dword [ebp - 0x10], edi
jle 0x416bd9
mov eax, dword [ebp - 0x2c]
push 6
pop ecx
lea edi, [ebp - 0x80]
lea esi, [eax + 0xc]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x80]
push edi
push dword [ebp + 8]
call fcn.0045beb9
push dword [ebp + 8]
mov esi, eax
push dword [ebp - 0x74]
push 0
call fcn.0045c3b4
add esp, 0x14
cmp al, 1
jne 0x416ae4
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045bc12
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401522
lea ecx, [ebp - 0x24]
jmp 0x416bb5
push esi
push dword [ebp - 0x74]
call fcn.0045c383
pop ecx
cmp al, 1
pop ecx
jne 0x416bba
mov eax, dword [0x47e520]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
inc edi
inc eax
mov dword [ebp - 0xc], edi
cmp edi, eax
jge 0x416bb2
push edi
push dword [ebp + 8]
call fcn.0045bfd3
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x416aff
push 0x8000
lea eax, [ebp - 0x18]
push 0
push eax
push esi
call fcn.0045bdd2
push 0x10
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0046aa50
and dword [ebp - 0x94], 0
push 0
push esi
mov dword [ebp - 0x98], edi
call fcn.0045beb9
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x70]
add esp, 0x24
mov dword [ebp - 0x8c], esi
mov ecx, dword [eax]
mov dword [ebp - 0x88], eax
push eax
mov dword [ebp - 0x94], 1
call dword [ecx + 4]
push 6
lea eax, [ebp - 0x5c]
pop ecx
lea esi, [ebp - 0x98]
lea edi, [ebp - 0x5c]
push eax
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x44], 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00417349
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov edi, ecx
mov dword [eax + 0x24], ecx
jmp 0x416aff
lea ecx, [ebp - 0x1c]
call fcn.0040139c
lea ecx, [ebp - 0x2c]
call fcn.004177fe
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jl 0x416a8f
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
lea ecx, [ebp - 0x18]
call fcn.0040139c
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
cmp eax, edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [ecx]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ecx
jle 0x416c39
mov eax, dword [ebp - 0x10]
push 6
pop ecx
lea edi, [ebp - 0x80]
lea esi, [eax + 0xc]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x80]
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 0x74]
call fcn.00416ebc
cmp dword [ebp - 0x7c], 0
je 0x416c1e
inc eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x10]
call fcn.004177fe
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x1c]
jl 0x416bf6
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push dword [ebx + 0x40]
mov ecx, ebx
call fcn.00416ebc
cmp dword [ebp - 8], 0xffffffff
je 0x416d40
cmp dword [ebx + 0x28], edi
je 0x416d40
mov eax, dword [0x47e520]
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.0045bcba
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0045c25b
push eax
lea ecx, [ebp - 4]
call fcn.00401522
lea ecx, [ebp - 0x1c]
call fcn.0040139c
mov eax, dword [0x48a1d0]
cmp eax, edi
je 0x416ca6
mov ecx, dword [eax]
lea edx, [ebp - 0x1a8]
push edx
push 0x4000
push dword [ebp + 8]
push eax
call dword [ecx + 0x2c]
lea eax, [ebp - 4]
push edi
push eax
lea esi, [ebp - 0x1a8]
sub esp, 0x108
push 0x42
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0045fbc1
add esp, 0x110
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp - 8]
push 0x150
push dword [ebx + 0x20]
call esi
mov edi, eax
push 0x24
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.0046aa50
or dword [ebp - 0x60], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x64], 0x27
push 1
call fcn.0045c3fd
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
push 3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x44], edi
call fcn.0045c3fd
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x40c
push dword [ebx + 0x20]
call esi
lea ecx, [ebp - 0x28]
call fcn.0045bcda
lea ecx, [ebp - 4]
call fcn.0040139c
xor edi, edi
push edi
push edi
push 0x406
push dword [ebx + 0x20]
call esi
push edi
push edi
push 0x146
push eax
call esi
cmp eax, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], edi
jle 0x416eab
push edi
push dword [ebp - 8]
push 0x150
push dword [ebx + 0x20]
call esi
mov dword [ebp - 0x24], eax
mov ecx, eax
push dword [ebp + 8]
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
push eax
push edi
call fcn.0045c3b4
add esp, 0xc
test al, al
je 0x416da3
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jl 0x416d64
jmp 0x416eab
mov eax, dword [0x47e520]
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], eax
call fcn.0045bcba
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0045bcba
push edi
push dword [ebp - 8]
push 0x14e
push dword [ebx + 0x20]
call esi
mov eax, dword [0x48a1d0]
cmp eax, edi
je 0x416ded
mov ecx, dword [eax]
lea edx, [ebp - 0x1a8]
push edx
push 0x8000
push dword [ebp + 8]
push eax
call dword [ecx + 0x2c]
lea eax, [ebp - 4]
push edi
push eax
lea esi, [ebp - 0x1a8]
sub esp, 0x108
push 0x42
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0045fbc1
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
neg eax
sbb eax, eax
and eax, ecx
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.0045bc12
add esp, 0x118
lea ecx, [ebp - 4]
push eax
call fcn.00401522
lea ecx, [ebp + 8]
call fcn.0040139c
xor esi, esi
push 0x24
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0046aa50
or dword [ebp - 0x60], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x64], 0x27
push 3
call fcn.0045c3fd
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x50], eax
call fcn.0045c3fd
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x54], eax
call fcn.004016d4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x64]
push eax
push esi
push 0x40c
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x20]
call fcn.0045bcda
lea ecx, [ebp - 0x14]
call fcn.0045bcda
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 0x3c]
call fcn.004172ea
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4