Function at 0x426dc0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606ab8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x238
mov eax, dword [0x69f000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x220]
push 0
push 0x2c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xorps xmm0, xmm0
lea ecx, [ebp - 0x220]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426e57
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040c3f0
cmp dword [ebx + 0x1c], 8
lea ecx, [ebx + 8]
mov edx, dword [ebx + 0x18]
cmovae ecx, dword [ebx + 8]
push 9
push str.ReaderAPP
push 0
mov dword [ebp - 0x240], 1
call fcn.0040c360
add esp, 0xc
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x23c]
movups xmmword [ebp - 0x23c], xmm0
cmp eax, 0xffffffff
je 0x426f65
push 0xe
push str.AdobeAcrobat
call fcn.0040c3f0
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x427008
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x427008
add eax, ecx
mov dword [ebp - 0x224], eax
lea eax, [eax*2 + 0x16]
push eax
call fcn.005d89b1
mov edi, eax
add esp, 4
test edi, edi
je 0x427008
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x426f20
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 0x224]
add eax, 0xb
push eax
push edi
call fcn.005d894d
add esp, 0xc
lea eax, [ebp - 0x23c]
cmp dword [ebp - 0x228], 8
cmovae eax, dword [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426f55
jmp 0x426ff2
push 0xd
push 0x6658e0
call fcn.0040c3f0
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x427008
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x427008
add eax, ecx
mov dword [ebp - 0x224], eax
lea eax, [eax*2 + 0x16]
push eax
call fcn.005d89b1
mov edi, eax
add esp, 4
test edi, edi
je 0x427008
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x426fb2
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 0x224]
add eax, 0xb
push eax
push edi
call fcn.005d894d
add esp, 0xc
lea eax, [ebp - 0x23c]
cmp dword [ebp - 0x228], 8
cmovae eax, dword [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426fe7
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.0040be20
push edi
call fcn.005d8486
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.0040bd90
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.0040bd90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005d077b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret