joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44096b
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x58702e
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
mov eax, dword [0x66cc08]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x10], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x14], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x18], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x30], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x48], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x4c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x50], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x54], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x58], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x5c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x60], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x64], eax
mov edi, 0x6749b4
mov byte [ebp - 4], 0xd
push edi
mov dword [esi], ebx
call fcn.005681ba
or dword [esi + 8], 0xffffffff
push edi
lea ecx, [esi + 0xc]
call fcn.005681ba
push edi
lea ecx, [esi + 0x10]
call fcn.005681ba
push edi
lea ecx, [esi + 0x14]
call fcn.005681ba
push edi
lea ecx, [esi + 0x18]
call fcn.005681ba
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
call fcn.005681ba
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x44], ebx
push edi
lea ecx, [esi + 0x48]
call fcn.005681ba
push edi
lea ecx, [esi + 0x4c]
call fcn.005681ba
push edi
lea ecx, [esi + 0x50]
call fcn.005681ba
push edi
lea ecx, [esi + 0x54]
call fcn.005681ba
push edi
lea ecx, [esi + 0x58]
call fcn.005681ba
push edi
lea ecx, [esi + 0x5c]
call fcn.005681ba
push edi
lea ecx, [esi + 0x60]
call fcn.005681ba
push edi
lea ecx, [esi + 0x64]
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x440b38
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x587077
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x59ff6c
mov ecx, dword [esi + 0x11c]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x440b66
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 1
call fcn.00440905
and byte [ebp - 4], 0
lea eax, [esi + 0x98]
lea ecx, [eax + 0xc]
mov dword [eax], 0x59ff88
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.00440ba6
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x440ba6
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x587113
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x64]
mov dword [ebp - 4], 0xc
call fcn.00568023
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xb
call fcn.00568023
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xa
call fcn.00568023
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 9
call fcn.00568023
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 8
call fcn.00568023
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 7
call fcn.00568023
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 6
call fcn.00568023
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.00568023
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call fcn.00568023
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.00568023
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call fcn.00568023
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.00568023
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.00568023
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x5871f4
call fcn.00510fdc
sub esp, 0xc
push esi
mov esi, ecx
call fcn.004416f7
test eax, eax
jne 0x44162c
or eax, 0xffffffff
jmp 0x4416ea
mov eax, dword [0x66cc08]
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.004419d6
test eax, eax
je 0x441652
or ebx, 0xffffffff
jmp 0x4416da
push dword [ebp - 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x44164a
push 0x6749b4
lea ecx, [ebp - 0x10]
call fcn.00568097
mov esi, 0x5ddee4
lea ecx, [ebp - 0x10]
push esi
mov byte [ebp - 4], 1
call fcn.00568414
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.00568450
push esi
lea ecx, [ebp - 0x10]
call fcn.00568414
lea eax, [ebp - 0x18]
push eax
call fcn.0040406e
pop ecx
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x4416b4
push 5
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push ebx
jmp 0x4416c0
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.00568023
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00568023
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4417b1
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x587208
call fcn.00510fdc
push ecx
push ecx
push ebx
lea ebx, [ecx + 0x6ac]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebx]
call esi
test eax, eax
jne 0x4417d8
or eax, 0xffffffff
jmp 0x441857
push edi
push 0x6749b4
lea ecx, [ebp - 0x10]
call fcn.00568097
and dword [ebp - 4], 0
mov edi, 0x5ddee4
push edi
lea ecx, [ebp - 0x10]
call fcn.00568414
push ebx
lea ecx, [ebp - 0x10]
call fcn.00568450
push edi
lea ecx, [ebp - 0x10]
call fcn.00568414
lea eax, [ebp - 0x14]
push eax
call fcn.0040406e
pop ecx
push dword [ebp - 0x14]
call esi
test eax, eax
pop edi
je 0x44182c
xor eax, eax
push 5
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
jmp 0x44183a
xor eax, eax
push 1
push eax
push eax
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00568023
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x441865
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x587234
call fcn.00510fdc
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [esi + 0x6ac]
call edi
test eax, eax
je 0x441899
push dword [esi + 0x6ac]
call fcn.00411a0c
pop ecx
jmp 0x44197d
mov eax, dword [0x66cc08]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x6ac]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jne 0x44191e
test byte [esi + 0x2d], 0x10
je 0x4418da
push dword [esi + 0x38]
lea eax, [ebp - 0x14]
push eax
call fcn.0041111c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0056816a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x44193d
lea eax, [esi + 0xb4]
lea ecx, [ebp - 0x10]
push eax
call fcn.0056816a
mov ecx, dword [esi + 0xb8]
lea eax, [esi + 0xb8]
cmp dword [ecx - 8], ebx
je 0x441942
push eax
lea eax, [ebp - 0x14]
push 0x5dd200
push eax
call fcn.0056833c
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00568450
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x44193d
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041111c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0056816a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00568023
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x441968
push ebx
push ebx
push str.Folder_does_not_exist_
call fcn.005751a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00568023
or eax, 0xffffffff
jmp 0x44197f
push dword [ebp - 0x10]
call fcn.00411aa1
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00568023
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4422cc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5872ff
call fcn.00510fdc
sub esp, 0xfc
push esi
mov esi, ecx
test byte [esi + 0xec], 6
jne 0x44240b
push ebx
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x108]
push ebx
push ebx
call fcn.0045e744
mov eax, dword [0x674a20]
push 0x674a24
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], 2
mov dword [ebp - 0xf0], eax
call fcn.0056816a
mov eax, dword [0x674a28]
mov ecx, dword [esi + 0x1b0]
mov dword [ebp - 0xe8], eax
lea eax, [esi + 0x1b0]
cmp dword [ecx - 8], ebx
jne 0x442357
lea eax, [ebp + 8]
push eax
call fcn.00462048
pop ecx
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.0056816a
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00568023
jmp 0x442363
push eax
lea ecx, [ebp - 0xbc]
call fcn.0056816a
lea eax, [esi + 0x1c0]
push 0x5de334
push eax
lea ecx, [ebp - 0xe4]
call fcn.0045cf92
lea eax, [ebp + 8]
push eax
call fcn.00419c9d
pop ecx
mov eax, dword [eax]
push 1
push 1
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0041001c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00568023
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x164]
lea ecx, [ebp - 0x108]
push eax
call fcn.0045e87f
test eax, eax
je 0x4423c1
or esi, 0xffffffff
jmp 0x4423ec
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4423bc
lea eax, [esi + 0x2a8]
mov ecx, esi
push eax
push dword [ebp - 0x1c]
call fcn.0044272c
test eax, eax
jne 0x4423bc
or dword [esi + 0xec], 4
xor esi, esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00410089
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.0045e780
mov eax, esi
pop ebx
jmp 0x44240e
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x44272c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x587353
call fcn.00510fdc
sub esp, 0x1e0
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4427fc
xor ebx, ebx
lea ecx, [ebp - 0x1ec]
push ebx
call fcn.004ed1d0
push ebx
lea ecx, [ebp - 0x1ec]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004ee340
test al, al
jne 0x442806
lea eax, [ebp - 0x10]
push eax
call fcn.00419c9d
pop ecx
mov eax, dword [eax]
push 1
push 1
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0041001c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00568023
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.0042478f
add esp, 0xc
test eax, eax
je 0x4427ba
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
jmp 0x4427d3
push ebx
lea ecx, [ebp - 0x1ec]
push dword [ebp - 0x20]
call fcn.004ee340
test al, al
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
jne 0x442801
call fcn.00410089
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0x59d698
call fcn.004ed2a0
lea ecx, [ebp - 0x1ec]
call fcn.004ed1f0
or eax, 0xffffffff
jmp 0x44286e
call fcn.00410089
mov ecx, 0xb4
mov eax, 0x140
push ecx
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.0041212b
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.004ed2a0
mov ecx, dword [ebp + 0xc]
call fcn.004ed1f0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1ec]
push ebx
push eax
call fcn.004ed7f0
test al, al
jne 0x442848
or ebx, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0x59d698
call fcn.004ed2a0
lea ecx, [ebp - 0x1ec]
call fcn.004ed1f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4429b8
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442a2c
cmp dword [esp + 0x14], 0
jne 0x4429e2
test byte [esi + 0xed], 1
je 0x4429e2
push 1
pop eax
jmp 0x442ad3
push dword [esp + 0x10]
mov eax, dword [esi + 0x6e0]
lea edi, [esi + 0x6e0]
push dword [esp + 0x10]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x442a34
mov ecx, esi
call fcn.00442ad8
test eax, eax
je 0x442a2c
mov eax, dword [esi + 0x6ac]
lea edi, [esi + 0x6c0]
push eax
call fcn.004112da
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 + 0x40]
or eax, 0xffffffff
jmp 0x442ad3
push ebx
lea ebx, [esi + 0x6bc]
push 0x6749b4
mov ecx, ebx
call fcn.005681ba
cmp dword [esi + 0x764], 0
jle 0x442a57
push 0x5ec160
jmp 0x442a67
mov ecx, edi
call fcn.0044298d
test eax, eax
je 0x442a6e
push 0x5ec154
mov ecx, ebx
call fcn.005681ba
push dword [esi + 0x70c]
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x708]
call dword [eax + 0x40]
fild qword [esi + 0x700]
mov ebx, dword [esi]
fmul qword [0x59dfb0]
call fcn.0051127c
push edx
push eax
mov ecx, esi
call dword [ebx + 0x48]
mov ecx, edi
call fcn.004592fb
mov edi, eax
pop ebx
test edi, edi
je 0x442aca
push dword [edi + 0x58]
push dword [edi + 0x54]
call fcn.00423826
pop ecx
mov edx, dword [esi]
pop ecx
mov dword [esi + 0x6d0], eax
push dword [edi + 0x58]
mov ecx, esi
push dword [edi + 0x54]
push eax
call dword [edx + 0x44]
or byte [esi + 0xed], 1
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x4432e9
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x587418
call fcn.00510fdc
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0x59ff8c
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 7
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x18], edi
jne 0x44333a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffe
pop eax
jmp 0x4433be
lea ecx, [ebp - 0x64]
call fcn.0044341f
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x64]
push 0x48
push eax
push edi
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
je 0x4433cf
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push 4
push eax
push edi
call esi
test eax, eax
je 0x4433cf
cmp dword [ebp + 8], ebx
je 0x4433b1
xor esi, esi
cmp dword [ebp + 8], ebx
jle 0x4433b1
cmp esi, ebx
jl 0x44339b
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jge 0x44339b
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
jmp 0x44339d
xor eax, eax
mov ecx, dword [ebp - 0x14]
push eax
push edi
call fcn.004435c7
test eax, eax
jne 0x4433cf
inc esi
cmp esi, dword [ebp + 8]
jl 0x443387
cmp edi, ebx
je 0x4433bc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp edi, ebx
je 0x4433da
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x4433be
Function at 0x4483db
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x587d7f
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], eax
mov eax, dword [0x66cc08]
and dword [ebp - 4], 0
mov dword [esi + 0x10], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x18], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x1c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x20], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x24], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x28], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x2c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x30], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x48], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x58], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x70], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x74], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x78], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x7c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x80], eax
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 0xf
call fcn.00435a0d
push 0
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 0x10
call fcn.004ed1d0
mov ecx, esi
mov byte [ebp - 4], 0x11
mov dword [esi], 0x5a115c
call fcn.00447a87
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4484b3
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x587e4d
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x5a115c
lea edi, [esi + 0x168]
mov dword [ebp - 4], 0x10
mov ecx, edi
mov dword [edi], 0x59d698
call fcn.004ed2a0
mov ecx, edi
call fcn.004ed1f0
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 0xf
call fcn.00435d0d
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 0xe
call fcn.00568023
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0xd
call fcn.00568023
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xc
call fcn.00568023
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0xb
call fcn.00568023
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0xa
call fcn.00568023
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 9
call fcn.00568023
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 8
call fcn.00568023
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 7
call fcn.00568023
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 6
call fcn.00568023
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 5
call fcn.00568023
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call fcn.00568023
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call fcn.00568023
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 2
call fcn.00568023
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00568023
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.00568023
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4484be
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x587e4d
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x5a115c
lea edi, [esi + 0x168]
mov dword [ebp - 4], 0x10
mov ecx, edi
mov dword [edi], 0x59d698
call fcn.004ed2a0
mov ecx, edi
call fcn.004ed1f0
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 0xf
call fcn.00435d0d
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 0xe
call fcn.00568023
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0xd
call fcn.00568023
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xc
call fcn.00568023
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0xb
call fcn.00568023
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0xa
call fcn.00568023
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 9
call fcn.00568023
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 8
call fcn.00568023
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 7
call fcn.00568023
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 6
call fcn.00568023
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 5
call fcn.00568023
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call fcn.00568023
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call fcn.00568023
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 2
call fcn.00568023
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00568023
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.00568023
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x449275
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x588158
call fcn.00510fdc
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x449356
xor ebx, ebx
mov esi, 0x3e8
push dword [ebp + 0xc]
call fcn.00410569
cmp eax, 0xffffffff
pop ecx
jne 0x449356
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x449356
push dword [ebp + 0x10]
push esi
call fcn.004138c3
pop ecx
test eax, eax
pop ecx
jne 0x4492d5
add ebx, esi
cmp ebx, 0x1388
jl 0x44929d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x449322
push str.If_you_are_previewing_the_downloading_video_audio__please_stop_previewing__then_click_OK_button.
lea ecx, [ebp - 0x10]
call fcn.00568097
push 0x31
push 0x5dd740
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x449316
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00568023
push 1
pop eax
jmp 0x44935d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00568023
xor ebx, ebx
push dword [ebp + 0xc]
call fcn.00410569
cmp eax, 0xffffffff
pop ecx
jne 0x449356
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x449356
push dword [ebp + 0x10]
push esi
call fcn.004138c3
pop ecx
test eax, eax
pop ecx
jne 0x44935a
add ebx, esi
cmp ebx, 0x2710
jge 0x44935a
jmp 0x449324
xor eax, eax
jmp 0x44935d
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44936c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4493e8
push dword [ebp + 0x10]
call esi
xor ebx, ebx
test eax, eax
je 0x4493a6
cmp dword [ebp + 0x14], ebx
je 0x4493ed
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00449275
add esp, 0xc
test eax, eax
jl 0x4493ed
mov edi, 0x3e8
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041058d
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4493e4
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4493e8
push dword [ebp + 0x18]
push edi
call fcn.004138c3
pop ecx
test eax, eax
pop ecx
jne 0x4493ed
add ebx, edi
cmp ebx, 0x1388
jge 0x4493ed
jmp 0x4493ab
xor eax, eax
jmp 0x4493f0
push 0xfffffffffffffffe
pop eax
jmp 0x4493f0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret