joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5ecb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [esi], vtable.DSUtil::FilterTemplate.0
mov eax, dword [edi + 4]
sub eax, 0x10
lea ebx, [esi + 4]
push eax
mov dword [ebp - 0x10], ebx
call fcn.00402370
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
sub eax, 0x10
lea ebx, [esi + 8]
push eax
mov dword [ebp - 0x10], ebx
call fcn.00402370
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov eax, dword [edi + 0x38]
sub eax, 0x10
lea ebx, [esi + 0x38]
push eax
mov dword [ebp - 0x10], ebx
call fcn.00402370
add eax, 0x10
add esp, 0xc
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov cl, byte [edi + 0x3c]
lea ebx, [esi + 0x40]
mov byte [esi + 0x3c], cl
xor eax, eax
mov dword [ebx], vtable.CArray_class_DSUtil::PinTemplate__class_DSUtil::PinTemplate_const__.0
mov dword [ebx + 4], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov byte [ebp - 4], 6
mov dword [esi + 0x54], vtable.CArray_class_DSUtil::PinTemplate__class_DSUtil::PinTemplate_const__.0
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 7
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov ecx, dword [edi + 0x34]
cmp ecx, eax
je 0x4836ab
mov dword [esi + 0x34], ecx
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 4]
call ecx
lea ecx, [edi + 0x40]
cmp ebx, ecx
jne 0x4836b7
call fcn.0041d34a
mov eax, dword [ebx + 8]
mov ecx, dword [ecx + 8]
add ecx, eax
push ebx
mov dword [ebp - 0x10], eax
call fcn.00413bf0
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0x48]
mov ecx, eax
push edx
mov edx, dword [ebx + 4]
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
push eax
mov eax, dword [edi + 0x44]
call fcn.00413020
add edi, 0x54
lea ebx, [esi + 0x54]
cmp ebx, edi
jne 0x4836f4
call fcn.0041d34a
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 8]
add ecx, eax
push ebx
mov dword [ebp - 0x10], eax
call fcn.00413bf0
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 8]
mov edx, eax
shl edx, 4
sub edx, eax
mov eax, dword [ebx + 4]
push ecx
lea ecx, [eax + edx*4]
mov eax, dword [edi + 4]
push ecx
call fcn.00413020
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4847d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebae2
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x58bd90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x52b480
lea ecx, [esi + 4]
mov dword [esi], vtable.DSUtil::FilterTemplate.0
call fcn.00401830
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x52b484
lea ecx, [esi + 8]
call fcn.00401830
mov byte [ebp - 4], 1
mov eax, dword [0x54cfd4]
mov dword [esi + 0xc], eax
mov ecx, dword [0x54cfd8]
mov dword [esi + 0x10], ecx
mov edx, dword [0x54cfdc]
mov dword [esi + 0x14], edx
mov eax, dword [0x54cfe0]
mov dword [esi + 0x18], eax
mov ecx, dword [0x54cfd4]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x54cfd8]
mov dword [esi + 0x20], edx
mov eax, dword [0x54cfdc]
mov dword [esi + 0x24], eax
mov ecx, dword [0x54cfe0]
mov dword [esi + 0x28], ecx
push 0x52b488
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.00401830
mov byte [ebp - 4], 2
mov byte [esi + 0x3c], bl
mov eax, vtable.CArray_class_DSUtil::PinTemplate__class_DSUtil::PinTemplate_const__.0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov byte [ebp - 4], 4
mov dword [esi + 0x68], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x487360
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x58bd90]
xor eax, esp
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 8]
push ecx
push 0x50fb3c
push 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
push 0
push 0x554e88
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
or esi, 0xffffffff
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x48740b
mov eax, dword [esp + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
test eax, eax
jne 0x48740b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
push 0
push edi
mov dword [eax + 0xc], edx
call fcn.00485e30
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x48741b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
test eax, eax
je 0x48742b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
push edi
mov dword [eax + 0xc], edx
call fcn.004865f0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49a400
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58bd90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x160]
push ebx
push esi
push 0
push 0x9c
mov ecx, edi
call edx
test eax, eax
jne 0x49a439
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret
lea esi, [edi + 0x148]
call fcn.0047d4c0
xor esi, esi
push esi
push 0x2000000
lea ebx, [edi + 0x94]
push esi
mov ecx, ebx
call fcn.004258a5
push esi
push 0x10000
push esi
mov ecx, ebx
call fcn.004258d1
push 0x19
push 0x50
push esi
push esi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [edi + 0x238]
mov edx, dword [edx + 0x160]
push 0x419
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x238]
push 0x50000000
push 0x52f600
call edx
mov eax, dword [edi + 0x20]
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x31
push eax
call esi
push eax
call fcn.0041ede8
test eax, eax
je 0x49a4c9
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x258]
push 1
push eax
push 0x30
push ecx
call esi
mov edx, dword [edi + 0x2ac]
mov edx, dword [edx + 0x160]
push 0x41a
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x2ac]
push 0x50000000
push str.Remove
call edx
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x31
push eax
call esi
push eax
call fcn.0041ede8
test eax, eax
je 0x49a518
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x2cc]
push 1
push eax
push 0x30
push ecx
call esi
mov edx, dword [edi + 0x1c4]
mov edx, dword [edx + 0x160]
push 0x3fa
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x1c4]
push 0x50000000
push 0x52f618
call edx
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x31
push eax
call esi
push eax
call fcn.0041ede8
test eax, eax
je 0x49a567
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x1e4]
push 1
push eax
push 0x30
push ecx
call esi
push 2
push 0xfa
push 0x190
push 0
push 0
push 0
mov ecx, edi
call fcn.00425bca
push 0
call fcn.00456395
add esp, 4
push 0
push 0x12c
mov dword [edi + 0x32c], edx
mov edx, dword [edi + 0x20]
push 0
push edx
mov dword [edi + 0x328], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0045463b
mov esp, ebp
pop ebp
ret
Function at 0x4a3320
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x58bd90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4a3383
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4a3376
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045463b
mov esp, ebp
pop ebp
ret
Function at 0x4ae0e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersion]
call edi
movzx esi, al
call edi
shr eax, 8
movzx eax, al
cmp esi, 6
ja 0x4ae103
jne 0x4ae139
test eax, eax
je 0x4ae139
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x614]
add esi, 0x614
test eax, eax
je 0x4ae124
mov dword [esi], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
push 0x54c704
push 0x17
push 0
push 0x51ae3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x4bb8b0
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x4bb8e0
push esi
push edi
lea esp, [esp]
movzx edi, byte [ecx]
mov esi, eax
shr esi, 0x18
xor esi, edi
and esi, 0xff
shl eax, 8
xor eax, dword [esi*4 + 0x58db20]
inc ecx
dec edx
jne 0x4bb8c0
pop edi
pop esi
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
ret

Function at 0x4bbdd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x58bd90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0x10], 0
jne 0x4bbdf9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x808]
push edx
push 0x54db4c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x4bbe47
push eax
push str._CPATProcessor::SetupMPEGDeMux__::_QI_the_IMPEG2PIDMap_inf_on_PSI_out_pin_failed__X
mov ecx, 0x400
lea ebx, [ebp - 0x804]
call fcn.00407b90
add esp, 8
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x808]
test eax, eax
jne 0x4bbe6d
push str.CPATProcessor::SetupMPEGDeMux__::pIPmtPIDMap_is_null
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
cmp dword [esi + 0xfd4], edi
jle 0x4bbeaf
lea ebx, [esi + 0x804]
mov edi, edi
mov edx, dword [ebx]
mov dword [ebp - 0x80c], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x80c]
push edx
push 1
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
mov eax, dword [ebp - 0x808]
js 0x4bbecc
inc edi
add ebx, 4
cmp edi, dword [esi + 0xfd4]
jl 0x4bbe80
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045463b
mov esp, ebp
pop ebp
ret
Function at 0x4bbef0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x58bd90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x4bbf71
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x808]
push edx
push 0x54db4c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x4bbf5c
push ebx
push eax
push str.CPATProcessor::MapPmtPid__::_QI_the_IMPEG2PIDMap_inf_on_PSI_out_pin_failed__X
mov ecx, 0x400
lea ebx, [ebp - 0x804]
call fcn.00407b90
add esp, 8
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x808]
test eax, eax
jne 0x4bbf83
push str.CPATProcessor::MapPmtPid__::pIPmtPIDMap_is_null
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x80c], edx
mov ecx, dword [eax]
push 2
lea edx, [ebp - 0x80c]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov eax, dword [ebp - 0x808]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jns 0x4bbfc3
call edx
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 8
call edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0045463b
mov esp, ebp
pop ebp
ret 8
Function at 0x4bbfe0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x58bd90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x818], ecx
test eax, eax
jne 0x4bc013
mov eax, 0x80004003
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [ebp - 0x80c]
push ecx
push eax
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 0
call edx
test eax, eax
js 0x4bc1cb
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
push ebx
push esi
push edi
push 0
lea edx, [ebp - 0x808]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4bc1b5
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4bc070
mov eax, dword [ebp - 0x808]
mov ecx, dword [eax]
lea edx, [ebp - 0x820]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x4bc1d9
cmp dword [ebp - 0x820], 1
jne 0x4bc186
mov eax, dword [ebp - 0x808]
mov ecx, dword [eax]
lea edx, [ebp - 0x810]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
nop
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax]
lea edx, [ebp - 0x81c]
push edx
lea edx, [ebp - 0x814]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
js 0x4bc14c
cmp dword [ebp - 0x81c], 0
je 0x4bc14c
mov ecx, dword [ebp - 0x814]
push 0x554f78
push ecx
call fcn.004052b0
add esp, 8
test eax, eax
je 0x4bc0b0
mov eax, dword [ebp - 0x808]
mov ecx, dword [ebp - 0x818]
mov dword [ecx], eax
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x814]
call fcn.0047a1a0
push str.AM_MEDIA_TYPE.majortype_matches
call edi
mov eax, dword [ebp - 0x810]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x808]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
push str.IEnumMediaTypes::Next___failed__Error_0x_lx_
mov ecx, 0x400
lea ebx, [ebp - 0x804]
call fcn.00407b90
add esp, 8
mov ecx, ebx
push ecx
call edi
mov eax, dword [ebp - 0x810]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x808]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x808]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x4bc070
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x808]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4bc1b5
Function at 0x4bc440
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00459d20
mov eax, dword [0x58bd90]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, edx
movzx eax, word [esi + 1]
push edi
mov edi, ecx
mov ecx, eax
and ecx, 0xf
shl ecx, 8
shr eax, 8
or ecx, eax
cmp ecx, 0x3fd
jg 0x4bc5ed
movzx eax, word [esi + 1]
mov edx, eax
and edx, 0xf
shl edx, 8
shr eax, 8
or edx, eax
cmp edx, 5
jl 0x4bc5ed
mov al, byte [esi + 7]
cmp al, byte [esi + 6]
jb 0x4bc5ed
test byte [esi + 1], 0x80
je 0x4bc5ed
movzx eax, word [esi + 1]
mov ecx, eax
and ecx, 0xf
shl ecx, 8
shr eax, 8
or ecx, eax
sub ecx, 9
and ecx, 0x80000003
jns 0x4bc4cc
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x4bc5ed
cmp byte [esi], 0
jne 0x4bc5ed
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004bb8b0
test eax, eax
je 0x4bc5ed
push esi
lea esi, [ebp - 0x101c]
call fcn.004079c0
test eax, eax
je 0x4bc5ed
mov edx, dword [ebp - 0xff4]
mov eax, dword [ebp - 0x1010]
mov ecx, dword [edi + 0x30]
mov dword [edi], edx
mov edx, dword [ebp - 0x1008]
mov dword [edi + 4], eax
mov dword [edi + ecx*4 + 0x34], edx
inc dword [edi + 0x30]
cmp dword [ebp - 0xff0], 0
mov dword [ebp - 0x1020], 0
jle 0x4bc5b0
push str.add_new_program_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [ebp - 0x1020]
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x101c]
push eax
call fcn.00407930
mov esi, dword [ebp + ebx*8 - 0xfec]
mov edx, edi
call fcn.004bbb00
test eax, eax
jne 0x4bc5a1
mov esi, dword [ebp + ebx*8 - 0xfe8]
push esi
push str.map_new_pmt_pid__d_to_demux_output_pin_n
mov ecx, 0x400
lea ebx, [ebp - 0x80c]
call fcn.00407b90
add esp, 8
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
push edi
call fcn.004bbef0
test eax, eax
je 0x4bc5ed
mov ebx, dword [ebp - 0x1020]
inc ebx
mov dword [ebp - 0x1020], ebx
cmp ebx, dword [ebp - 0xff0]
jl 0x4bc535
mov edi, dword [edi + 8]
test edi, edi
je 0x4bc5bc
lea ecx, [edi + 0xc]
jmp 0x4bc5be
xor ecx, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4bc5d5
mov edx, dword [eax]
push ecx
push 0
push 0x8064
push eax
mov eax, dword [edx + 0xc]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045463b
mov esp, ebp
pop ebp
ret 4
Function at 0x4bc6c0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5058
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
push eax
mov dword [esi], 0xff
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [esi + 0x10]
mov dword [esi + 0x30], 0
mov dword [esi + 0xfd4], 0
call fcn.004bbfe0
mov ecx, dword [ebp + 0x14]
add esp, 4
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4bda90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9bc
mov eax, dword [0x58bd90]
xor eax, ebp
mov dword [ebp - 8], eax
movzx eax, word [esi + 1]
mov ecx, eax
and ecx, 0xf
shl ecx, 8
shr eax, 8
or ecx, eax
cmp ecx, 0x3fd
jg 0x4bdbc4
movzx eax, word [esi + 1]
mov edx, eax
and edx, 0xf
shl edx, 8
shr eax, 8
or edx, eax
cmp edx, 5
jl 0x4bdbc4
mov al, byte [esi + 7]
cmp al, byte [esi + 6]
jb 0x4bdbc4
test byte [esi + 1], 0x80
je 0x4bdbc4
movzx eax, word [esi + 0xa]
movzx ecx, word [esi + 1]
mov edx, eax
and edx, 0xf
shr eax, 8
shl edx, 8
or edx, eax
mov eax, ecx
and eax, 0xf
shl eax, 8
shr ecx, 8
add edx, 0xd
or eax, ecx
cmp eax, edx
jl 0x4bdbc4
cmp byte [esi], 2
jne 0x4bdbc4
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004bb8b0
test eax, eax
je 0x4bdbc4
push esi
lea ecx, [ebp - 0x9bc]
call fcn.00407630
test eax, eax
je 0x4bdbc4
mov ecx, dword [edi + 8]
mov edx, dword [ebp - 0x994]
mov dword [edi + ecx*8 + 0xc], edx
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x9b0]
mov dword [edi + eax*8 + 0x10], ecx
inc dword [edi + 8]
push str.add__update_pmt_section_to_programs_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x9bc]
call fcn.00407580
mov eax, dword [edi]
test eax, eax
je 0x4bdb89
lea ecx, [eax + 0xc]
jmp 0x4bdb8b
xor ecx, ecx
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4bdba2
mov edx, dword [eax]
push ecx
push 0
push 0x8064
push eax
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [edi]
lea ecx, [ebp - 0x9bc]
call fcn.004bd430
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045463b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
xor eax, eax
call fcn.0045463b
mov esp, ebp
pop ebp
ret 4