joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d70ce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e60d8
push 0x4d8014
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x4d7154
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
je 0x4d712c
xor al, al
or dword [ebp - 4], 0xffffffff
jmp 0x4d715a
mov edx, dword [eax + 0xd8]
lea esi, [edx + ecx]
cmp dword [ebp + 0xc], esi
jb 0x4d7124
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x4d7124
mov al, 1
jmp 0x4d7126
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4d71b9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
mov esi, dword [0x5ee690]
test esi, esi
je 0x4d71dd
lea eax, [esp + 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
jmp 0x4d71c1
pop esi
pop ecx
ret

Function at 0x4d71e0
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5ee69c], eax
je 0x4d71f6
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x5ee6ac]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x4d7243
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x4d7234
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4d7234
push eax
call fcn.004d72aa
pop ecx
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.004d7f79
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4d7205
mov dword [0x5ee6ac], ebx
call fcn.004d7283
mov esi, dword [0x5ee6a8]
cmp esi, ebx
je 0x4d7270
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.004d7f79
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4d7258
pop edi
mov dword [0x5ee6a8], ebx
mov dword [0x5ee69c], ebx
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4d752d
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x5ee6a0]
push esi
test eax, eax
push edi
jne 0x4d7597
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x4d7595
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
jne 0x4d7559
push 8
pop edi
jmp 0x4d7574
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4d7585
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.004d7f79
pop ecx
and dword [0x5ee6a4], 0
mov dword [0x5ee6a0], edi
mov eax, edi
jmp 0x4d7597
mov dword [esi + 4], edi
mov eax, dword [0x5ee6a8]
mov dword [esi], eax
mov dword [0x5ee6a8], esi
xor eax, eax
pop edi
pop esi
ret 4
Function at 0x4d7854
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x7ff80000
mov ebx, 0x10000
jbe 0x4d7878
lea eax, [esi - 0x7ff80000]
mov dword [ebp + 8], eax
jmp 0x4d787b
mov dword [ebp + 8], ebx
cmp esi, 0x80000000
jae 0x4d788e
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x4d7895
mov dword [ebp - 4], 0xfff80000
mov eax, dword [0x5ee694]
mov ecx, dword [0x5ee690]
test eax, eax
jne 0x4d78af
test ecx, ecx
je 0x4d78c4
mov eax, ecx
mov dword [0x5ee694], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x4d78c4
cmp edx, dword [ebp + 8]
jb 0x4d78c4
cmp edx, dword [ebp - 4]
jbe 0x4d7a1d
mov eax, ecx
test ecx, ecx
mov dword [0x5ee694], eax
je 0x4d78f4
test eax, eax
je 0x4d78e8
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4d78e8
cmp ecx, dword [ebp + 8]
jb 0x4d78e8
cmp ecx, dword [ebp - 4]
jbe 0x4d7a1d
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x5ee694], eax
jne 0x4d78d3
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp + 8]
mov edi, esi
jbe 0x4d795c
cmp edi, 0x70000000
jb 0x4d7919
cmp edi, 0x80000000
ja 0x4d7919
mov edi, 0x6fff0000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4d795c
cmp dword [ebp - 0x10], ebx
jne 0x4d7934
cmp dword [ebp - 0x14], ebx
jae 0x4d7944
mov eax, dword [ebp - 0x1c]
lea edi, [eax - 0x10000]
cmp edi, dword [ebp + 8]
ja 0x4d7904
jmp 0x4d795c
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x5ee694], eax
jne 0x4d79d3
cmp esi, dword [ebp - 4]
jae 0x4d7a44
cmp esi, 0x70000000
jb 0x4d797a
cmp esi, 0x80000000
ja 0x4d797a
mov esi, 0x80010000
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4d7a44
cmp dword [ebp - 0x10], ebx
jne 0x4d79c8
cmp dword [ebp - 0x14], ebx
jb 0x4d79c8
mov ecx, esi
and ecx, 0xffff
je 0x4d79b0
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x14], eax
add dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x5ee694], eax
jne 0x4d79d3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
lea esi, [eax + ecx]
jmp 0x4d795c
mov dword [eax], 0x52727464
mov eax, dword [0x5ee694]
xor ecx, ecx
mov dword [eax + 8], ecx
mov eax, dword [0x5ee694]
mov edx, dword [0x5ee690]
mov dword [eax + 4], edx
mov eax, dword [0x5ee694]
mov dword [0x5ee690], eax
add eax, 0xffe0
mov edx, 0x7fd
mov dword [eax + 0x18], ecx
mov ecx, eax
sub eax, 0x20
dec edx
jne 0x4d7a05
mov eax, dword [0x5ee694]
mov dword [eax + 8], ecx
mov eax, dword [0x5ee694]
mov esi, dword [eax + 8]
cmp esi, dword [ebp + 8]
jb 0x4d7a44
cmp esi, dword [ebp - 4]
ja 0x4d7a44
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, esi
jmp 0x4d7a46
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d7a4b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e60e8
push 0x4d8014
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4d7ac0
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x5a4d
jne 0x4d7abc
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x4d7abc
cmp word [eax + 0x14], 0
jne 0x4d7ab1
xor eax, eax
or dword [ebp - 4], 0xffffffff
jmp 0x4d7ac2
mov eax, ecx
jmp 0x4d7aab
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x458160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
lea ecx, [ebp - 0x24]
mov esi, eax
push ebx
sub esp, 0x34
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], 0x55555555
mov dword [ebp - 0x20], 0x55555555
mov dword [ebp - 0x1c], 0x55555555
mov dword [ebp - 0x18], 0x55555555
mov dword [ebp - 0x14], 0x55555555
mov dword [ebp - 0x10], 0x55555555
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x26200a
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.gdiplus.dll_GdipBitmapLockBits
sub esp, 0x14
mov dword [ebp - 0x2c], eax
call fcn.0049bde0
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a76df
xor eax, eax
test edx, edx
sete al
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Expected__d__got__d_n
call fcn.004508d0
call fcn.0049bde0
mov dword [eax + 4], ebx
mov dword [eax], 0x4a76df
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], 0x10
cmp eax, 0x10
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.Expected__d__got__d_n
movzx eax, al
mov dword [esp], eax
call fcn.004508d0
call fcn.0049bde0
mov dword [eax + 4], ebx
mov dword [eax], 0x4a76df
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.Expected__d__got__d_n
movzx eax, al
mov dword [esp], eax
call fcn.004508d0
call fcn.0049bde0
mov dword [eax + 4], ebx
mov dword [eax], 0x4a76df
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], 0x40
cmp eax, 0x40
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.Expected__d__got__d_n
movzx eax, al
mov dword [esp], eax
call fcn.004508d0
call fcn.0049bde0
mov dword [eax + 4], ebx
mov dword [eax], 0x4a76df
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], 0x26200a
cmp eax, 0x26200a
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.Expected__d__got__d_n
movzx eax, al
mov dword [esp], eax
call fcn.004508d0
call fcn.0049bde0
mov dword [eax + 4], ebx
mov dword [eax], 0x4a76df
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 4], str.data_mismatch_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004508d0
lea ecx, [ebp - 0x24]
mov dword [esp], esi
mov dword [esp + 4], ecx
call sub.gdiplus.dll_GdipBitmapUnlockBits
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x49bd30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], 1
call dword [0x4a18e0]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x49df80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0049e070
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x417e10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc0
push esi
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [0x4c6adc]
push ecx
call sub.IMM32.dll_ImmGetContext
test esi, esi
mul byte [ebx + 0x4c6adc]
je 0x417e53
lea edx, [esp + 4]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
pop esi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xe]
mov eax, dword [esp + 0xc4]
and ecx, 0xffff
and edx, 0xffff
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa]
and ecx, 0xffff
and edx, 0xffff
mov dword [eax + 8], ecx
mov ecx, dword [esp + 6]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 4]
and ecx, 0xffff
and edx, 0xffff
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x14]
add edx, ecx
xor ecx, ecx
test edx, edx
mov edx, dword [eax + 0x20]
setl cl
shl ecx, 1
and edx, 0xfffffffd
or ecx, edx
or ecx, 1
mov dword [eax + 0x20], ecx
add esp, 0xc0
ret 4

Function at 0x47c50b
Capabilities:
Encode data using xor

Disassembly:
rol esi, cl
cmp byte [edx - 0x77], 0x8b
popfd
loopne 0x47c592
xor dword [edx - 0x1b5af1f3], edx
inc ecx
dec esp

Function at 0x4bb3b5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3390
cmp edx, dword [eax]
je 0x4bb3d7
add eax, 8
inc ecx
cmp eax, 0x4c3420
jl 0x4bb3c8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3390]
jne 0x4bb505
mov eax, dword [0x4c7d1c]
cmp eax, 1
je 0x4bb4df
test eax, eax
jne 0x4bb408
cmp dword [0x4c32b8], 1
je 0x4bb4df
cmp edx, 0xfc
je 0x4bb505
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb43f
lea eax, [ebp - 0x1a4]
push 0x4c0848
push eax
call fcn.004bbda0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc230
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb482
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc230
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c0844
push edi
call fcn.004be100
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0828
push eax
call fcn.004bbda0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbdb0
lea eax, [ebp - 0xa0]
push 0x4c0824
push eax
call fcn.004bbdb0
push dword [esi + 0x4c3394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbdb0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c07fc
push eax
call fcn.004be074
add esp, 0x2c
pop edi
jmp 0x4bb505
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3394]
push 0
push eax
push dword [esi]
call fcn.004bc230
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1003655e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push 2
lea ebx, [esi + 0x2c]
push ebx
mov dword [ebp - 0xc], ebx
call fcn.100a8755
mov dword [ebp + 8], eax
pop ecx
pop ecx
cmp eax, 1
jle 0x1003659e
push eax
push str.illegal_residual_coding_method__d_n
push 0x10
push dword [esi + 0x28]
call fcn.1006b450
add esp, 0x10
mov eax, 0xbebbb1b7
jmp 0x100366ca
push 4
push ebx
call fcn.100a8755
mov ebx, dword [esi + 0x40]
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 8], eax
sar ebx, cl
mov edx, ebx
mov dword [ebp - 4], ebx
shl edx, cl
cmp edx, dword [esi + 0x40]
je 0x100365d6
push dword [esi + 0x40]
push eax
push str.invalid_rice_order:__i_blocksize__i_n
push 0x10
push dword [esi + 0x28]
call fcn.1006b450
add esp, 0x14
jmp 0x10036594
push edi
mov edi, dword [ebp + 0x10]
cmp edi, ebx
jle 0x100365fc
push ebx
push edi
push str.invalid_predictor_order:__i____i_n
push 0x10
push dword [esi + 0x28]
call fcn.1006b450
add esp, 0x14
mov eax, 0xbebbb1b7
jmp 0x100366c9
mov edx, dword [ebp + 8]
xor eax, eax
inc eax
add edx, 4
mov ecx, edx
mov dword [ebp - 0x18], edx
shl eax, cl
mov ecx, dword [ebp - 8]
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + edi*4]
mov dword [ebp + 8], eax
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp - 8], eax
test eax, eax
jle 0x100366c7
mov esi, dword [ebp - 0xc]
push edx
push esi
call fcn.100a8755
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 0x10]
jne 0x10036679
push 5
push esi
call fcn.100a8755
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp edi, ebx
jge 0x100366b8
mov eax, ebx
mov ebx, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 0xc], eax
mov edi, eax
push ecx
push esi
call fcn.10036d84
pop ecx
mov dword [ebx], eax
add ebx, 4
pop ecx
mov ecx, dword [ebp - 0x14]
sub edi, 1
jne 0x10036661
jmp 0x100366b2
cmp edi, ebx
jge 0x100366b8
mov eax, ebx
mov ebx, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 0x14], eax
mov edi, eax
push 0
push 0x7fffffff
push ecx
push esi
call fcn.10036daa
mov ecx, eax
add esp, 0x10
and eax, 1
shr ecx, 1
neg eax
xor ecx, eax
mov dword [ebx], ecx
add ebx, 4
mov ecx, dword [ebp - 0xc]
sub edi, 1
jne 0x10036689
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
xor edi, edi
sub dword [ebp - 8], 1
jne 0x1003662f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003ffda
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x28
call fcn.1006c3c1
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x1003fff5
push 0xfffffffffffffff4
pop eax
jmp 0x100400ad
mov dword [eax], str.AVBSFContext
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [eax + 4], esi
call fcn.1003b6fa
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
call fcn.1003b6fa
mov ecx, dword [ebp - 4]
xor edi, edi
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], edi
je 0x1004009e
cmp dword [eax + 0x14], edi
je 0x1004009e
push 8
call fcn.1006c3c1
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], edi
je 0x1004009e
call fcn.1003ea1d
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
cmp dword [eax], edi
je 0x1004009e
push ecx
call fcn.1006d095
pop ecx
cmp dword [esi + 0xc], edi
je 0x10040092
push dword [esi + 0xc]
call fcn.1006c3c1
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1004009e
mov eax, dword [esi + 8]
test eax, eax
je 0x10040092
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call fcn.1006d095
pop ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
xor eax, eax
jmp 0x100400ab
lea eax, [ebp - 4]
push eax
call fcn.100400b1
pop ecx
push 0xfffffffffffffff4
pop eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100438be
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
push 0x44
xor edi, edi
push edi
push esi
call fcn.10134340
mov ecx, dword [ebp + 0xc]
xor eax, eax
push dword [ebp + 0x10]
inc eax
mov dword [esi + 0x14], ecx
mov dword [esp + 0x24], eax
shl eax, cl
mov dword [esp + 0x20], eax
mov dword [esi + 0x10], eax
sar eax, 2
mov dword [esp + 0x1c], eax
lea eax, [ecx - 2]
push eax
push esi
mov dword [esi + 0x3c], edi
call fcn.100409e1
add esp, 0x18
test eax, eax
js 0x10043a4f
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x1fffffff
jb 0x10043923
mov eax, edi
jmp 0x1004392d
shl eax, 2
push eax
call sym.ffmpeg.dll_av_malloc
pop ecx
mov dword [esi + 0x18], eax
test eax, eax
je 0x10043a4f
mov ecx, dword [esi + 0x3c]
sub ecx, edi
je 0x10043959
sub ecx, 1
jne 0x10043a4f
mov ecx, dword [esp + 0xc]
add eax, 4
mov dword [esp + 0x14], 2
jmp 0x10043960
mov ecx, dword [esp + 0xc]
lea eax, [eax + ecx*4]
movsd xmm0, qword [ebp + 0x14]
xorps xmm1, xmm1
mov dword [esi + 0x1c], eax
xor eax, eax
comisd xmm1, xmm0
andps xmm0, xmmword [0x1015f680]
cmova eax, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [0x1015f678]
movsd qword [esp + 0x20], xmm1
call fcn.10139690
movsd qword [esp + 0x18], xmm0
cmp dword [esp + 0xc], edi
jle 0x10043a4b
movd xmm1, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cvtdq2pd xmm1, xmm1
shl eax, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
movsd qword [esp + 0x30], xmm1
movd xmm0, edi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [esp + 0x20]
mulsd xmm0, qword [0x1015d820]
divsd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
call fcn.10139300
mulsd xmm0, qword [esp + 0x18]
xorps xmm1, xmm1
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x10]
xorps xmm0, xmmword [0x1015f690]
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x28]
movss dword [ecx + eax], xmm1
call fcn.101394c0
mulsd xmm0, qword [esp + 0x18]
inc edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x1c]
movsd xmm1, qword [esp + 0x30]
xorps xmm0, xmmword [0x1015f690]
cvtsd2ss xmm0, xmm0
movss dword [ecx + eax], xmm0
add ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
cmp edi, dword [esp + 0xc]
jl 0x100439c5
xor eax, eax
jmp 0x10043a59
push esi
call fcn.100438a3
pop ecx
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10043ed5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 0x3e0
push ebx
push esi
call fcn.10134340
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi], str.AVCodecContext
test edi, edi
je 0x10043f01
mov ecx, dword [edi + 8]
jmp 0x10043f04
or ecx, 0xffffffff
mov dword [esi + 8], ecx
test edi, edi
je 0x10043f14
mov dword [esi + 0xc], edi
mov eax, dword [edi + 0xc]
mov dword [esi + 0x30], eax
cmp ecx, 1
jne 0x10043f1d
push 8
jmp 0x10043f23
test ecx, ecx
jne 0x10043f26
push 0x10
pop eax
jmp 0x10043f31
push 0x20
cmp ecx, 3
mov eax, ebx
pop edx
cmove eax, edx
push eax
push eax
push esi
call fcn.1006d0a9
or dword [esi + 0x90], 0xffffffff
xor eax, eax
or dword [esi + 0x1a8], 0xffffffff
inc eax
add esp, 0xc
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], eax
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], eax
mov dword [esi + 0x1d8], 0x1003a7db
mov dword [esi + 0x9c], 0x1003a836
mov dword [esi + 0x330], fcn.1003a773
mov dword [esi + 0x334], 0x1003a7a8
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], eax
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], 0x80000000
test edi, edi
je 0x10043fee
cmp dword [edi + 0x34], ebx
je 0x10043fe7
cmp dword [esi + 0x3c], ebx
jne 0x10043fd2
push dword [edi + 0x34]
call fcn.1006c3c1
mov dword [esi + 0x3c], eax
pop ecx
test eax, eax
jne 0x10043fd2
push 0xfffffffffffffff4
pop eax
jmp 0x10043ff0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x10043fe7
mov eax, dword [esi + 0x3c]
mov dword [eax], ecx
push dword [esi + 0x3c]
call fcn.1006d095
pop ecx
mov edi, dword [edi + 0x44]
test edi, edi
jne 0x1004400a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push ebx
push dword [edi + 4]
push eax
push esi
call fcn.1006ce04
add esp, 0x10
test eax, eax
js 0x10044012
add edi, 8
mov eax, dword [edi]
test eax, eax
jne 0x10043ff5
jmp 0x10043fee
push 0x8e
push str.c:userselectronworkspacelibchromiumcontent_win_ia32_src_third_party_ffmpeglibavcodecoptions.c
push str.ret___0
push str.Assertion__s_failed_at__s:_d_n
push ebx
push ebx
call fcn.1006b450
add esp, 0x18
call fcn.10136f67
int3