Function at 0x58c350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b086c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x614040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jge 0x58c38e
push 0x80070057
call fcn.00402740
cmp word [ecx], 0x40
jne 0x58cee4
mov eax, str._None
lea ecx, [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x58c3c6
test dx, dx
je 0x58c3c2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x58c3c6
add ecx, 4
add eax, 4
test dx, dx
jne 0x58c3a0
xor eax, eax
jmp 0x58c3cb
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x58c401
push 0x2338
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058d5b0
add esp, 4
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004032d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
jmp 0x58c479
push 0x5e88c0
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c4a9
push str._SystemRoot_explorer.exe
lea ecx, [ebp - 0x10]
call fcn.00402f60
xor edx, edx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00589dc0
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00403660
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00586140
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x58c46f
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58c46f
lea ecx, [ebp - 0x10]
call fcn.00584540
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x58d07a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._Manual
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c502
push 0x23b2
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058d5b0
add esp, 4
push eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004032d0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x58c53d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x58c53d
push str._ManualSend
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c577
push 0x2596
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058d5b0
add esp, 4
push eax
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.004032d0
lea ecx, [ebp - 0x18]
call fcn.00402b60
mov esi, dword [ebp + 8]
test esi, esi
je 0x58d07a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58d07a
push 4
push 0x5ea914
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [esi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._Mailer
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c5a7
lea ecx, [ebp - 0x10]
call fcn.00402b30
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 4
mov ecx, ebx
call fcn.00585c00
jmp 0x58c75b
push str._OCR
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c5de
lea ecx, [ebp - 0x10]
call fcn.00402b30
push 0
push 0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 5
mov ecx, ebx
call fcn.00587b30
add esp, 8
jmp 0x58c75b
push str._SUOCR
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c6c0
push 0x246f
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058d5b0
add esp, 4
push eax
mov ecx, ebx
mov dword [ebp - 4], 6
call fcn.004032d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402b60
mov esi, dword [ebp + 8]
test esi, esi
je 0x58d07a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58d07a
lea ecx, [ebp - 0x10]
call fcn.00402b30
mov dword [ebp - 4], 7
mov edx, 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or edx, ecx
jge 0x58c679
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402c20
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push eax
push str.open
push str..txt
push 2
push 0x20
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403da0
lea ecx, [ebp - 0x10]
call fcn.00584540
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._NewApp
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c727
lea ecx, [ebp - 0x10]
call fcn.00402b30
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 8
mov ecx, ebx
call fcn.00587460
mov esi, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x58c774
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58c774
lea ecx, [ebp - 0x10]
call fcn.00584540
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._NewAppOCR
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c78e
lea ecx, [ebp - 0x10]
call fcn.00402b30
push 4
push 0
push 0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 9
mov ecx, ebx
call fcn.00587460
add esp, 0xc
mov esi, dword [ebp + 8]
test esi, esi
je 0x58c774
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58c774
lea ecx, [ebp - 0x10]
call fcn.00584540
mov dword [esi], eax
lea ecx, [ebp - 0x10]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._Viewer
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c870
push 0x23ba
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058d5b0
add esp, 4
push eax
mov ecx, ebx
mov dword [ebp - 4], 0xa
call fcn.004032d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402b60
mov esi, dword [ebp + 8]
test esi, esi
je 0x58d07a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58d07a
lea ecx, [ebp - 0x10]
call fcn.00402b30
mov dword [ebp - 4], 0xb
mov edx, 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or edx, ecx
jge 0x58c829
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402c20
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push eax
push str.open
push str..jpg
push 2
push 0x20
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403da0
lea ecx, [ebp - 0x10]
call fcn.00584540
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._Evernote
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c949
lea ecx, [ebp - 0x18]
call fcn.00402b30
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0xc
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsEvernote.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x58c9d0
lea eax, [ebp - 0x18]
mov edx, 0x5e7af0
push eax
call fcn.00589660
add esp, 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x10], 0
push eax
call fcn.00403660
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xd
mov ecx, esp
push eax
call fcn.00402f30
mov ecx, ebx
call fcn.00586140
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x58c927
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58c927
lea ecx, [ebp - 0x14]
call fcn.00584540
mov dword [esi], eax
lea ecx, [ebp - 0x14]
call fcn.00402b60
lea ecx, [ebp - 0x18]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._Box_Sync
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58c9f6
push str._Box_Sync
lea ecx, [ebp - 0x14]
call fcn.00402f60
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x18]
call fcn.00587840
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.00402b60
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x58c9d0
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00402f30
mov ecx, ebx
call fcn.00586140
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
add esp, 4
mov dword [eax], 0
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5e7af0
mov ecx, ebx
call fcn.00403020
lea ecx, [ebp - 0x18]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._DropBox
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58cb6b
push str._DropBox
lea ecx, [ebp - 0x14]
call fcn.00402f60
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x18]
call fcn.00587840
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.00402b60
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 0x5e7af0
test eax, eax
je 0x58c9d5
lea ecx, [ebp - 0x10]
call fcn.00402f60
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.00583f70
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x58cabc
mov edi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
add edi, 0xfffffff0
cmp ecx, edi
je 0x58cb12
cmp dword [edi + 0xc], 0
jl 0x58cab6
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x58cab6
push ecx
call fcn.00403660
add esp, 4
lea edx, [edi + 0xc]
mov esi, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x58caae
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x58cb12
push dword [esi - 0xc]
push esi
jmp 0x58cb0a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
lea edx, [eax - 0x10]
lea esi, [ecx - 0x10]
cmp edx, esi
je 0x58cb12
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x58cb06
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x58cb06
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x58cafe
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x58cb12
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.004035a0
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00402f30
mov ecx, ebx
call fcn.00586140
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x58cb41
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58cb41
lea ecx, [ebp - 0x10]
call fcn.00584540
mov dword [esi], eax
lea ecx, [ebp - 0x14]
call fcn.00402b60
lea ecx, [ebp - 0x10]
call fcn.00402b60
lea ecx, [ebp - 0x18]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._OneDrive
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58cc0c
push str._OneDrive
lea ecx, [ebp - 0x18]
call fcn.00402f60
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x14]
call fcn.00587840
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x18
call fcn.00402b60
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, ebx
test eax, eax
je 0x58cbe8
push str.OneDrive
call fcn.00403020
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [eax], 0
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5e7af0
call fcn.00403020
lea ecx, [ebp - 0x14]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._SugerSync
push esi
call fcn.00403c30
add esp, 8
test al, al
jne 0x58cc30
push str._Box.net
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58cc4e
push 0x5e7af0
mov ecx, ebx
call fcn.00403020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5e7bb0
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58cc76
lea ecx, [ebp - 0x18]
call fcn.00402b30
mov dword [ebp - 4], 0x19
mov ecx, 0x5e5498
jmp 0x58cc9c
push str._Picture
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58ccdd
lea ecx, [ebp - 0x18]
call fcn.00402b30
mov dword [ebp - 4], 0x1a
mov ecx, 0x5e54c8
lea eax, [ebp - 0x18]
mov edx, ebx
push eax
call fcn.005855c0
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x58ccc3
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58ccc3
lea ecx, [ebp - 0x18]
call fcn.00584540
mov dword [esi], eax
lea ecx, [ebp - 0x18]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._TBFolder
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58cd8a
lea ecx, [ebp - 0x10]
call fcn.00402b30
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1b
mov ecx, 0x5e54c8
call fcn.00585a10
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x58cd36
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402c20
mov esi, dword [ebp - 0x10]
push str.ToolBox
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403da0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x58cd70
push str.ToolBox
mov ecx, ebx
call fcn.00403020
lea ecx, [ebp - 0x10]
call fcn.00584540
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._MPNFolder
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58ce37
lea ecx, [ebp - 0x10]
call fcn.00402b30
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1c
mov ecx, 0x5e54c8
call fcn.00585a10
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x58cde3
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402c20
mov esi, dword [ebp - 0x10]
push str.MP_Navigator
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403da0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x58ce1d
push str.MP_Navigator
mov ecx, ebx
call fcn.00403020
lea ecx, [ebp - 0x10]
call fcn.00584540
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._MPNEXFolder
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58d07a
lea ecx, [ebp - 0x10]
call fcn.00402b30
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1d
mov ecx, 0x5e54c8
call fcn.00585a10
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x58ce90
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402c20
mov esi, dword [ebp - 0x10]
push str.MP_Navigator_Ex
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403da0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x58ceca
push str.MP_Navigator_Ex
mov ecx, ebx
call fcn.00403020
lea ecx, [ebp - 0x10]
call fcn.00584540
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.00402b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, str.AdobeDC
mov eax, ecx
jmp 0x58cef0
mov di, word [eax]
cmp di, word [edx]
jne 0x58cf16
test di, di
je 0x58cf12
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x58cf16
add eax, 4
add edx, 4
test di, di
jne 0x58cef0
xor eax, eax
jmp 0x58cf1b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x58cf3a
push 0x1c
push str.Adobe_Acrobat_DC___Reader_DC
mov ecx, ebx
call fcn.004035a0
mov eax, dword [ebp + 8]
jmp 0x58d074
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x58cfd1
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00403660
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0x1e
mov edi, esp
push eax
call fcn.00403660
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00586140
mov edi, dword [ebp + 8]
add esp, 4
test edi, edi
je 0x58cf9a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58cf9a
lea ecx, [ebp - 0x18]
call fcn.00584540
mov esi, dword [ebp - 0x18]
mov dword [edi], eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x58d07a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x58d065
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00403660
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0x1f
mov edi, esp
push eax
call fcn.00403660
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00586140
mov edi, dword [ebp + 8]
add esp, 4
test edi, edi
je 0x58d032
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58d032
lea ecx, [ebp - 0x18]
call fcn.00584540
mov esi, dword [ebp - 0x18]
mov dword [edi], eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x58d07a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, ebx
call fcn.004032d0
mov eax, dword [ebp + 8]
test eax, eax
je 0x58d07a
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret