joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6450a8c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
mov edx, ecx
push esi
mov esi, eax
push ebx
sub esp, 0x2c
test eax, eax
je 0x6450aac0
cmp edi, 7
ja 0x6450a9b0
lea eax, [edi + 0x30]
mov ebx, dword [esi + eax*4]
test ebx, ebx
je 0x6450a9e1
mov dword [ebx], str.p_aQd
mov dword [ebx + 4], 0
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0xfc], 0xffffffff
mov dword [ebx + 0x100], 0xffffffff
test edx, edx
je 0x6450a99d
mov eax, dword [edx]
lea edi, [ebx + 0x14]
lea ecx, [ebx + 0x10]
mov esi, edx
and edi, 0xfffffffc
mov dword [ebx + 0x10], eax
sub ecx, edi
mov eax, dword [edx + 0xc8]
sub esi, ecx
add ecx, 0xcc
mov dword [ebx + 0xd8], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x6450aa68
mov eax, dword [edx + 0x48]
test eax, eax
jne 0x6450aa18
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x54], 1
test eax, eax
je 0x6450a99d
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x1c], 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x1c], edx
mov dword [esp + 8], 0x5d8
mov dword [esp + 4], str..._dlls_avifil32_avifile.c
mov dword [esp], str.nr___MAX_AVISTREAMS
call dword [sym.imp.ucrtbase.dll__assert]
lea eax, [edi + 0x30]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [esi + eax*4]
test ebx, ebx
jne 0x6450a8ee
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [esp + 8], 0x5d9
mov dword [esp + 4], str..._dlls_avifil32_avifile.c
mov dword [esp], str.paf__ppStreams_nr____NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [esi + eax*4]
jmp 0x6450a8ee
shl eax, 4
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 0x10c], eax
sub esp, 0xc
test eax, eax
je 0x6450a95e
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x48]
mov dword [ebx + 0x110], eax
jmp 0x6450a95e
shl eax, 4
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov dword [ebx + 0x104], eax
je 0x6450a953
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x108], eax
mov eax, dword [edx + 0x48]
test eax, eax
je 0x6450a95e
jmp 0x6450aa18
mov dword [ebp - 0x1c], ecx
mov dword [esp + 8], 0x5d7
mov dword [esp + 4], str..._dlls_avifil32_avifile.c
mov dword [esp], str.paf___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov edx, dword [ebp - 0x1c]
jmp 0x6450a8d7
Function at 0x64510c60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esp + 8], 0x128
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x64510cf3
test edi, edi
mov dword [eax], fcn.64510960
mov ebx, eax
cmove edi, eax
mov dword [eax + 4], 0x64527800
mov dword [eax + 8], 0x645277c0
mov dword [eax + 0x10], 1
mov dword [eax + 0xc], edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.64510960
mov esi, eax
mov eax, dword [ebx]
sub esp, 0xc
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, 0x80044067
jmp 0x64510ce9

Function at 0x64510da0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x18
mov edx, dword [ecx + 8]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test edx, edx
jne 0x64510e80
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x64510e38
xor edi, edi
test esi, esi
je 0x64510e23
mov eax, dword [esi]
lea edx, [ebx + 8]
mov dword [esp + 8], 0xcc
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x10]
mov eax, dword [esi]
sub esp, 0xc
mov dword [esp], esi
call dword [eax + 4]
mov eax, dword [ebx + 0xd4]
sub esp, 4
mov dword [eax], esi
mov eax, dword [ebx + 0xd4]
mov edx, dword [ebx + 0x24]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0xd4]
mov edx, dword [ebx + 0x28]
mov dword [eax + 8], edx
mov dword [ebx + 0xd8], 1
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 8], 0xc00
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 0xd4], eax
sub esp, 0xc
test eax, eax
je 0x64510e87
mov dword [ebx + 0xdc], 0x100
jmp 0x64510dce
mov edi, 0x800440c7
jmp 0x64510e23
mov edi, 0x80044067
jmp 0x64510e23

Function at 0x64510e90
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
mov eax, dword fs:[0x18]
sub esp, 0x10
mov dword [esp + 8], 0xf4
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64510ef5
mov dword [eax], 0x64527cc0
lea eax, [eax + 4]
mov dword [eax], 0x64527c80
mov dword [eax + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.64510da0
sub esp, 0xc
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x64510f00
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x4c
test edx, edx
je 0x64510f90
mov dword [esp], esi
lea edi, [ebp - 0x20]
call sym.avifil32.dll_AVIStreamStart
sub esp, 4
mov dword [ebp - 0x2c], eax
mov dword [esp], ebx
call sym.avifil32.dll_AVIStreamStart
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
sub esp, 4
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.avifil32.dll_AVIStreamReadFormat
sub esp, 0x10
test eax, eax
js 0x64510f7f
lea eax, [ebp - 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.avifil32.dll_AVIStreamReadFormat
sub esp, 0x10
test eax, eax
js 0x64510f7f
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x64510fb8
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xc7
mov dword [esp + 4], str..._dlls_avifil32_editstream.c
mov dword [esp], str.avi1___NULL__avi2___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x64510f11
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x3c], eax
call eax
mov dword [ebp - 0x34], eax
sub esp, 0xc
test eax, eax
je 0x64510f7f
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.avifil32.dll_AVIStreamReadFormat
sub esp, 0x10
test eax, eax
jns 0x64511060
xor ebx, ebx
xor esi, esi
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x34]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64511009
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
call sym.avifil32.dll_AVIStreamReadFormat
sub esp, 0x10
test eax, eax
js 0x6451100d
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], esi
xor ebx, ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.ucrtbase.dll_memcmp
test eax, eax
sete bl
jmp 0x6451100d
Function at 0x64513830
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
test ebx, ebx
je 0x64513970
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x64513948
test esi, esi
jle 0x64513920
mov eax, dword [ebx]
lea edi, [esi + 8]
test eax, eax
je 0x645138f0
mov ecx, dword [ebx + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
add ecx, edi
mov dword [esp + 0xc], ecx
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
test eax, eax
je 0x64513992
mov edx, dword [ebp + 0xc]
add edi, dword [ebx + 4]
mov dword [ebx], eax
add eax, dword [ebx + 4]
mov dword [ebx + 4], edi
mov dword [eax], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], esi
test edx, edx
je 0x645138bb
test esi, esi
jg 0x645138c8
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x10]
add eax, 8
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.ucrtbase.dll_memcpy
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
jmp 0x64513895
mov dword [esp + 8], 0x4d
mov dword [esp + 4], str..._dlls_avifil32_extrachunk.c
mov dword [esp], str.size___0
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6451385a
mov dword [esp + 8], 0x4c
mov dword [esp + 4], str..._dlls_avifil32_extrachunk.c
mov dword [esp], str.lpData___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x64513852
mov dword [esp + 8], 0x4b
mov dword [esp + 4], str..._dlls_avifil32_extrachunk.c
mov dword [esp], str.extra___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x64513847
mov eax, 0x80044067
jmp 0x645138bd
Function at 0x645139a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
test edi, edi
je 0x64513ac0
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x64513af0
test esi, esi
je 0x64513b18
mov eax, dword [esi + 4]
lea ebx, [eax + 9]
mov eax, dword [edi]
and ebx, 0xfffffffe
test eax, eax
je 0x64513a90
mov ecx, dword [edi + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
add ecx, ebx
mov dword [esp + 0xc], ecx
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
test eax, eax
je 0x64513b3a
mov dword [edi], eax
add ebx, dword [edi + 4]
add eax, dword [edi + 4]
mov dword [edi + 4], ebx
mov edx, eax
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x64513a40
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.winmm.dll_mmioSeek
sub esp, 0xc
cmp eax, 0xffffffff
je 0x64513a89
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], eax
lea eax, [edx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.winmm.dll_mmioRead
sub esp, 0xc
cmp eax, dword [esi + 4]
je 0x64513a31
mov eax, 0x8004406d
jmp 0x64513a33
mov dword [esp + 8], ebx
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
jmp 0x64513a0b
mov dword [esp + 8], 0x6c
mov dword [esp + 4], str..._dlls_avifil32_extrachunk.c
mov dword [esp], str.extra___NULL
call dword [sym.imp.ucrtbase.dll__assert]
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x645139c2
lea esi, [esi]
nop
mov dword [esp + 8], 0x6d
mov dword [esp + 4], str..._dlls_avifil32_extrachunk.c
mov dword [esp], str.hmmio___NULL
call dword [sym.imp.ucrtbase.dll__assert]
test esi, esi
jne 0x645139ca
lea esi, [esi]
mov dword [esp + 8], 0x6e
mov dword [esp + 4], str..._dlls_avifil32_extrachunk.c
mov dword [esp], str.lpck___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x645139ca
mov eax, 0x80044067
jmp 0x64513a33
Function at 0x645140a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x64524068], 8
jne 0x64514130
mov eax, dword [ebx]
cmp dword [0x6452fad8], eax
je 0x645140f0
mov eax, dword [ebx]
cmp dword [0x6452fac8], eax
je 0x645141e0
lea esp, [ebp - 0x10]
mov eax, 0x80004002
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebx + 4]
cmp dword [0x6452fadc], eax
jne 0x645140cf
mov eax, dword [ebx + 8]
cmp dword [0x6452fae0], eax
jne 0x645140cf
mov eax, dword [ebx + 0xc]
cmp dword [0x6452fae4], eax
jne 0x645140cf
mov dword [edi], esi
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 4]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test ebx, ebx
je 0x64514230
mov eax, ebx
shr eax, 0x10
je 0x64514218
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x64527df8
mov dword [esp + 4], eax
call fcn.64513e00
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64527e2b
mov dword [esp + 8], str.IClassFactory_fnQueryInterface
mov dword [esp + 4], 0x64524068
mov dword [esp], 3
call fcn.64513ec0
jmp 0x645140c5
mov eax, dword [ebx + 4]
cmp dword [0x6452facc], eax
jne 0x645140dd
mov eax, dword [ebx + 8]
cmp dword [0x6452fad0], eax
jne 0x645140dd
mov eax, dword [ebx + 0xc]
cmp dword [0x6452fad4], eax
jne 0x645140dd
jmp 0x64514111
movzx eax, bx
mov dword [esp], 0x64527de8
mov dword [esp + 4], eax
call fcn.64513e00
jmp 0x645141a5
mov eax, 0x64527de1
jmp 0x645141a5
Function at 0x64514810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov eax, dword [ecx + 8]
test byte [0x64524068], 8
jne 0x64514850
cmp ebx, 1
je 0x64514885
lea esp, [ebp - 0xc]
mov eax, 1
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__ld__p__n
mov dword [esp + 8], str.DllMain
mov dword [esp + 4], 0x64524068
mov dword [esp], 3
call fcn.64513ec0
cmp ebx, 1
jne 0x64514839
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DisableThreadLibraryCalls]
mov dword [0x64538014], esi
sub esp, 4
jmp 0x64514839

Function at 0x645148a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x10
mov eax, dword [eax + 0x24]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebx + 0x18], eax
je 0x645148e3
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov dword [ebx + 0x24], 0
mov eax, dword [ebx + 0x18]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x18], 0
sub esp, 0xc
test eax, eax
je 0x64514951
mov edx, dword [ebx + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test edx, edx
jne 0x64514960
mov dword [esp + 4], 0x400e
mov dword [esp], eax
call sub.msvfw32.dll_ICSendMessage
sub esp, 0x10
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call sub.msvfw32.dll_ICClose
mov dword [ebx + 0x2c], 0
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], 0x403f
mov dword [esp], eax
call sub.msvfw32.dll_ICSendMessage
sub esp, 0x10
jmp 0x6451493c

Function at 0x64515b90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
test esi, esi
je 0x64515c00
mov dword [esp + 8], 0x50
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64515bef
mov dword [eax], 0x6452812c
mov dword [eax + 4], 1
mov dword [eax + 0x20], 0xffffffff
mov dword [eax + 0xc], esi
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 4]
sub esp, 4
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x64517f50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x64518000
test ebx, ebx
je 0x64518000
mov dword [ebx], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], 0x11c
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64518050
mov dword [eax], str.PaQd
mov dword [eax + 0xe4], 0xffffffff
mov dword [eax + 0xe8], 0
mov dword [eax + 0xf0], 0x2710
mov dword [eax + 0xf8], 0
mov eax, dword [ebp + 8]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.64516150
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x64518028
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x2dc
mov dword [esp + 4], str..._dlls_avifil32_icmstream.c
mov dword [esp], str.riid___NULL__ppv___NULL
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x64517f6f
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 0x80044067
jmp 0x64517ff2
Function at 0x64518900
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov dword [ebp - 0xec], eax
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0xb8
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xf0], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64518b02
lea edi, [eax + 0xc]
lea ecx, [eax + 8]
mov dword [eax + 8], 0
and edi, 0xfffffffc
mov dword [eax], 0x64528760
sub ecx, edi
mov dword [eax + 4], 1
mov dword [eax + 0xb0], 0
add ecx, 0xac
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xf0]
lea eax, [ecx*4]
mov dword [ebx + 0x14], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
mov dword [ebx + 0xb4], eax
sub esp, 0xc
test eax, eax
je 0x64518b21
mov edx, dword [ebp + 8]
xor edi, edi
test edx, edx
jle 0x64518b02
mov edx, ebx
mov ebx, esi
jmp 0x64518a7e
imul eax, dword [edx + 0x28], 0x3e8
mov esi, dword [edx + 0x24]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xbc]
cmp dword [edx + 0x18], eax
jae 0x645189fe
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xec], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + edi*4]
mov dword [esp], eax
call sym.avifil32.dll_AVIStreamSampleToTime
mov ecx, dword [ebp - 0xf0]
sub esp, 8
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MulDiv]
mov edx, dword [ebp - 0xec]
sub esp, 0xc
cmp dword [edx + 0x2c], eax
jae 0x64518a44
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0xb0]
cmp dword [edx + 0x1c], eax
jae 0x64518a58
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
cmp dword [edx + 0x20], eax
jae 0x64518a6c
mov dword [edx + 0x20], eax
add edi, 1
cmp dword [ebp + 8], edi
je 0x64518b00
mov eax, dword [edx + 0xb4]
mov esi, dword [ebx + edi*4]
mov dword [ebp - 0xec], edx
mov dword [eax + edi*4], esi
mov dword [esp], esi
call sym.avifil32.dll_AVIStreamAddRef
lea eax, [ebp - 0xe4]
sub esp, 4
mov dword [esp + 8], 0xcc
mov dword [esp + 4], eax
mov eax, dword [ebx + edi*4]
mov dword [esp], eax
call sym.avifil32.dll_AVIStreamInfoW
mov edx, dword [ebp - 0xec]
sub esp, 0xc
test edi, edi
jne 0x645189e0
mov esi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0x24], esi
mov dword [edx + 0x28], eax
test esi, esi
je 0x64518add
test eax, eax
jne 0x64518b10
mov dword [edx + 0x24], 1
mov esi, 1
mov dword [edx + 0x28], 0x64
mov dword [ebp - 0xf0], 0x186a0
jmp 0x645189f0
mov ebx, edx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
imul eax, eax, 0x3e8
mov dword [ebp - 0xf0], eax
jmp 0x645189f0
mov eax, dword [ebp - 0xec]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x64518b02