joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64503a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x12c
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
cmp eax, 0x26
jne 0x64503ca3
cmp byte [ebx], 0x7b
jne 0x64503ca3
cmp byte [ebx + 9], 0x2d
jne 0x64503ca3
cmp byte [ebx + 0xe], 0x2d
jne 0x64503ca3
cmp byte [ebx + 0x13], 0x2d
jne 0x64503ca3
cmp byte [ebx + 0x18], 0x2d
jne 0x64503ca3
cmp byte [ebx + 0x25], 0x7d
jne 0x64503ca3
mov eax, 1
mov edi, 0x1084200
lea esi, [esi]
nop
cmp eax, 0x18
jle 0x64503c78
movzx edx, byte [ebx + eax]
lea ecx, [edx - 0x30]
cmp cl, 9
jbe 0x64503af4
and edx, 0xffffffdf
sub edx, 0x41
cmp dl, 5
ja 0x64503ca3
add eax, 1
cmp eax, 0x25
jne 0x64503ad0
test byte [0x64524028], 8
jne 0x64503cb3
lea edx, [ebp - 0x118]
xor eax, eax
mov ecx, 0x40
mov edi, edx
mov edx, 0xf0e
rep stosd dword es:[edi], eax
mov eax, 0xf0e
mov byte [ebp - 0xdf], 9
lea ecx, [ebx + 1]
mov dword [ebp - 0xe7], 0x4030201
mov dword [ebp - 0xe3], 0x8070605
mov dword [ebp - 0xd7], 0xd0c0b0a
mov word [ebp - 0xd3], ax
mov dword [ebp - 0xb7], 0xd0c0b0a
mov word [ebp - 0xb3], dx
mov edx, 4
movzx eax, byte [ecx]
movzx edi, byte [ecx + 1]
add ecx, 2
movzx eax, byte [ebp + eax - 0x118]
shl eax, 4
or al, byte [ebp + edi - 0x118]
mov byte [esi + edx - 1], al
sub edx, 1
jne 0x64503b69
movzx eax, byte [ebx + 0xa]
movzx edx, byte [ebx + 0xb]
movzx eax, byte [ebp + eax - 0x118]
shl eax, 4
or al, byte [ebp + edx - 0x118]
mov byte [esi + 5], al
movzx eax, byte [ebx + 0xc]
movzx edx, byte [ebx + 0xd]
movzx eax, byte [ebp + eax - 0x118]
shl eax, 4
or al, byte [ebp + edx - 0x118]
mov byte [esi + 4], al
movzx eax, byte [ebx + 0xf]
movzx edx, byte [ebx + 0x10]
movzx eax, byte [ebp + eax - 0x118]
shl eax, 4
or al, byte [ebp + edx - 0x118]
mov byte [esi + 7], al
movzx eax, byte [ebx + 0x11]
movzx edx, byte [ebx + 0x12]
movzx eax, byte [ebp + eax - 0x118]
shl eax, 4
or al, byte [ebp + edx - 0x118]
mov byte [esi + 6], al
movzx eax, byte [ebx + 0x14]
movzx edx, byte [ebx + 0x15]
movzx eax, byte [ebp + eax - 0x118]
shl eax, 4
or al, byte [ebp + edx - 0x118]
mov byte [esi + 8], al
movzx eax, byte [ebx + 0x16]
movzx edx, byte [ebx + 0x17]
movzx eax, byte [ebp + eax - 0x118]
shl eax, 4
or al, byte [ebp + edx - 0x118]
mov byte [esi + 9], al
xor eax, eax
nop
movzx edx, byte [ebx + eax*2 + 0x19]
movzx ecx, byte [ebx + eax*2 + 0x1a]
movzx edx, byte [ebp + edx - 0x118]
shl edx, 4
or dl, byte [ebp + ecx - 0x118]
mov byte [esi + eax + 0xa], dl
add eax, 1
cmp eax, 6
jne 0x64503c40
add esp, 0x12c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
bt edi, eax
jae 0x64503c88
add eax, 1
jmp 0x64503ad0
movzx edx, byte [ebx + eax]
lea ecx, [edx - 0x30]
cmp cl, 9
jbe 0x64503c7d
and edx, 0xffffffdf
sub edx, 0x41
cmp dl, 5
jbe 0x64503af4
add esp, 0x12c
mov eax, 0x800401f3
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._s_____p_n
mov dword [esp + 8], str.AVIFILE_CLSIDFromString
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
jmp 0x64503b09
Function at 0x64504120
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, 0x58
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
test byte [0x64524028], 8
jne 0x64504260
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x64504350
test edi, edi
je 0x64504350
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x24], eax
call eax
sub esp, 0x18
mov edx, eax
test eax, eax
jle 0x64504350
add eax, eax
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
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 0x6450435a
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov eax, dword [ebp - 0x20]
sub esp, 0x18
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.avifil32.dll_AVIFileOpenW
mov ecx, dword [ebp - 0x28]
sub esp, 0x10
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test esi, esi
je 0x64504340
mov eax, esi
shr eax, 0x10
je 0x64504320
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x64526364
mov dword [esp + 4], eax
call fcn.64503530
mov ebx, eax
mov eax, edi
call fcn.645037c0
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebp - 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__s_0x_08X__s__n
mov dword [esp + 8], 0x64526c90
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
jmp 0x64504152
movzx eax, si
mov dword [esp], 0x64526352
mov dword [esp + 4], eax
call fcn.64503530
mov ebx, eax
jmp 0x645042d7
mov ebx, 0x64526320
jmp 0x645042d7
mov esi, 0x8004406a
jmp 0x6450424c
mov esi, 0x80044067
jmp 0x6450424c
Function at 0x64504be0
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, 0x48
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov edi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
test byte [0x64524028], 8
jne 0x64504cb0
test esi, esi
je 0x64504d91
mov dword [esi], 0
test ebx, ebx
je 0x64504d87
mov dword [esp], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], sym.avifil32.dll_IID_IAVIStream
mov dword [esp + 8], 3
mov dword [esp + 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
mov ebx, eax
test eax, eax
js 0x64504c75
mov eax, dword [esi]
test eax, eax
je 0x64504c75
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [ecx + 0xc]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x64504c88
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov dword [esi], 0
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test ebx, ebx
je 0x64504d80
mov eax, ebx
shr eax, 0x10
je 0x64504d68
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], 0x64526364
mov dword [esp + 4], eax
call fcn.64503530
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p_0x_08lX_0x_08lX__s__n
mov dword [esp + 8], str.AVIStreamCreate
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
jmp 0x64504c0f
movzx eax, bx
mov dword [esp], 0x64526352
mov dword [esp + 4], eax
call fcn.64503530
jmp 0x64504d25
mov eax, 0x64526320
jmp 0x64504d25
mov ebx, 0x80044065
jmp 0x64504c75
mov ebx, 0x8004406a
jmp 0x64504c75
Function at 0x64504f70
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, 0x28
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x64524028], 8
jne 0x64504fc0
test ebx, ebx
je 0x64504ff2
mov eax, dword [ebx]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [eax + 0x14]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__ld_0x_lX__n
mov dword [esp + 8], str.AVIStreamFindSample
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
jmp 0x64504f95
mov eax, 0xffffffff
jmp 0x64504fac

Function at 0x64505000
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 ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
test byte [0x64524028], 8
jne 0x64505058
test ebx, ebx
je 0x64505094
mov eax, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [eax + 0x18]
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64526470
mov dword [esp + 8], str.AVIStreamReadFormat
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
mov dword [ebp - 0x1c], edx
call fcn.64503a10
mov edx, dword [ebp - 0x1c]
jmp 0x64505028
mov eax, 0x8004406c
jmp 0x64505043
Function at 0x64506620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test byte [0x64524028], 8
jne 0x64506678
mov eax, esi
shr eax, 0x1f
test edi, edi
sete dl
or dl, al
jne 0x645066b0
test ebx, ebx
je 0x645066b0
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.64518900
cmp eax, 1
mov dword [ebx], eax
sbb eax, eax
and eax, 0x80044067
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__d__p__n
mov dword [esp + 8], str.AVIMakeFileFromStreams
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
jmp 0x6450663e
mov eax, 0x8004406a
jmp 0x64506668
Function at 0x645066c0
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
mov ebx, ecx
push ecx
sub esp, 0x58
mov eax, dword [ebx + 0xc]
mov edi, dword [ecx]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ecx + 4]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
test byte [0x64524028], 8
jne 0x64506780
test edi, edi
je 0x64506890
test ecx, ecx
je 0x64506890
mov eax, dword [ebp - 0x2c]
mov dword [edi], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.avifil32.dll_AVIFileOpen
sub esp, 0x10
mov esi, eax
test eax, eax
js 0x6450676b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6450676b
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [esp + 0xc], edx
mov ebx, dword [ebx + 8]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp], eax
call dword [ecx + 0x10]
mov esi, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
test esi, esi
je 0x64506880
mov eax, esi
mov dword [ebp - 0x34], ecx
shr eax, 0x10
je 0x64506860
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x64526364
mov dword [esp + 4], eax
call fcn.64503530
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x34], ecx
call fcn.645037c0
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0xc], str.__p__s__4.4s__ld_0x_X__s__n
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 8], str.AVIStreamOpenFromFileA
mov dword [esp + 0x1c], edx
lea edx, [ebx + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
mov ecx, dword [ebp - 0x34]
jmp 0x645066fe
movzx eax, si
mov dword [esp], 0x64526352
mov dword [esp + 4], eax
call fcn.64503530
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x645067fe
mov dword [ebp - 0x38], 0x64526320
jmp 0x645067fe
mov esi, 0x8004406a
jmp 0x6450676b
Function at 0x645068a0
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
mov ebx, ecx
push ecx
sub esp, 0x58
mov eax, dword [ebx + 0xc]
mov edi, dword [ecx]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ecx + 4]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
test byte [0x64524028], 8
jne 0x64506960
test edi, edi
je 0x64506a70
test ecx, ecx
je 0x64506a70
mov eax, dword [ebp - 0x2c]
mov dword [edi], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.avifil32.dll_AVIFileOpenW
sub esp, 0x10
mov esi, eax
test eax, eax
js 0x6450694b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6450694b
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [esp + 0xc], edx
mov ebx, dword [ebx + 8]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp], eax
call dword [ecx + 0x10]
mov esi, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
test esi, esi
je 0x64506a60
mov eax, esi
mov dword [ebp - 0x34], ecx
shr eax, 0x10
je 0x64506a40
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x64526364
mov dword [esp + 4], eax
call fcn.64503530
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x34], ecx
call fcn.64503590
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0xc], str.__p__s__4.4s__ld_0x_X__s__n
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 8], str.AVIStreamOpenFromFileW
mov dword [esp + 0x1c], edx
lea edx, [ebx + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
mov ecx, dword [ebp - 0x34]
jmp 0x645068de
movzx eax, si
mov dword [esp], 0x64526352
mov dword [esp + 4], eax
call fcn.64503530
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x645069de
mov dword [ebp - 0x38], 0x64526320
jmp 0x645069de
mov esi, 0x8004406a
jmp 0x6450694b
Function at 0x645078e0
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, 0x38
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
test byte [0x64524028], 8
jne 0x645079e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x64507a1f
cmp esi, 1
jle 0x64507a18
xor edx, edx
lea ecx, [esi + esi]
mov word [eax], dx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
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 0x64507a26
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sym.avifil32.dll_AVIBuildFilterW
sub esp, 0xc
mov edi, eax
test eax, eax
js 0x645079aa
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
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_HeapFree]
sub esp, 0xc
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 + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p__ld__d__n
mov dword [esp + 8], str.AVIBuildFilterA
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
jmp 0x6450790c
mov edi, 0x8004406b
jmp 0x645079ce
mov edi, 0x8004406a
jmp 0x645079ce
mov edi, 0x80044067
jmp 0x645079ce
Function at 0x64507ce0
Capabilities:
Contain obfuscated stackstrings
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, 0x28
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x64524028], 8
jne 0x64507dd8
test esi, esi
js 0x64507e09
test ebx, ebx
je 0x64507e09
sub esi, 1
lea ebx, [ebx + esi*4]
mov edi, dword fs:[0x18]
cmp esi, 0xffffffff
je 0x64507dc1
lea esi, [esi]
mov eax, dword [ebx]
test eax, eax
je 0x64507db2
and dword [eax + 0x14], 0xfffffff7
mov eax, dword [ebx]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x64507d7b
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
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_HeapFree]
mov eax, dword [ebx]
sub esp, 0xc
mov dword [eax + 0x20], 0
mov eax, dword [ebx]
mov dword [eax + 0x24], 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x64507db2
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 dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx]
sub esp, 0xc
mov dword [eax + 0x18], 0
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0
sub esi, 1
sub ebx, 4
cmp esi, 0xffffffff
jne 0x64507d30
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__d__p__n
mov dword [esp + 8], str.AVISaveOptionsFree
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
jmp 0x64507d06
mov eax, 0x8004406a
jmp 0x64507dc3
Function at 0x645094f0
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, 0x58
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
test byte [0x64524028], 8
jne 0x64509658
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
test eax, eax
sete dl
test ecx, ecx
sete al
or dl, al
jne 0x645096b0
test esi, esi
je 0x645096b0
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x30], eax
call eax
sub esp, 0x18
mov edx, eax
test eax, eax
jle 0x645096b0
add eax, eax
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x34], edx
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 0x645096b7
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov eax, dword [ebp - 0x20]
sub esp, 0x18
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
call sym.avifil32.dll_AVISaveVW
sub esp, 0x18
mov esi, eax
mov dword [esp + 8], ebx
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]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov eax, esi
call fcn.645037c0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
mov dword [esp + 0xc], str.__s__p__p__d__p__p__n
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
mov edi, dword [ebp - 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edi
mov edi, dword [ebp - 0x2c]
mov dword [esp + 8], str.AVISaveVA
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x24]
mov dword [esp + 4], 0x64524028
mov dword [esp + 0x14], edi
mov dword [esp], 3
call fcn.64503a10
jmp 0x64509531
mov esi, 0x8004406a
jmp 0x64509643
mov esi, 0x80044067
jmp 0x64509643