joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453fde
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate thread

Disassembly:
sub esp, 0x14
push esi
push edi
lea eax, [esp + 0x10]
xor edi, edi
mov esi, ecx
push eax
push edi
push esi
push 0x4540d7
push edi
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esp + 8], eax
jne 0x45400f
or eax, 0xffffffff
jmp 0x4540d1
mov edi, dword [esi + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
imul edi, edi, 0x3e8
call ebx
mov ebp, dword [esi + 0xf0]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x454050
cmp dword [eax], 0
je 0x454050
mov ecx, esi
call fcn.00453def
push 0x3e8
jmp 0x45408f
push 0x1f4
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4540bf
mov eax, dword [esi + 0xf0]
cmp eax, ebp
jne 0x454020
mov eax, dword [esi + 0xf4]
cmp eax, dword [esp + 0x20]
jne 0x454020
call ebx
sub eax, dword [esp + 0x14]
cmp eax, edi
jb 0x454036
mov ecx, esi
call fcn.00453def
push 0xbb8
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4540bf
cmp dword [esi + 0x108], 0
je 0x454036
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xf8], 1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xf8]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x4540ef
Capabilities:
Check internet connectivity via wininet
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push 0
mov esi, ecx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x45410f
push 0xfffffffffffffffe
pop eax
jmp 0x454145
lea ecx, [esi + 0xd8]
call fcn.00453c02
mov eax, dword [esi + 0x98]
lea ecx, [esi + 0x98]
cmp dword [eax - 8], 0
jne 0x454136
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_73.0.3683.86_Safari_537.36
call fcn.0052cb16
cmp dword [esi + 0x18], 0
ja 0x454143
mov dword [esi + 0x18], 0x1000
xor eax, eax
pop esi
leave
ret
Function at 0x4556d1
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov ebx, 0x6543d8
push str._sNIO_curl.exe
push ebx
call fcn.005257c9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x6543d8]
call esi
test eax, eax
jne 0x45570a
push str.NIO_curl.exe
mov ecx, ebx
call fcn.0052cb16
push edi
mov ebx, 0x6543f0
push str._sNIO_msdl.exe
push ebx
call fcn.005257c9
add esp, 0xc
push dword [0x6543f0]
call esi
test eax, eax
jne 0x455736
push str.NIO_msdl.exe
mov ecx, ebx
call fcn.0052cb16
push edi
mov edi, 0x654408
push str._sNIO_rtmp.exe
push edi
call fcn.005257c9
add esp, 0xc
push dword [0x654408]
call esi
test eax, eax
jne 0x455762
push str.NIO_rtmp.exe
mov ecx, edi
call fcn.0052cb16
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x456950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov ebx, dword [esi + 0x70]
test ebx, ebx
mov dword [ebp - 4], ebx
je 0x456a1f
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x456977
push eax
jmp 0x4569bc
push 1
pop edi
cmp ebx, edi
jle 0x45698c
cmp dword [esi + 0x18], edi
jne 0x45698c
push edi
lea ecx, [esi + 0x68]
call fcn.0045690e
test ebx, ebx
jle 0x456996
cmp dword [esi + 0x1c], 0
jle 0x456a15
push dword [esi + 0xc]
call fcn.00422b5e
pop ecx
xor ecx, ecx
cmp edx, ecx
jg 0x4569ab
jl 0x4569bb
cmp eax, ecx
jbe 0x4569bb
test byte [esi + 0x34], 2
je 0x4569ca
cmp eax, dword [esi + 0x20]
jne 0x4569bb
cmp edx, dword [esi + 0x24]
je 0x4569d9
push ecx
lea ecx, [esi + 0x68]
call fcn.0045690e
and dword [esi + 0x34], 0xfffffffd
jmp 0x456a1f
cmp ebx, edi
jne 0x4569d9
mov edi, dword [esi + 0x6c]
mov edi, dword [edi]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
xor edi, edi
xor edx, edx
test ebx, ebx
jle 0x456a15
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x456a0c
xor ebx, ebx
cmp dword [eax + 0x3c], ebx
jg 0x4569ff
jl 0x4569f9
cmp dword [eax + 0x38], ebx
jae 0x4569ff
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov ebx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
add ecx, ebx
mov ebx, dword [ebp - 4]
adc edi, eax
inc edx
cmp edx, ebx
jl 0x4569e1
or ecx, edi
jne 0x456a1f
push 0
lea ecx, [esi + 0x68]
call fcn.0045690e
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x45767f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
or dword [ebp - 0xc], 0xffffffff
push ebx
push edi
mov edi, dword [ecx + 0x78]
xor eax, eax
mov ebx, dword [edi + 0x70]
mov dword [ebp - 0x14], eax
cmp ebx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
jle 0x457715
mov eax, dword [edi + 0x6c]
push esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x4576f7
cmp dword [ecx + 0x28], 0x15
je 0x4576f7
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
mov eax, edx
and eax, esi
cmp eax, 0xffffffff
jne 0x4576d9
mov edx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
sub edx, dword [ecx + 0x38]
sbb esi, dword [ecx + 0x3c]
sub edx, dword [ecx + 8]
sbb esi, dword [ecx + 0xc]
jmp 0x4576df
sub edx, dword [ecx + 0x38]
sbb esi, dword [ecx + 0x3c]
cmp esi, dword [ebp - 0x10]
jl 0x4576f7
jg 0x4576eb
cmp edx, dword [ebp - 0x14]
jbe 0x4576f7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
inc dword [ebp - 4]
add dword [ebp - 8], 4
cmp dword [ebp - 4], ebx
jl 0x4576a7
cmp dword [ebp - 0x10], 0
pop esi
jg 0x45771a
jl 0x457715
cmp dword [ebp - 0x14], 0x20000
jae 0x45771a
or eax, 0xffffffff
jmp 0x45771d
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
leave
ret

Function at 0x457721
Capabilities:
Resume thread

Disassembly:
mov eax, 0x548805
call fcn.004c7c10
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0xe0
call fcn.00529189
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor edi, edi
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x45775e
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.00455d19
mov esi, eax
jmp 0x457760
xor esi, esi
or dword [ebp - 4], 0xffffffff
push edi
push edi
push 4
mov ecx, esi
call fcn.00528638
test eax, eax
je 0x4577ca
mov ebx, dword [esi + 0x28]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0xc], edi
je 0x4577b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
cmp eax, edi
je 0x45779a
cmp dword [eax], edi
jne 0x4577ba
push 0x64
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4577ba
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], 0x14
jl 0x45778c
mov eax, dword [ebp + 8]
mov dword [eax + 0x50], esi
xor eax, eax
jmp 0x4577da
push 2
mov ecx, esi
call fcn.00456694
mov ecx, esi
call fcn.004566a1
cmp esi, edi
je 0x4577d7
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4579b4
Capabilities:
Resume thread

Disassembly:
mov eax, 0x548845
call fcn.004c7c10
push ecx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x8c], 0
je 0x4579d1
push 1
pop eax
jmp 0x457a3a
push 0x7c
call fcn.00529189
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x4579f3
push dword [edi + 0x78]
push edi
call fcn.004580ae
mov esi, eax
jmp 0x4579f5
xor esi, esi
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x457a3a
push 0
push 0
push 4
mov ecx, esi
call fcn.00528638
test eax, eax
jne 0x457a1e
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x457a3a
push 0xfffffffffffffffe
mov dword [edi + 0x8c], 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
mov dword fs:[0], ecx
leave
ret
Function at 0x4773d1
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x54ac12
call fcn.004c7c10
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0047747e
mov eax, dword [0x64b0c8]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x55d6fc
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x64b0c8]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x40], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x44], eax
mov edi, 0x6534f4
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x55d6f0
call fcn.0052cb16
push edi
lea ecx, [esi + 0x18]
call fcn.0052cb16
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.0052cb16
push edi
lea ecx, [esi + 0x40]
call fcn.0052cb16
push edi
lea ecx, [esi + 0x44]
call fcn.0052cb16
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4806e0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x54b493
call fcn.004c7c10
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x48083e
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48083e
lea ecx, [ebp - 0xf0]
call fcn.004321b6
push ebx
push 0x74
push dword [ebp + 8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
push eax
call fcn.0043231f
mov ecx, eax
call fcn.004321ae
test al, al
jne 0x480745
or esi, 0xffffffff
jmp 0x480810
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.00431d67
lea ecx, [ebp - 0x10]
call fcn.004321ae
test al, al
jne 0x48073d
push 0x6534f4
lea eax, [ebp - 0x1c]
push 0x5931a4
push eax
lea ecx, [ebp - 0x10]
call fcn.00431dae
mov ecx, eax
call fcn.00431b55
push eax
lea ecx, [ebp - 0x14]
call fcn.0052c9f3
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.004c805a
pop ecx
test eax, eax
pop ecx
je 0x4807a8
push 1
pop esi
jmp 0x480804
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.00431d67
lea ecx, [ebp - 0x18]
call fcn.004321ae
test al, al
je 0x4807ca
or esi, 0xffffffff
jmp 0x480804
cmp dword [esi + 0x10], ebx
jle 0x480802
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + ebx*4]
lea eax, [ebp + 8]
push dword [edi + 8]
push eax
call fcn.00431d67
lea ecx, [ebp + 8]
call fcn.004321ae
test al, al
jne 0x480823
lea eax, [ebp + 8]
push eax
push edi
call fcn.00480852
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x4807cf
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004321cd
mov eax, esi
jmp 0x480841
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004321cd
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x49b375
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 8], ebx
cmp dword [ebp + 0x50], ebx
jle 0x49b513
push esi
push edi
mov eax, dword [ebp + 0x4c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, ebx
je 0x49b500
push dword [esi + 0x14]
call fcn.0049b318
mov edi, eax
pop ecx
cmp edi, ebx
je 0x49b500
push dword [edi + 0xc]
lea ecx, [esi + 0x18]
call fcn.0052cb16
cmp dword [edi + 0x10], ebx
je 0x49b3cb
mov dword [esi + 0x10], 1
jmp 0x49b3d7
cmp dword [edi + 0x14], ebx
je 0x49b3d7
mov dword [esi + 0x10], 2
cmp dword [edi + 0x10], ebx
je 0x49b3e4
cmp dword [edi + 0x14], ebx
jne 0x49b3e4
or dword [esi], 0x10
cmp dword [edi + 8], ebx
je 0x49b3ed
or byte [esi + 3], 1
cmp dword [edi + 0x18], ebx
je 0x49b3f6
or byte [esi + 1], 1
cmp dword [edi + 0x34], ebx
je 0x49b3fe
or dword [esi], 1
push dword [edi + 0x48]
lea ecx, [esi + 0x3c]
call fcn.0052cb16
push dword [edi + 0x20]
lea ecx, [esi + 0x50]
call fcn.0052cb16
cmp dword [esi + 0x5c], ebx
je 0x49b41e
cmp dword [esi + 0x60], ebx
jne 0x49b487
cmp dword [esi + 0x58], ebx
jne 0x49b429
mov eax, dword [esi + 0x60]
mov dword [esi + 0x58], eax
push 0x6439b8
push dword [edi]
call fcn.004c805a
pop ecx
test eax, eax
pop ecx
je 0x49b44d
push 0x6439b0
push dword [edi]
call fcn.004c805a
pop ecx
test eax, eax
pop ecx
jne 0x49b487
mov eax, dword [esi + 0x58]
mov ecx, 0x10e0
cmp eax, ecx
jne 0x49b462
mov dword [esi + 0x5c], 0x1e00
jmp 0x49b484
mov ecx, 0xa8c
cmp eax, ecx
jne 0x49b474
mov dword [esi + 0x5c], 0x1400
jmp 0x49b484
mov ecx, 0x870
cmp eax, ecx
jne 0x49b487
mov dword [esi + 0x5c], 0xf00
mov dword [esi + 0x60], ecx
cmp dword [esi + 0x58], ebx
jne 0x49b492
mov eax, dword [edi + 0x24]
mov dword [esi + 0x58], eax
cmp dword [esi + 0x5c], ebx
jne 0x49b49d
mov eax, dword [edi + 0x28]
mov dword [esi + 0x5c], eax
cmp dword [esi + 0x60], ebx
jne 0x49b4a8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x60], eax
fld dword [esi + 0x64]
fcomp dword [0x55bf60]
fnstsw ax
sahf
jne 0x49b4bc
mov eax, dword [edi + 0x30]
mov dword [esi + 0x64], eax
push dword [esi + 0x58]
call fcn.004a4135
pop ecx
mov dword [esi + 0x54], eax
push dword [edi + 0x38]
lea ecx, [esi + 0x6c]
call fcn.0052cb16
cmp dword [esi + 0x74], ebx
jne 0x49b4de
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x78], ebx
jne 0x49b4e9
mov eax, dword [edi + 0x40]
mov dword [esi + 0x78], eax
cmp dword [esi + 0x7c], ebx
jne 0x49b4f4
mov eax, dword [edi + 0x44]
mov dword [esi + 0x7c], eax
push dword [esi + 0x74]
call fcn.004a42fe
pop ecx
mov dword [esi + 0x70], eax
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x50]
jl 0x49b38d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4a20ce
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x54f4c4
call fcn.004c7c10
push ecx
mov eax, dword [0x64b0c8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x64b0c8]
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x14], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x30], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x34], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x38], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64b0c8]
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 7
mov dword [esi], 0x55f078
call fcn.004a21c8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4a2141
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x54f51d
call fcn.004c7c10
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x55f078
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 6
call fcn.0052c97f
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 5
call fcn.0052c97f
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call fcn.0052c97f
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call fcn.0052c97f
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0052c97f
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0052c97f
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0052c97f
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4a214c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x54f51d
call fcn.004c7c10
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x55f078
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 6
call fcn.0052c97f
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 5
call fcn.0052c97f
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call fcn.0052c97f
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call fcn.0052c97f
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0052c97f
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0052c97f
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.0052c97f
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0052c97f
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4a24a9
Capabilities:
Resume thread

Disassembly:
mov eax, 0x54f5b1
call fcn.004c7c10
push ecx
push ebx
push esi
push edi
mov edi, ecx
test byte [edi + 0x48], 1
je 0x4a24c3
push 1
jmp 0x4a24db
lea ecx, [edi + 0x5c]
call fcn.004aaaf0
test al, al
jne 0x4a24bf
xor ebx, ebx
cmp dword [edi + 0x224], ebx
je 0x4a24de
push 2
pop eax
jmp 0x4a254b
mov eax, dword [edi + 0x38]
cmp dword [eax - 8], ebx
je 0x4a252b
push 0x78
call fcn.00529189
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4a2507
push edi
push dword [ebp + 8]
call fcn.004a26ce
mov esi, eax
jmp 0x4a2509
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x4a254b
push ebx
push ebx
push 4
mov ecx, esi
call fcn.00528638
test eax, eax
jne 0x4a2530
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x4a254b
push ebx
mov dword [edi + 0x224], 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 4

Function at 0x4a445a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x54f9a0
call fcn.004c7c10
push ecx
mov eax, dword [0x653604]
push ebx
push esi
mov ebx, ecx
push edi
push str.youtube.com
mov ecx, 0x654564
mov dword [0x6489e0], eax
call fcn.0052cb16
push 1
mov edi, 0x654504
pop eax
mov dword [0x6489e8], 4
push dword [ebp + 8]
mov dword [0x6489e4], eax
mov dword [0x654568], eax
mov dword [0x65456c], eax
push str._sMS_ytdl.exe
push edi
call fcn.005257c9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x654504]
call esi
test eax, eax
jne 0x4a44d3
push str.MS_ytdl.exe
mov ecx, edi
call fcn.0052cb16
cmp dword [0x654568], 0
je 0x4a450a
push dword [ebp + 8]
mov edi, 0x654500
push str._sMS_yg.exe
push edi
call fcn.005257c9
add esp, 0xc
push dword [0x654500]
call esi
test eax, eax
jne 0x4a450a
push str.MS_yg.exe
mov ecx, edi
call fcn.0052cb16
mov eax, dword [0x64b0c8]
mov dword [ebp - 0x10], eax
mov edi, str.JSE_V8.dll
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push 0x58a800
push eax
call fcn.005257c9
add esp, 0x10
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x4a4542
push edi
lea ecx, [ebp - 0x10]
call fcn.0052cb16
push dword [ebp - 0x10]
mov ecx, 0x654570
call fcn.0042c4a0
mov ecx, ebx
call fcn.004a28db
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0052c97f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4b6750
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.004aa9d0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x4b6782
mov dword [esp + 0x2c], 0
jmp 0x4b679d
mov ecx, ebp
call fcn.004aa9d0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.004aa9d0
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.004aa9e0
cmp eax, esi
jae 0x4b67dd
mov ecx, ebp
call fcn.004aa9e0
mov dword [esp + 0x10], eax
jmp 0x4b67e1
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.004aa800
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x4b684d
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x4b6848
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.004ab820
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x4b683b
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.004abc90
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4b6808
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x4b67f6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x4c90ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4c911f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004cbade
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4c9142
test byte [esp + 8], 2
je 0x4c9142
call fcn.004cbb51
mov dword [eax], 0xd
call fcn.004cbb5a
mov dword [eax], 5
jmp 0x4c911b
xor eax, eax
ret
Function at 0x4e9f90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004c8550
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4ea05b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4ea05b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4ea00e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4ea019
or bh, 8
and edi, 0x8000000
je 0x4ea034
mov eax, dword [0x6582dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4ea05b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret