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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b09b9
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x616040]
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 0x5e9af0
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 0x565d65
push 0x80070057
call fcn.00402740
cmp word [eax], 0x40
jne 0x5661a6
mov ecx, str._None
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x565d9a
test dx, dx
je 0x565d96
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x565d9a
add eax, 4
add ecx, 4
test dx, dx
jne 0x565d74
xor eax, eax
jmp 0x565d9f
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x565daf
xor edi, edi
jmp 0x566291
lea eax, [ebp + 8]
push 0x5ea8c8
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565dce
mov edi, 1
jmp 0x566291
lea eax, [ebp + 8]
push str._Manual
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565ded
mov edi, 1
jmp 0x566291
lea eax, [ebp + 8]
push str._ManualSend
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565e0c
mov edi, 1
jmp 0x566291
lea eax, [ebp + 8]
push str._Mailer
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565f04
lea ecx, [ebp - 0x240]
call fcn.00402b30
push str._Mailer
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
call fcn.00402f60
push 0
push 0
lea edx, [ebp - 0x240]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.0058e670
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.00402b60
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], 0
jne 0x565e94
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 1
mov edi, 1
call fcn.00402b60
jmp 0x566291
mov edi, 4
call fcn.00416d27
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 0x565ed9
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 - 0x240]
mov byte [ebp - 4], 1
call fcn.00402b60
jmp 0x566291
lea eax, [ebp + 8]
push str._OCR
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565f38
lea eax, [ebp - 0x244]
xor ecx, ecx
push ebx
push eax
lea edx, [ebp + 8]
mov edi, 4
call fcn.00589c20
add esp, 8
jmp 0x566291
lea eax, [ebp + 8]
push str._SUOCR
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565f57
mov edi, 0xa
jmp 0x566291
lea eax, [ebp + 8]
push str._NewApp
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565f70
push 0
jmp 0x565f87
lea eax, [ebp + 8]
push str._NewAppOCR
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565fa6
push 4
lea eax, [ebp - 0x244]
xor ecx, ecx
push ebx
push eax
lea edx, [ebp + 8]
mov edi, 9
call fcn.00589550
add esp, 0xc
jmp 0x566291
lea eax, [ebp + 8]
push str._Printer
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565fc5
mov edi, 2
jmp 0x566291
lea eax, [ebp + 8]
push str._Viewer
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x565fe4
mov edi, 7
jmp 0x566291
lea eax, [ebp + 8]
push str._Evernote
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x56606c
lea ecx, [ebp - 0x240]
call fcn.00402b30
push 0
push 0
lea edx, [ebp - 0x240]
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
call fcn.0058e670
mov eax, dword [ebp - 0x240]
add esp, 8
cmp dword [eax - 0xc], 0
je 0x5665a9
lea edx, [ebp + 8]
mov edi, 4
lea ecx, [ebp - 0x23c]
call fcn.00589930
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.004032d0
lea ecx, [ebp - 0x23c]
call fcn.00402b60
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.00402b60
jmp 0x566291
lea eax, [ebp + 8]
push str._Box_Sync
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x56609d
lea edx, [ebp + 8]
mov edi, 6
lea ecx, [ebp - 0x23c]
call fcn.00589930
mov byte [ebp - 4], 6
jmp 0x566151
lea eax, [ebp + 8]
push str._DropBox
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x566125
lea ecx, [ebp - 0x240]
call fcn.00402b30
push 0
push 0
lea edx, [ebp - 0x240]
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
call fcn.0058e670
mov eax, dword [ebp - 0x240]
add esp, 8
cmp dword [eax - 0xc], 0
je 0x5665a9
lea edx, [ebp + 8]
mov edi, 6
lea ecx, [ebp - 0x23c]
call fcn.00589930
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.004032d0
lea ecx, [ebp - 0x23c]
call fcn.00402b60
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.00402b60
jmp 0x566291
lea eax, [ebp + 8]
push str._OneDrive
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x56616e
lea edx, [ebp + 8]
mov edi, 6
lea ecx, [ebp - 0x23c]
call fcn.00589930
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 8]
call fcn.004032d0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00402b60
jmp 0x566291
lea eax, [ebp + 8]
push 0x5e9bd4
push eax
call fcn.00403c30
add esp, 8
test al, al
je 0x566291
lea eax, [ebp - 0x244]
xor ecx, ecx
push ebx
push eax
lea edx, [ebp + 8]
mov edi, 0xb
call fcn.0058b1f0
add esp, 8
jmp 0x566291
mov edx, str.AdobeDC
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x5661d6
test si, si
je 0x5661d2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x5661d6
add ecx, 4
add edx, 4
test si, si
jne 0x5661b0
xor ecx, ecx
jmp 0x5661db
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
je 0x56622a
lea edx, [ebp + 8]
mov edi, 4
lea ecx, [ebp - 0x23c]
call fcn.00589930
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 - 0x23c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x566291
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x566291
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x56627b
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00403660
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.00589eb0
add esp, 4
test al, al
je 0x566274
lea eax, [ebp - 0x244]
xor ecx, ecx
push ebx
push eax
lea edx, [ebp + 8]
mov edi, 0xb
call fcn.0058b1f0
add esp, 8
jmp 0x566291
mov edi, 4
jmp 0x566291
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x5665b4
mov edi, 6
mov ecx, dword [0x621edc]
mov eax, 0x92492493
mov esi, dword [0x621ed8]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5665b4
dec edi
cmp edi, 0xa
ja case.0x5662c2.3
jmp dword [edi*4 + 0x56661c]
push 1
mov edx, 0x621ed8
lea ecx, [ebp + 8]
call fcn.00561450
add esp, 4
jmp 0x5662ff
push 0
jmp 0x5662cb
push ebx
push 0
jmp 0x5662e9
push ebx
push 1
push 0x621ed8
lea edx, [ebp - 0x244]
lea ecx, [ebp + 8]
call fcn.00561900
add esp, 0xc
cmp eax, 0x20
jl 0x5665b4
mov bl, 1
jmp 0x5665b6
push 0xa
lea ecx, [ebp - 0x238]
call fcn.004193d1
mov byte [ebp - 4], 0xb
mov esi, dword [0x621ed8]
cmp esi, dword [0x621edc]
je 0x566347
mov edi, edi
push esi
lea ecx, [ebp - 0x238]
call fcn.0041945f
add esi, 0x1c
cmp esi, dword [0x621edc]
jne 0x566330
xor ecx, ecx
cmp ebx, 0x9fbf1
jne 0x566356
mov ecx, 1
mov eax, dword [0x621a6c]
test eax, eax
jne 0x566363
xor esi, esi
jmp 0x566378
push 0x10008
push dword [ecx*4 + 0x621ebc]
call eax
mov esi, eax
mov eax, dword [0x621a6c]
xor ecx, ecx
cmp ebx, 0x9fbf1
jne 0x566387
mov ecx, 1
test eax, eax
je 0x566399
push 0x10019
push dword [ecx*4 + 0x621ebc]
call eax
push ebx
push eax
push esi
lea edx, [ebp - 0x238]
call fcn.0056b380
mov esi, dword [0x621ed8]
cmp esi, dword [0x621edc]
je 0x5663cf
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x5663c0
push dword [esi]
call edi
add esi, 0x1c
cmp esi, dword [0x621edc]
jne 0x5663c0
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
call fcn.004193f7
mov bl, 1
jmp 0x5665b6
cmp esi, dword [0x621edc]
je case.0x5662c2.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 [0x621edc]
jne 0x5663f7
mov bl, 1
jmp 0x5665b6
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0052d150
add esp, 0xc
mov ecx, 0x621ed8
push 0
call fcn.00404000
push dword [eax]
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00529439
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 0x5e9af0
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.00556970
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.005567b0
cmp eax, 1
jne 0x56656f
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 0x566580
mov edx, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x248]
call fcn.00547e70
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 0xd
call fcn.00556900
lea ecx, [ebp - 0x238]
call fcn.00402b60
lea ecx, [ebp - 0x254]
call fcn.00404930
mov bl, 1
jmp 0x5665b6
lea ecx, [ebp - 0x240]
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 0x5665dc
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 0x5665fd
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.00527e5c
mov esp, ebp
pop ebp
ret