Function at 0x5658a0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae429
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x614040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x248], ecx
push 0x5e7af0
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0
xor edi, edi
call fcn.00402f60
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
jge 0x565905
push 0x80070057
call fcn.00402740
cmp word [eax], 0x40
jne 0x565d0c
mov ecx, str._None
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x56593a
test dx, dx
je 0x565936
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x56593a
add eax, 4
add ecx, 4
test dx, dx
jne 0x565914
xor eax, eax
jmp 0x56593f
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x56594f
xor edi, edi
jmp 0x565db5
lea eax, [ebp + 8]
push 0x5e88c0
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x56596e
mov edi, 1
jmp 0x565db5
lea eax, [ebp + 8]
push str._Manual
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x56598d
mov edi, 1
jmp 0x565db5
lea eax, [ebp + 8]
push str._ManualSend
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x5659ac
mov edi, 1
jmp 0x565db5
lea eax, [ebp + 8]
push str._Mailer
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565aa2
lea ecx, [ebp - 0x23c]
call fcn.00402b30
push str._Mailer
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.00402f60
push 0
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
call fcn.0058c350
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.00402b60
mov eax, dword [ebp - 0x23c]
cmp dword [eax - 0xc], 0
jne 0x565a32
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
mov edi, 1
call fcn.00402b60
jmp 0x565db5
mov edi, 4
call fcn.00416b46
lea ecx, [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0xd8
push eax
call fcn.004032d0
mov eax, dword [ebp + 8]
mov edx, 1
mov esi, eax
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x565a77
push 0x104
lea ecx, [ebp + 8]
call fcn.00402c20
mov eax, dword [ebp + 8]
push str.MAPI.exe
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00403da0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00402b60
jmp 0x565db5
lea eax, [ebp + 8]
push str._OCR
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565ad6
lea eax, [ebp - 0x244]
xor ecx, ecx
push ebx
push eax
lea edx, [ebp + 8]
mov edi, 4
call fcn.00587b30
add esp, 8
jmp 0x565db5
lea eax, [ebp + 8]
push str._SUOCR
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565af5
mov edi, 0xa
jmp 0x565db5
lea eax, [ebp + 8]
push str._NewApp
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565b0e
push 0
jmp 0x565b25
lea eax, [ebp + 8]
push str._NewAppOCR
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565b44
push 4
lea eax, [ebp - 0x244]
xor ecx, ecx
push ebx
push eax
lea edx, [ebp + 8]
mov edi, 9
call fcn.00587460
add esp, 0xc
jmp 0x565db5
lea eax, [ebp + 8]
push 0x5e8e4c
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565b63
mov edi, 2
jmp 0x565db5
lea eax, [ebp + 8]
push str._Viewer
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565b82
mov edi, 7
jmp 0x565db5
lea eax, [ebp + 8]
push str._Evernote
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565c08
lea ecx, [ebp - 0x23c]
call fcn.00402b30
push 0
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
call fcn.0058c350
mov eax, dword [ebp - 0x23c]
add esp, 4
cmp dword [eax - 0xc], 0
je 0x5660c9
lea edx, [ebp + 8]
mov edi, 4
lea ecx, [ebp - 0x240]
call fcn.00587840
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.004032d0
lea ecx, [ebp - 0x240]
call fcn.00402b60
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00402b60
jmp 0x565db5
lea eax, [ebp + 8]
push str._Box_Sync
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565c39
lea edx, [ebp + 8]
mov edi, 6
lea ecx, [ebp - 0x240]
call fcn.00587840
mov byte [ebp - 4], 6
jmp 0x565cef
lea eax, [ebp + 8]
push str._DropBox
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565cbf
lea ecx, [ebp - 0x23c]
call fcn.00402b30
push 0
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
call fcn.0058c350
mov eax, dword [ebp - 0x23c]
add esp, 4
cmp dword [eax - 0xc], 0
je 0x5660c9
lea edx, [ebp + 8]
mov edi, 6
lea ecx, [ebp - 0x240]
call fcn.00587840
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.004032d0
lea ecx, [ebp - 0x240]
call fcn.00402b60
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00402b60
jmp 0x565db5
lea eax, [ebp + 8]
push str._OneDrive
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565db5
lea edx, [ebp + 8]
mov edi, 6
lea ecx, [ebp - 0x240]
call fcn.00587840
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 8]
call fcn.004032d0
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.00402b60
jmp 0x565db5
mov edx, str.AdobeDC
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x565d39
test si, si
je 0x565d35
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x565d39
add ecx, 4
add edx, 4
test si, si
jne 0x565d13
xor ecx, ecx
jmp 0x565d3e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
je 0x565d8d
lea edx, [ebp + 8]
mov edi, 4
lea ecx, [ebp - 0x240]
call fcn.00587840
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.004032d0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565db5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x565db5
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x565d9f
mov edi, 4
jmp 0x565db5
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x5660d4
mov edi, 6
mov ecx, dword [0x61fedc]
mov eax, 0x92492493
mov esi, dword [0x61fed8]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5660d4
dec edi
cmp edi, 9
ja case.0x565de6.3
jmp dword [edi*4 + 0x56613c]
push 1
mov edx, 0x61fed8
lea ecx, [ebp + 8]
call fcn.00561020
add esp, 4
jmp 0x565e23
push 0
jmp 0x565def
push ebx
push 0
jmp 0x565e0d
push ebx
push 1
push 0x61fed8
lea edx, [ebp - 0x244]
lea ecx, [ebp + 8]
call fcn.005614d0
add esp, 0xc
cmp eax, 0x20
jl 0x5660d4
mov bl, 1
jmp 0x5660d6
push 0xa
lea ecx, [ebp - 0x238]
call fcn.004191f0
mov byte [ebp - 4], 0xb
mov esi, dword [0x61fed8]
cmp esi, dword [0x61fedc]
je 0x565e69
push esi
lea ecx, [ebp - 0x238]
call fcn.0041927e
add esi, 0x1c
cmp esi, dword [0x61fedc]
jne 0x565e52
xor ecx, ecx
cmp ebx, 0x9fbf1
jne 0x565e78
mov ecx, 1
mov eax, dword [0x61fa68]
test eax, eax
jne 0x565e85
xor esi, esi
jmp 0x565e9a
push 0x10008
push dword [ecx*4 + 0x61feb8]
call eax
mov esi, eax
mov eax, dword [0x61fa68]
xor ecx, ecx
cmp ebx, 0x9fbf1
jne 0x565ea9
mov ecx, 1
test eax, eax
je 0x565ebb
push 0x10019
push dword [ecx*4 + 0x61feb8]
call eax
push ebx
push eax
push esi
lea edx, [ebp - 0x238]
call fcn.0056a5d0
mov esi, dword [0x61fed8]
cmp esi, dword [0x61fedc]
je 0x565eef
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ecx]
push dword [esi]
call edi
add esi, 0x1c
cmp esi, dword [0x61fedc]
jne 0x565ee0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
call fcn.00419216
mov bl, 1
jmp 0x5660d6
cmp esi, dword [0x61fedc]
je case.0x565de6.3
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 5
push 0
push 0
push dword [esi]
push str.open
push 0
call edi
add esi, 0x1c
cmp esi, dword [0x61fedc]
jne 0x565f17
mov bl, 1
jmp 0x5660d6
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0052d120
add esp, 0xc
mov ecx, 0x61fed8
push 0
call fcn.00404000
push dword [eax]
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00529409
add esp, 0xc
lea eax, [ebp - 0x21c]
push str..txt
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
push 0x5e7af0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xc
call fcn.00402f60
mov eax, 0x128e
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov word [ebp - 0x220], ax
mov byte [ebp - 0x21e], 0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x238]
call fcn.00403020
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x254]
call fcn.00404050
push ecx
lea ecx, [ebp - 0x30c]
call fcn.00556560
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x30c]
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], 0x1fbf
mov dword [ebp - 0x268], 0x1fb2
mov dword [ebp - 0x264], 0x23c1
mov dword [ebp - 0x260], eax
call fcn.005563a0
cmp eax, 1
jne 0x56608f
push 5
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x5660a0
mov edx, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x248]
call fcn.00547e20
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 0xd
call fcn.005564f0
lea ecx, [ebp - 0x238]
call fcn.00402b60
lea ecx, [ebp - 0x254]
call fcn.004048e0
mov bl, 1
jmp 0x5660d6
lea ecx, [ebp - 0x23c]
call fcn.00402b60
xor bl, bl
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x244]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5660fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x56611d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00527e2c
mov esp, ebp
pop ebp
ret