Function at 0x58e670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2ff6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x616040]
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 0x58e6ae
push 0x80070057
call fcn.00402740
cmp word [ecx], 0x40
jne 0x58f247
mov eax, str._None
lea ecx, [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x58e6e6
test dx, dx
je 0x58e6e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x58e6e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x58e6c0
xor eax, eax
jmp 0x58e6eb
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x58e74f
push 0x2338
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058f8e0
add esp, 4
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
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 0x58f36b
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 0x5ea8c8
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58e7fa
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.0058c100
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.00588080
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x58e7c0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58e7c0
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00586180
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x58f36b
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 0x58e8a8
push 0x23b2
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058f8e0
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 0x58e855
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
test esi, esi
je 0x58f36b
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58f36b
push 0x5ec9b4
lea ecx, [ebp - 0x18]
call fcn.00402f60
push dword [ebp + 0xc]
mov edx, 4
lea ecx, [ebp - 0x18]
call fcn.005858f0
add esp, 4
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._ManualSend
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58e91d
push 0x2596
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058f8e0
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 0x58f36b
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58f36b
push 4
push 0x5ec9b4
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 0x58e94d
lea ecx, [ebp - 0x10]
call fcn.00402b30
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 4
mov ecx, ebx
call fcn.00587890
jmp 0x58eaf9
push str._OCR
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58e984
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.00589c20
add esp, 8
jmp 0x58eaf9
push str._SUOCR
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58ea69
push 0x246f
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058f8e0
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 0x58f36b
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58f36b
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 0x58ea1f
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
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00586180
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 0x58ea8e
lea ecx, [ebp - 0x10]
call fcn.00402b30
mov dword [ebp - 4], 8
push 0
jmp 0x58eae8
push 0x5e9bd4
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58eac5
lea ecx, [ebp - 0x10]
call fcn.00402b30
push 0x1e240
push 0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 9
mov ecx, ebx
call fcn.0058b1f0
add esp, 8
jmp 0x58eaf9
push str._NewAppOCR
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58eb37
lea ecx, [ebp - 0x10]
call fcn.00402b30
mov dword [ebp - 4], 0xa
push 4
push 0
push 0
lea edx, [ebp - 0x10]
mov ecx, ebx
call fcn.00589550
add esp, 0xc
mov esi, dword [ebp + 8]
test esi, esi
je 0x58f22d
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58f22d
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00586180
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._Viewer
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58ec1c
push 0x23ba
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.0058f8e0
add esp, 4
push eax
mov ecx, ebx
mov dword [ebp - 4], 0xb
call fcn.004032d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402b60
mov esi, dword [ebp + 8]
test esi, esi
je 0x58f36b
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58f36b
lea ecx, [ebp - 0x10]
call fcn.00402b30
mov dword [ebp - 4], 0xc
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 0x58ebd2
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
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00586180
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 0x58ecf8
lea ecx, [ebp - 0x18]
call fcn.00402b30
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0xd
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 0x58ed7f
lea eax, [ebp - 0x18]
mov edx, 0x5e9af0
push eax
call fcn.0058b990
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], 0xe
mov ecx, esp
push eax
call fcn.00402f30
mov ecx, ebx
call fcn.00588080
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x58ecd6
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58ecd6
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00586180
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 0x58eda5
push str._Box_Sync
lea ecx, [ebp - 0x14]
call fcn.00402f60
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x18]
call fcn.00589930
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00402b60
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x58ed7f
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00402f30
mov ecx, ebx
call fcn.00588080
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 0x5e9af0
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 0x58ef1d
push str._DropBox
lea ecx, [ebp - 0x14]
call fcn.00402f60
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x18]
call fcn.00589930
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.00402b60
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 0x5e9af0
test eax, eax
je 0x58ed84
lea ecx, [ebp - 0x10]
call fcn.00402f60
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.00585bb0
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x58ee6b
mov edi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
add edi, 0xfffffff0
cmp ecx, edi
je 0x58eec1
cmp dword [edi + 0xc], 0
jl 0x58ee65
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x58ee65
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 0x58ee5d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x58eec1
push dword [esi - 0xc]
push esi
jmp 0x58eeb9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
lea edx, [eax - 0x10]
lea esi, [ecx - 0x10]
cmp edx, esi
je 0x58eec1
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x58eeb5
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x58eeb5
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 0x58eead
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 0x58eec1
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.00588080
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x58eef3
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58eef3
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00586180
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 0x58efbe
push str._OneDrive
lea ecx, [ebp - 0x18]
call fcn.00402f60
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x14]
call fcn.00589930
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.00402b60
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, ebx
test eax, eax
je 0x58ef9a
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 0x5e9af0
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 0x58efe2
push str._Box.net
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58f000
push 0x5e9af0
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 0x5e9bb0
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58f028
lea ecx, [ebp - 0x18]
call fcn.00402b30
mov dword [ebp - 4], 0x1a
mov ecx, 0x5e7498
jmp 0x58f04e
push str._Picture
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58f092
lea ecx, [ebp - 0x18]
call fcn.00402b30
mov dword [ebp - 4], 0x1b
mov ecx, 0x5e74c8
lea eax, [ebp - 0x18]
mov edx, ebx
push eax
call fcn.00587250
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x58f078
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58f078
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00586180
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 0x58f116
lea ecx, [ebp - 0x10]
call fcn.00402b30
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1c
mov ecx, 0x5e74c8
call fcn.005876a0
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 0x58f0e7
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 0x58f22d
push str.ToolBox
jmp 0x58f216
push str._MPNFolder
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58f197
lea ecx, [ebp - 0x10]
call fcn.00402b30
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1d
mov ecx, 0x5e74c8
call fcn.005876a0
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 0x58f16b
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 0x58f22d
push str.MP_Navigator
jmp 0x58f216
push str._MPNEXFolder
push esi
call fcn.00403c30
add esp, 8
test al, al
je 0x58f36b
lea ecx, [ebp - 0x10]
call fcn.00402b30
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1e
mov ecx, 0x5e74c8
call fcn.005876a0
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 0x58f1f0
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 0x58f22d
push str.MP_Navigator_Ex
mov ecx, ebx
call fcn.00403020
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00586180
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
mov edi, edi
mov di, word [eax]
cmp di, word [edx]
jne 0x58f276
test di, di
je 0x58f272
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x58f276
add eax, 4
add edx, 4
test di, di
jne 0x58f250
xor eax, eax
jmp 0x58f27b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x58f29a
push 0x1c
push str.Adobe_Acrobat_DC___Reader_DC
mov ecx, ebx
call fcn.004035a0
mov eax, dword [ebp + 8]
jmp 0x58f365
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x58f2bf
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00403660
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0x1f
jmp 0x58f2e7
push dword [esi]
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x58f356
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00403660
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0x20
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00403660
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00588080
mov edi, dword [ebp + 8]
add esp, 4
test edi, edi
je 0x58f323
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x58f323
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00586180
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 0x58f36b
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 0x58f36b
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