Function at 0x511040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6712ae
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x759454]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
push 0x104
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.005ff380
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005ff380
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x511115
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00616667
add esp, 0xc
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511120
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004586f0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511145
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.004586f0
push 0x6adfb8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0047f9f0
push str.AdobeGCData
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0047f9f0
lea ecx, [ebp - 0x114]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5111a0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.004586f0
push 0x6adfb8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0047f9f0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0047f9f0
lea ecx, [ebp - 0x114]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511200
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004586f0
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x450]
push 1
sub esp, 0x18
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x43c], 0x10
mov esi, esp
cmovae eax, dword [ebp - 0x450]
mov dword [ebp - 0x458], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp ecx, 0x10
jae 0x511269
movups xmm0, xmmword [eax]
mov edi, 0xf
movups xmmword [esi], xmm0
jmp 0x5112a2
mov edi, ecx
mov eax, SysReAllocString
or edi, 0xf
mov ecx, esi
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00443300
mov ecx, dword [ebp - 0x45c]
inc ecx
mov dword [esi], eax
push ecx
push dword [ebp - 0x458]
push eax
call fcn.005fe3c0
mov ecx, dword [ebp - 0x45c]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
call fcn.0047d1b0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x51139c
sub esp, 0x18
lea eax, [ebp - 0x450]
mov ecx, esp
push eax
call fcn.00446be0
call fcn.0047edc0
add esp, 0x18
test al, al
jne 0x511393
push 0
sub esp, 0x18
lea eax, [ebp - 0x438]
mov ecx, esp
push eax
call fcn.00446be0
call fcn.0047d1b0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x511393
sub esp, 0x18
lea eax, [ebp - 0x438]
mov ecx, esp
push eax
call fcn.00446be0
call fcn.0047edc0
add esp, 0x18
test al, al
je 0x51132e
push edi
call fcn.0047e5d0
push esi
call fcn.0047e5d0
add esp, 8
jmp 0x51139c
cmp dword [ebp - 0x424], 0x10
lea ecx, [ebp - 0x454]
push 0
push 0x1000006
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ecx
push eax
call fcn.00491c00
add esp, 0x10
test eax, eax
je 0x511369
mov dword [ebp - 0x454], 0
jmp 0x51137c
push 0x1b58
push dword [ebp - 0x454]
call fcn.0048e5b0
add esp, 8
push edi
call fcn.0047e5d0
push esi
call fcn.0047e5d0
mov esi, dword [ebp - 0x454]
add esp, 8
jmp 0x51139e
push esi
call fcn.0047e5d0
add esp, 4
xor esi, esi
mov edx, dword [ebp - 0x43c]
cmp edx, 0x10
jb 0x5113d8
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5113ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x511478
push edx
push ecx
call fcn.005e984c
add esp, 8
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x51140e
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x511404
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x511478
push edx
push ecx
call fcn.005e984c
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
cmp edx, 0x10
jb 0x511459
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51144f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x511478
push edx
push ecx
call fcn.005e984c
add esp, 8
mov eax, esi
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.005e980b
mov esp, ebp
pop ebp
ret 0x18
call fcn.00608584
int3