joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e575
Capabilities:
Resume thread

Disassembly:
mov eax, 0x5600a5
call fcn.004e6194
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x14], ebx
je 0x47e591
push 1
pop eax
jmp 0x47e5f0
push 0x78
call fcn.0053df39
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x47e5af
push edi
call fcn.00481530
mov esi, eax
jmp 0x47e5b1
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x47e5f0
push ebx
push ebx
push 4
mov ecx, esi
call fcn.0053d3e9
test eax, eax
jne 0x47e5d8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x47e5f0
push ebx
mov dword [edi + 0x14], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x48004e
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x560234
call fcn.004e6194
sub esp, 0xc
push esi
mov esi, ecx
call fcn.004148a3
test eax, eax
jne 0x48006f
or eax, 0xffffffff
jmp 0x48012d
mov eax, dword [0x62f4f8]
push ebx
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00480368
test eax, eax
je 0x480095
or ebx, 0xffffffff
jmp 0x48011d
push dword [ebp - 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x48008d
push 0x6372dc
lea ecx, [ebp - 0x10]
call fcn.0054175b
mov esi, 0x5a3c28
lea ecx, [ebp - 0x10]
push esi
mov byte [ebp - 4], 1
call fcn.00541ad8
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.00541b14
push esi
lea ecx, [ebp - 0x10]
call fcn.00541ad8
lea eax, [ebp - 0x18]
push eax
call fcn.004046da
pop ecx
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x4800f7
push 5
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push ebx
jmp 0x480103
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.005416e7
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005416e7
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4801ee
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x560274
call fcn.004e6194
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [esi + 0x4e8]
call edi
test eax, eax
je 0x480222
push dword [esi + 0x4e8]
call fcn.0041f8dc
pop ecx
jmp 0x48030c
mov eax, dword [0x62f4f8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x4e8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jne 0x4802ad
test byte [esi + 0xe1], 0x10
je 0x480269
push dword [esi + 0xe4]
lea eax, [ebp - 0x14]
push eax
call fcn.0041efad
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0054182e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x4802cc
lea eax, [esi + 0x10c]
lea ecx, [ebp - 0x10]
push eax
call fcn.0054182e
mov ecx, dword [esi + 0x110]
lea eax, [esi + 0x110]
cmp dword [ecx - 8], ebx
je 0x4802d1
push eax
lea eax, [ebp - 0x14]
push 0x5a3750
push eax
call fcn.00541a00
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00541b14
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x4802cc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041efad
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0054182e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.005416e7
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4802f7
push ebx
push ebx
push str.Folder_does_not_exist_
call fcn.00548226
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005416e7
or eax, 0xffffffff
jmp 0x48030e
push dword [ebp - 0x10]
call fcn.0041f971
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
call fcn.005416e7
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x480cb4
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x560337
call fcn.004e6194
sub esp, 0x8c
push esi
mov esi, ecx
test byte [esi + 0x30], 6
jne 0x480dc1
push ebx
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x98]
push ebx
push ebx
call fcn.0043e4c0
mov eax, dword [0x63754c]
push 0x637550
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x84], eax
call fcn.0054182e
mov eax, dword [0x637554]
mov ecx, dword [esi + 0x1f0]
mov dword [ebp - 0x7c], eax
lea eax, [esi + 0x1f0]
cmp dword [ecx - 8], ebx
jne 0x480d1b
lea eax, [ebp - 0x50]
push eax
call fcn.00441a2a
pop ecx
jmp 0x480d24
push eax
lea ecx, [ebp - 0x50]
call fcn.0054182e
lea eax, [esi + 0x200]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0054182e
lea eax, [ebp + 8]
push eax
call fcn.00426735
pop ecx
mov eax, dword [eax]
push 1
push 1
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0041dfa7
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.005416e7
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x1a4]
lea ecx, [ebp - 0x98]
push eax
call fcn.0043e5d1
test eax, eax
je 0x480d7a
or esi, 0xffffffff
jmp 0x480da2
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x480d75
lea eax, [esi + 0x2f0]
mov ecx, esi
push eax
push dword [ebp - 0x1c]
call fcn.00481094
test eax, eax
jne 0x480d75
or dword [esi + 0x30], 4
xor esi, esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0041e014
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.0043e4fc
mov eax, esi
pop ebx
jmp 0x480dc4
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x481094
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56037b
call fcn.004e6194
sub esp, 0x1c8
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4810b9
or eax, 0xffffffff
jmp 0x481147
push esi
xor esi, esi
push esi
lea ecx, [ebp - 0x1d4]
call fcn.004c4580
push esi
lea ecx, [ebp - 0x1d4]
push dword [ebp + 8]
mov dword [ebp - 4], esi
call fcn.004c56f0
test al, al
je 0x48111d
mov ecx, 0xb4
mov eax, 0x140
push ecx
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.0042006a
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.004c4650
mov ecx, dword [ebp + 0xc]
call fcn.004c45a0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1d4]
push esi
push eax
call fcn.004c4ba0
test al, al
jne 0x481120
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x1d4], 0x56fad8
call fcn.004c4650
lea ecx, [ebp - 0x1d4]
call fcn.004c45a0
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x481289
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4812fb
cmp dword [esp + 0x18], 0
jne 0x4812b1
test byte [esi + 0x31], 1
je 0x4812b1
push 1
pop eax
jmp 0x481393
push dword [esp + 0x14]
mov eax, dword [esi + 0x4f8]
lea ebx, [esi + 0x4f8]
push dword [esp + 0x14]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x481303
mov ecx, esi
call fcn.00481399
test eax, eax
je 0x4812fb
mov eax, dword [esi + 0x4e8]
lea edi, [esi + 0x4c8]
push eax
call fcn.0041f171
pop ecx
mov dword [edi], eax
mov eax, dword [esi]
push edx
mov dword [edi + 4], edx
push dword [edi]
mov ecx, esi
call dword [eax + 0x50]
or eax, 0xffffffff
jmp 0x481393
and dword [esi + 0x4c4], 0
cmp dword [esi + 0x584], 0
lea edi, [esi + 0x4c4]
jle 0x481321
mov dword [edi], 1
jmp 0x481332
mov ecx, ebx
call fcn.0048125e
test eax, eax
je 0x481332
mov dword [edi], 2
push dword [esi + 0x52c]
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x528]
call dword [eax + 0x50]
fild qword [esi + 0x520]
mov edi, dword [esi]
fmul qword [0x570460]
call fcn.004e665c
push edx
push eax
mov ecx, esi
call dword [edi + 0x58]
mov ecx, ebx
call fcn.0043bc5a
mov edi, eax
test edi, edi
je 0x48138d
push dword [edi + 0x58]
push dword [edi + 0x54]
call fcn.004b8f79
pop ecx
mov edx, dword [esi]
pop ecx
mov dword [esi + 0x4d8], eax
push dword [edi + 0x58]
mov ecx, esi
push dword [edi + 0x54]
push eax
call dword [edx + 0x54]
or byte [esi + 0x31], 1
xor eax, eax
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x483fa3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5607b8
call fcn.004e6194
push ecx
mov eax, dword [0x62f4f8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov eax, dword [0x62f4f8]
and dword [ebp - 4], 0
mov dword [esi + 0xc], eax
lea edi, [esi + 0x10]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0053c51a
mov ebx, 0x5738fc
mov dword [edi + 0x14], 1
mov dword [edi], ebx
lea edi, [esi + 0x30]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.0053c51a
mov dword [edi], ebx
mov dword [edi + 0x14], 1
mov edi, 0x6372dc
xor ebx, ebx
push edi
lea ecx, [esi + 8]
mov byte [ebp - 4], 3
mov dword [esi], 0x573df8
mov dword [esi + 4], ebx
call fcn.0054187e
push edi
lea ecx, [esi + 0xc]
call fcn.0054187e
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x484040
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5607f0
call fcn.004e6194
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x573df8
mov dword [ebp - 4], 3
call fcn.004840a0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0047de8f
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.0047de8f
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call fcn.005416e7
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x48404b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5607f0
call fcn.004e6194
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x573df8
mov dword [ebp - 4], 3
call fcn.004840a0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0047de8f
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.0047de8f
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call fcn.005416e7
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4876fe
Capabilities:
Check if file exists

Disassembly:
push dword [0x637548]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x487723
push 0
push 0x414
push dword [0x637548]
call fcn.0041e37b
add esp, 0xc
ret

Function at 0x487724
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x560b04
call fcn.004e6194
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], method.CSyncObject.virtual_20
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea edi, [esi + 0xc]
mov dword [ebp - 4], ebx
mov ecx, edi
call fcn.0053c51a
push 1
mov dword [edi], method.CPtrArray.virtual_0
pop eax
mov dword [edi + 0x14], eax
mov ecx, dword [0x62f4f8]
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov dword [esi], 0x57458c
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x489469
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x560c60
call fcn.004e6194
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x6372dc
lea ecx, [ebp - 0x10]
call fcn.0054175b
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x14], ebx
mov dword [ebp - 4], ebx
jle 0x4894f8
jmp 0x489497
xor ebx, ebx
cmp edi, ebx
jl 0x4894a6
cmp edi, dword [esi + 0x14]
jge 0x4894a6
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + edi*4]
mov ecx, ebx
call fcn.0041487d
test eax, eax
je 0x4894f0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x4894c7
push 0x5a43e8
lea ecx, [ebp - 0x10]
call fcn.00541ad8
push 0x5a3c28
lea ecx, [ebp - 0x10]
call fcn.00541ad8
add ebx, 0x4e8
lea ecx, [ebp - 0x10]
push ebx
call fcn.00541b14
push 0x5a3c28
lea ecx, [ebp - 0x10]
call fcn.00541ad8
inc edi
cmp edi, dword [esi + 0x14]
jl 0x489495
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x48953b
lea eax, [ebp - 0x14]
push eax
call fcn.004046da
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push ebx
je 0x489523
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
jmp 0x48952c
push ebx
push dword [ebp - 0x10]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005416e7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x489d78
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x560cf4
call fcn.004e6194
push ecx
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489e40
xor edi, edi
mov esi, 0x3e8
push dword [ebp + 0xc]
call fcn.0041e3f8
cmp eax, 0xffffffff
pop ecx
jne 0x489e40
push dword [ebp + 0x10]
push esi
call fcn.0042126f
pop ecx
test eax, eax
pop ecx
jne 0x489dc8
add edi, esi
cmp edi, 0x1388
jl 0x489d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x489e15
push str.If_you_are_previewing_the_downloading_video_audio__please_stop_previewing__then_click_OK_button.
lea ecx, [ebp - 0x10]
call fcn.0054175b
push 0x31
push 0x5a3de8
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x489e09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005416e7
push 1
pop eax
jmp 0x489e47
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005416e7
xor edi, edi
push dword [ebp + 0xc]
call fcn.0041e3f8
cmp eax, 0xffffffff
pop ecx
jne 0x489e40
push dword [ebp + 0x10]
push esi
call fcn.0042126f
pop ecx
test eax, eax
pop ecx
jne 0x489e44
add edi, esi
cmp edi, 0x2710
jge 0x489e44
jmp 0x489e17
xor eax, eax
jmp 0x489e47
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x489e55
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x560d08
call fcn.004e6194
push ebx
push esi
push dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x489e77
push 0xfffffffffffffffe
jmp 0x489f1a
push dword [ebp + 0x10]
call esi
test eax, eax
je 0x489ea3
cmp dword [ebp + 0x14], 0
je 0x489f5f
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00489d78
add esp, 0xc
test eax, eax
jl 0x489f5f
xor ebx, ebx
mov esi, 0x3e8
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041e41c
add esp, 0xc
cmp eax, 0xffffffff
jne 0x489f5b
push dword [ebp + 0x18]
push esi
call fcn.0042126f
pop ecx
test eax, eax
pop ecx
jne 0x489edc
add ebx, esi
cmp ebx, 0x1388
jl 0x489eaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x489f29
push str.If_you_are_previewing_the_downloading_video_audio__please_stop_previewing__then_click_OK_button.
lea ecx, [ebp + 0x14]
call fcn.0054175b
push 0x31
push 0x5a3de8
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x489f1d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.005416e7
push 1
pop eax
jmp 0x489f62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.005416e7
xor ebx, ebx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041e41c
add esp, 0xc
cmp eax, 0xffffffff
jne 0x489f5b
push dword [ebp + 0x18]
push esi
call fcn.0042126f
pop ecx
test eax, eax
pop ecx
jne 0x489f5f
add ebx, esi
cmp ebx, 0x2710
jge 0x489f5f
jmp 0x489f2b
xor eax, eax
jmp 0x489f62
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48ee8f
Capabilities:
Resume thread

Disassembly:
mov eax, 0x561545
call fcn.004e6194
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x90], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x88]
push 0x7c
call fcn.0053df39
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x48eed2
push dword [ebp - 0x10]
mov ecx, eax
push ebx
call fcn.0048f6aa
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x48ef11
push 0
push 0
push 4
mov ecx, esi
call fcn.0053d3e9
test eax, eax
je 0x48ef20
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x48eeb1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x48ef2d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x48ef11

Function at 0x4905b7
Capabilities:
Resume thread

Disassembly:
mov eax, 0x5616c1
call fcn.004e6194
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x80], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x78]
push 0x7c
call fcn.0053df39
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x4905f7
push dword [ebp - 0x10]
mov ecx, eax
push ebx
call fcn.00490e7b
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x490636
push 0
push 0
push 4
mov ecx, esi
call fcn.0053d3e9
test eax, eax
je 0x490645
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x4905d6
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x490652
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x490636
Function at 0x492c2d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x561874
call fcn.004e6194
push ecx
push ecx
mov eax, dword [0x62f4f8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._sMX_ytdlp_64.exe
push eax
call fcn.0053a4f9
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._sMX_ytdlp_32.exe
push eax
call fcn.0053a4f9
add esp, 0xc
call fcn.004b90ad
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 0x40
jne 0x492cb7
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x492ca9
lea ebx, [esi + 8]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0054182e
mov dword [esi + 0xc], 0x40
jmp 0x492ccc
push dword [ebp - 0x10]
call edi
test eax, eax
lea ebx, [esi + 8]
jne 0x492cba
jmp 0x492c95
lea ebx, [esi + 8]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0054182e
mov dword [esi + 0xc], 0x20
push dword [ebx]
call edi
neg eax
sbb eax, eax
and byte [ebp - 4], 0
and eax, 2
lea ecx, [ebp - 0x10]
dec eax
mov dword [0x637514], eax
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005416e7
push dword [ebp + 8]
add esi, 0x20
push str._sMX_ytdlpa_64.exe
push esi
call fcn.0053a4f9
add esp, 0xc
push dword [esi]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 2
pop ebx
dec eax
mov dword fs:[0], ecx
mov dword [0x637510], eax
xor eax, eax
leave
ret 8

Function at 0x4b4e34
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5659a0
call fcn.004e6194
push ecx
mov eax, dword [0x62f4f8]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push str.JSX_V8.dll
push dword [ebp + 8]
mov esi, 0x5a3754
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0053a4f9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4b4e8e
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0053a4f9
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4b4ee5
lea eax, [ebp + 8]
push eax
call fcn.0042668e
mov dword [esp], str.JSX_V8.dll
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.0053a4f9
add esp, 0x10
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4b4ed9
push str.JSX_SM.dll
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.0053a4f9
add esp, 0x10
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.005416e7
push dword [ebp - 0x10]
mov ecx, 0x637e20
call fcn.00425992
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [ebx + 0x20]
xor esi, esi
test edi, edi
jle 0x4b4f12
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, edi
jl 0x4b4f02
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005416e7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4b7b1f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x565f1e
call fcn.004e6194
push ecx
mov eax, dword [0x62f4f8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x62f4f8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x20], eax
lea edi, [esi + 0x34]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.0053c51a
mov dword [edi], method.CPtrArray.virtual_0
mov eax, dword [0x62f4f8]
mov dword [esi + 0x48], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x4c], eax
mov edi, 0x6372dc
mov dword [esi + 8], ebx
push edi
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
mov dword [esi], 0x5776d4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0054187e
push edi
lea ecx, [esi + 0x1c]
call fcn.0054187e
push edi
lea ecx, [esi + 0x20]
call fcn.0054187e
push edi
lea ecx, [esi + 0x48]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0054187e
push edi
lea ecx, [esi + 0x4c]
call fcn.0054187e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4b865b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5660f3
call fcn.004e6194
push ecx
mov eax, dword [0x62f4f8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x62f4f8]
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x14], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x30], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x34], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x38], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x3c], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x40], eax
mov eax, dword [0x62f4f8]
mov dword [esi + 0x44], eax
mov byte [ebp - 4], 8
mov dword [esi], 0x57776c
call fcn.004b8769
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4b86d6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x566158
call fcn.004e6194
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57776c
lea ecx, [esi + 0x44]
mov dword [ebp - 4], 7
call fcn.005416e7
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call fcn.005416e7
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 5
call fcn.005416e7
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call fcn.005416e7
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call fcn.005416e7
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.005416e7
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.005416e7
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.005416e7
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.005416e7
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret