Function at 0x5b2920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5c8f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x638fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jge 0x5b295e
push 0x80070057
call fcn.00402650
cmp word [ecx], 0x40
jne 0x5b33d6
mov eax, str._None
lea ecx, [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x5b2996
test dx, dx
je 0x5b2992
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x5b2996
add ecx, 4
add eax, 4
test dx, dx
jne 0x5b2970
xor eax, eax
jmp 0x5b299b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x5b29df
push 0x2338
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.005b5f80
add esp, 4
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00403220
lea ecx, [ebp - 0x18]
call fcn.00402b90
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 0x60dd00
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b2a38
push str._SystemRoot_explorer.exe
lea ecx, [ebp - 0x10]
call fcn.00403280
xor edx, edx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.005b0a70
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004035b0
add esp, 4
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.005acdb0
add esp, 4
jmp 0x5b2d22
push str._Manual
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b2ad1
push 0x23b2
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.005b5f80
add esp, 4
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.00403220
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402b90
mov esi, dword [ebp + 8]
test esi, esi
je 0x5b34de
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x5b34de
push 0x60fefc
lea ecx, [ebp - 0x18]
call fcn.00403280
push dword [ebp + 0xc]
mov edx, 4
lea ecx, [ebp - 0x18]
call fcn.005a99a0
add esp, 4
mov dword [esi], eax
lea ecx, [ebp - 0x18]
call fcn.00402b90
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.004044f0
add esp, 8
test al, al
je 0x5b2b46
push 0x2596
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.005b5f80
add esp, 4
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.00403220
lea ecx, [ebp - 0x18]
call fcn.00402b90
mov esi, dword [ebp + 8]
test esi, esi
je 0x5b34de
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x5b34de
push 4
push 0x60fefc
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.004044f0
add esp, 8
test al, al
je 0x5b2b76
lea ecx, [ebp - 0x10]
call fcn.00402be0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 4
mov ecx, edi
call fcn.005abc00
jmp 0x5b2d22
push str._OCR
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b2bad
lea ecx, [ebp - 0x10]
call fcn.00402be0
push 0
push 0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 5
mov ecx, edi
call fcn.005af420
add esp, 8
jmp 0x5b2d22
push str._SUOCR
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b2c92
push 0x246f
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.005b5f80
add esp, 4
push eax
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.00403220
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402b90
mov esi, dword [ebp + 8]
test esi, esi
je 0x5b34de
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x5b34de
lea ecx, [ebp - 0x10]
call fcn.00402be0
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 0x5b2c48
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402cf0
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.00404860
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.005aa380
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00402b90
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.004044f0
add esp, 8
test al, al
je 0x5b2cb7
lea ecx, [ebp - 0x10]
call fcn.00402be0
mov dword [ebp - 4], 8
push 0
jmp 0x5b2d11
push 0x60d1a0
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b2cee
lea ecx, [ebp - 0x10]
call fcn.00402be0
push 0x1e240
push 0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 9
mov ecx, edi
call fcn.005af7f0
add esp, 8
jmp 0x5b2d22
push str._NewAppOCR
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b2d60
lea ecx, [ebp - 0x10]
call fcn.00402be0
mov dword [ebp - 4], 0xa
push 4
push 0
push 0
lea edx, [ebp - 0x10]
mov ecx, edi
call fcn.005ad8c0
add esp, 0xc
mov esi, dword [ebp + 8]
test esi, esi
je 0x5b33bc
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x5b33bc
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.005aa380
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00402b90
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.004044f0
add esp, 8
test al, al
je 0x5b2e45
push 0x23ba
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.005b5f80
add esp, 4
push eax
mov ecx, edi
mov dword [ebp - 4], 0xb
call fcn.00403220
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00402b90
mov esi, dword [ebp + 8]
test esi, esi
je 0x5b34de
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x5b34de
lea ecx, [ebp - 0x10]
call fcn.00402be0
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 0x5b2dfb
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402cf0
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.00404860
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.005aa380
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00402b90
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.004044f0
add esp, 8
test al, al
je 0x5b2f21
lea ecx, [ebp - 0x18]
call fcn.00402be0
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 0x5b2fa8
lea eax, [ebp - 0x18]
mov edx, 0x60ab98
push eax
call fcn.005b0e00
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.004035b0
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xe
mov ecx, esp
push eax
call fcn.00403350
mov ecx, edi
call fcn.005acdb0
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x5b2eff
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x5b2eff
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.005aa380
mov dword [esi], eax
lea ecx, [ebp - 0x14]
call fcn.00402b90
lea ecx, [ebp - 0x18]
call fcn.00402b90
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.004044f0
add esp, 8
test al, al
je 0x5b2fce
push str._Box_Sync
lea ecx, [ebp - 0x14]
call fcn.00403280
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x18]
call fcn.005af130
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00402b90
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x5b2fa8
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403350
mov ecx, edi
call fcn.005acdb0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
add esp, 4
mov dword [eax], 0
call fcn.00402b90
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 0x60ab98
mov ecx, edi
call fcn.004031d0
lea ecx, [ebp - 0x18]
call fcn.00402b90
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.004044f0
add esp, 8
test al, al
je 0x5b30d2
push str._DropBox
lea ecx, [ebp - 0x18]
call fcn.00403280
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x14]
call fcn.005af130
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call fcn.00402b90
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 0x60ab98
test eax, eax
jne 0x5b3042
mov ecx, edi
call fcn.004031d0
lea ecx, [ebp - 0x14]
call fcn.00402b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
call fcn.00403280
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call fcn.005a9cf0
mov byte [ebp - 4], 0x16
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x18]
jne 0x5b3070
lea eax, [ebp - 0x14]
push eax
call fcn.00403220
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00403350
mov ecx, edi
call fcn.005acdb0
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x5b30a8
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x5b30a8
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.005aa380
mov dword [esi], eax
lea ecx, [ebp - 0x18]
call fcn.00402b90
lea ecx, [ebp - 0x10]
call fcn.00402b90
lea ecx, [ebp - 0x14]
call fcn.00402b90
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.004044f0
add esp, 8
test al, al
je 0x5b3173
push str._OneDrive
lea ecx, [ebp - 0x18]
call fcn.00403280
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x14]
call fcn.005af130
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.00402b90
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, edi
test eax, eax
je 0x5b314f
push str.OneDrive
call fcn.004031d0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [eax], 0
call fcn.00402b90
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 0x60ab98
call fcn.004031d0
lea ecx, [ebp - 0x14]
call fcn.00402b90
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.004044f0
add esp, 8
test al, al
jne 0x5b3197
push str._Box.net
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b31b5
push 0x60ab98
mov ecx, edi
call fcn.004031d0
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 0x60d17c
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b31eb
lea ecx, [ebp - 0x18]
call fcn.00402be0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0x1a
push eax
mov edx, edi
mov ecx, 0x603ea0
call fcn.005ab570
jmp 0x5b3490
push str._Picture
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b3221
lea ecx, [ebp - 0x18]
call fcn.00402be0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0x1b
push eax
mov edx, edi
mov ecx, 0x603ed0
call fcn.005ab570
jmp 0x5b3490
push str._TBFolder
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b32a5
lea ecx, [ebp - 0x10]
call fcn.00402be0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1c
mov ecx, 0x603ed0
call fcn.005aba10
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 0x5b3276
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402cf0
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.00404860
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5b33bc
push str.ToolBox
jmp 0x5b33a5
push str._MPNFolder
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b3326
lea ecx, [ebp - 0x10]
call fcn.00402be0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1d
mov ecx, 0x603ed0
call fcn.005aba10
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 0x5b32fa
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402cf0
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.00404860
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5b33bc
push str.MP_Navigator
jmp 0x5b33a5
push str._MPNEXFolder
push esi
call fcn.004044f0
add esp, 8
test al, al
je 0x5b34de
lea ecx, [ebp - 0x10]
call fcn.00402be0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0x1e
mov ecx, 0x603ed0
call fcn.005aba10
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 0x5b337f
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402cf0
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.00404860
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5b33bc
push str.MP_Navigator_Ex
mov ecx, edi
call fcn.004031d0
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.005aa380
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.00402b90
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
lea ecx, [ecx]
mov bx, word [eax]
cmp bx, word [edx]
jne 0x5b3406
test bx, bx
je 0x5b3402
mov bx, word [eax + 2]
cmp bx, word [edx + 2]
jne 0x5b3406
add eax, 4
add edx, 4
test bx, bx
jne 0x5b33e0
xor eax, eax
jmp 0x5b340b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x5b342a
push 0x1c
push str.Adobe_Acrobat_DC___Reader_DC
mov ecx, edi
call fcn.00403620
mov eax, dword [ebp + 8]
jmp 0x5b34d8
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x5b344f
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004035b0
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0x1f
jmp 0x5b3473
push dword [esi]
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x5b34c9
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004035b0
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0x20
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x1c], esi
call fcn.004035b0
add esp, 4
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.005acdb0
mov esi, dword [ebp + 8]
add esp, 4
test esi, esi
je 0x5b34af
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x5b34af
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.005aa380
mov dword [esi], eax
lea ecx, [ebp - 0x18]
call fcn.00402b90
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, edi
call fcn.00403220
mov eax, dword [ebp + 8]
test eax, eax
je 0x5b34de
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