Function at 0x10064010
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a320
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x10094610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
xor edi, edi
mov ebx, 7
xor ecx, ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
xor edx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
lea eax, [ebp - 0x48]
push eax
push str.EXELOCATION
push str.SoftwareYTDownloaderVideo_Converter
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 2
call fcn.100618c0
add esp, 0x10
lea esi, [edi + 8]
test eax, eax
jne 0x100641c1
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x1006409b
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100641c1
mov ecx, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x100640b6
lea ecx, [ebp + 8]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x100640c1
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x2c]
push str.__s___convert_s
push ecx
call fcn.1004fe20
push 0x44
lea edx, [ebp - 0xa8]
push edi
push edx
call fcn.10066c10
xor eax, eax
add esp, 0x1c
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa8], 0x44
cmp dword [ebp - 0x18], esi
jae 0x10064106
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xa8]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1006416f
cmp dword [ebp - 0x34], esi
jb 0x10064134
mov eax, dword [ebp - 0x48]
push eax
call fcn.100660ce
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x10064151
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100660ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp + 0x1c], esi
jb 0x10064443
mov ecx, dword [ebp + 8]
push ecx
jmp 0x1006443b
cmp dword [ebp - 0x34], esi
jb 0x10064180
mov edx, dword [ebp - 0x48]
push edx
call fcn.100660ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x1006419d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100660ce
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp + 0x1c], esi
jb 0x100641ba
mov eax, dword [ebp + 8]
push eax
call fcn.100660ce
add esp, 4
xor eax, eax
jmp 0x10064448
mov ecx, dword [ebp - 0x4c]
mov edx, dword [0x10098744]
push edi
push 0x10061550
push ecx
push 0xca
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x100643f8
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x100641f1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push str._S__convert_s
push eax
call fcn.1004fe20
sub esp, 0x10
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x54], ecx
mov word [ecx], dx
push edi
push 0x100824b4
mov byte [ebp - 4], 3
call fcn.1004dce6
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ebp - 0x54], esp
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
mov dword [ebp - 0x54], ecx
mov word [ecx], ax
push 0x14
push str.DOWNLOAD_SETUP_START
mov byte [ebp - 4], 5
call fcn.1004dce6
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.10062cb0
add esp, 0x38
cmp dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x2c]
jae 0x10064266
lea esi, [ebp - 0x2c]
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
mov dword [ebp - 0x54], esp
mov dword [ebp - 0x50], ecx
mov word [ecx], dx
mov byte [ebp - 4], 6
cmp esi, edi
je 0x100642a7
mov eax, esi
lea edx, [eax + 2]
mov dword [ebp - 0x4c], edx
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x10064290
sub eax, dword [ebp - 0x4c]
sar eax, 1
push eax
push esi
call fcn.1004dce6
push 1
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x4c], ecx
mov word [ecx], ax
push 0x15
push str.ytd_sysmenu_setup.exe
mov byte [ebp - 4], 8
call fcn.1004dce6
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x4c], esp
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
mov dword [ebp - 0x4c], ecx
mov word [ecx], dx
push 0x3b
push str.http:__download.ytdownloader.com_mag_ytdi_sysmenu_setup.exe
mov byte [ebp - 4], 0xa
call fcn.1004dce6
mov byte [ebp - 4], 9
mov byte [ebp - 4], 2
call fcn.10063390
add esp, 0x58
mov esi, eax
push esi
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ebp - 0x50], esp
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
mov dword [ebp - 0x50], ecx
mov word [ecx], ax
push 0x15
push str.DOWNLOAD_SETUP_FINISH
mov byte [ebp - 4], 0xb
call fcn.1004dce6
mov byte [ebp - 4], 2
call fcn.100638a0
add esp, 0x20
cmp esi, edi
je 0x100643ae
push 0x40
push 0x1007eec0
cmp esi, 0x20
jne 0x10064351
push str.Could_not_install_convert_engine._n_nPlease_try_again_later
jmp 0x10064356
push str.Could_not_download_convert_engine._n_nPlease_try_again_later
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x10064373
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.100660ce
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x10064390
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100660ce
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp + 0x1c], esi
jb 0x10064443
mov edx, dword [ebp + 8]
push edx
jmp 0x1006443b
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x100643c4
mov eax, dword [ebp - 0x48]
push eax
call fcn.100660ce
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x100643e1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100660ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp + 0x1c], esi
jb 0x10064443
mov ecx, dword [ebp + 8]
push ecx
jmp 0x1006443b
cmp dword [ebp - 0x34], esi
jb 0x10064409
mov edx, dword [ebp - 0x48]
push edx
call fcn.100660ce
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x10064426
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100660ce
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp + 0x1c], esi
jb 0x10064443
mov eax, dword [ebp + 8]
push eax
call fcn.100660ce
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100660ff
mov esp, ebp
pop ebp
ret