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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018e32b
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x101fc010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [esi + 8]
mov dword [esi + 0x28], ecx
lea eax, [esi + 0x30]
mov dword [esi + 0x2c], eax
mov dword [eax + 4], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi], 0x42ff0000
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov dword [esi + 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x24], 0
test ebx, ebx
je 0x10102ee4
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx]
and eax, 0xfff
or eax, 0x42ff0000
mov dword [esi], eax
mov edi, dword [ebx + 4]
test edi, edi
jle 0x10102e3c
lea ecx, [ebx + 0x18]
mov edi, edi
mov eax, dword [ecx - 4]
lea ecx, [ecx + 8]
mov dword [ebp + edx*4 - 0x90], eax
mov eax, dword [ecx - 8]
mov dword [ebp + edx*4 - 0x110], eax
inc edx
cmp edx, edi
jl 0x10102e20
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x90]
push eax
push edi
push esi
call fcn.1011d8a0
push esi
call fcn.10110e20
add esp, 0x18
cmp byte [ebp + 0xc], 0
je 0x10102ee4
push esi
lea ecx, [ebp - 0x148]
call sym.opencv_core249.dll_public:_void___thiscall_cv::Mat::constructor_class_cv::Mat_const__
mov dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x158], 0x10000
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - method.cv::_InputArray.virtual_0], vtable.cv::_OutputArray.0
call sym.opencv_core249.dll_public:_void___thiscall_cv::Mat::copyTo_class_cv::_OutputArray_const__const
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call sym.opencv_core249.dll_public:_void___thiscall_cv::Mat::release_void_
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
cmp eax, ecx
je 0x10102ee4
push eax
call sym.opencv_core249.dll_void___cdecl_cv::fastFree_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10176850
mov esp, ebp
pop ebp
ret 8
Function at 0x101138b0
Capabilities:
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 4]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test edx, edx
jne 0x101138c7
xor eax, eax
pop esi
pop ebp
ret 4
mov edx, dword [edx + 4]
mov ecx, 1
cmp edx, ecx
jle 0x101138e1
imul eax, eax, 0x5bd1e995
add eax, dword [esi + ecx*4]
inc ecx
cmp ecx, edx
jl 0x101138d3
pop esi
pop ebp
ret 4
Function at 0x1014e040
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x9c0], 0x270
jl 0x1014e10b
xor edx, edx
jmp 0x1014e060
mov ecx, dword [esi + edx*4 + 4]
xor ecx, dword [esi + edx*4]
and ecx, 0x7fffffff
xor ecx, dword [esi + edx*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x101f8ad0]
xor ecx, dword [esi + edx*4 + 0x634]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, 0xe3
jl 0x1014e060
cmp edx, 0x26f
jge 0x1014e0d1
lea esp, [esp]
mov ecx, dword [esi + edx*4 + 4]
xor ecx, dword [esi + edx*4]
and ecx, 0x7fffffff
xor ecx, dword [esi + edx*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x101f8ad0]
xor ecx, dword [esi + edx*4 - 0x38c]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, 0x26f
jl 0x1014e0a0
mov ecx, dword [esi]
xor ecx, dword [esi + 0x9bc]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [eax*4 + 0x101f8ad0]
xor eax, dword [esi + 0x630]
xor eax, ecx
mov dword [esi + 0x9bc], eax
mov dword [esi + 0x9c0], 0
mov eax, dword [esi + 0x9c0]
mov ecx, dword [esi + eax*4]
inc eax
mov dword [esi + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret
Function at 0x1014eaa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 0x9c0], 1
push esi
mov esi, dword [ecx + 0x9c0]
mov edx, dword [ecx + esi*4 - 4]
shr edx, 0x1e
xor edx, dword [ecx + esi*4 - 4]
imul eax, edx, 0x6c078965
add eax, esi
mov dword [ecx + esi*4], eax
inc dword [ecx + 0x9c0]
cmp dword [ecx + 0x9c0], 0x270
jl 0x1014eab3
pop esi
pop ebp
ret 4
Function at 0x1014eaf0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10196b01
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x101fc010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101f8a68]
cmp eax, 0xffffffff
jne 0x1014ec2e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x101f8a68], eax
cmp eax, 0xffffffff
jne 0x1014ec2e
push str.E:opencv_2.4.9modulescore_src_rand.cpp
lea ecx, [ebp - 0x58]
call fcn.10005380
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push str.cv::theRNG
call fcn.10005380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push str.tlsRNGKey___TLS_OUT_OF_INDEXES
call fcn.10005380
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push 0x2fe
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
push 0xffffff29
lea ecx, [ebp - 0xcc]
call sym.opencv_core249.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov byte [ebp - 4], 3
push eax
call sym.opencv_core249.dll_void___cdecl_cv::error_class_cv::Exception_const__
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call sym.opencv_core249.dll_public_virtual:_void___thiscall_cv::Exception::destructor_void_
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0x10
jb 0x1014ebc6
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
jb 0x1014ebed
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0x10
jb 0x1014ec17
push dword [ebp - 0x58]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x101f8a68]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1014ec7d
push 8
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp - 0xd0], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x1014ec65
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0
jmp 0x1014ec67
xor esi, esi
mov dword [ebp - 4], 0xffffffff
push esi
push dword [0x101f8a68]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10176850
mov esp, ebp
pop ebp
ret
Function at 0x101530f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
jle 0x1015313e
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp + 8], eax
mov edi, edi
movsx ecx, byte [eax + edi]
lea edi, [edi + 1]
movsx eax, byte [edi - 1]
sub ecx, eax
mov eax, ecx
lea ecx, [ebp + 0x10]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 4]
cmp esi, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
cmovge ecx, edx
mov esi, dword [ecx]
mov dword [ebp - 4], esi
dec ebx
jne 0x10153110
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10153150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 4], esi
test ebx, ebx
jle 0x10153189
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
movsx eax, byte [edi + eax]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 4]
cmp esi, eax
mov dword [ebp + 0xc], eax
cmovge ecx, edx
inc edi
mov esi, dword [ecx]
mov dword [ebp - 4], esi
cmp edi, ebx
jl 0x10153165
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101531a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
jle 0x101531ee
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp + 8], eax
mov edi, edi
movzx ecx, byte [eax + edi]
lea edi, [edi + 1]
movzx eax, byte [edi - 1]
sub ecx, eax
mov eax, ecx
lea ecx, [ebp + 0x10]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 4]
cmp esi, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
cmovge ecx, edx
mov esi, dword [ecx]
mov dword [ebp - 4], esi
dec ebx
jne 0x101531c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10153250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
jle 0x1015329e
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp + 8], eax
mov edi, edi
movsx ecx, word [eax + edi]
lea edi, [edi + 2]
movsx eax, word [edi - 2]
sub ecx, eax
mov eax, ecx
lea ecx, [ebp + 0x10]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 4]
cmp esi, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
cmovge ecx, edx
mov esi, dword [ecx]
mov dword [ebp - 4], esi
dec ebx
jne 0x10153270
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101532b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 4], esi
test ebx, ebx
jle 0x101532e9
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
movsx eax, word [eax + edi*2]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 4]
cmp esi, eax
mov dword [ebp + 0xc], eax
cmovge ecx, edx
inc edi
mov esi, dword [ecx]
mov dword [ebp - 4], esi
cmp edi, ebx
jl 0x101532c5
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10153300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
jle 0x1015334e
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp + 8], eax
mov edi, edi
movzx ecx, word [eax + edi]
lea edi, [edi + 2]
movzx eax, word [edi - 2]
sub ecx, eax
mov eax, ecx
lea ecx, [ebp + 0x10]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 4]
cmp esi, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
cmovge ecx, edx
mov esi, dword [ecx]
mov dword [ebp - 4], esi
dec ebx
jne 0x10153320
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101533b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
jle 0x101533f7
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp + 8], eax
mov edi, edi
mov eax, dword [eax + edi]
lea ecx, [ebp + 0x10]
sub eax, dword [edi]
lea edi, [edi + 4]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 4]
cmp esi, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
cmovge ecx, edx
mov esi, dword [ecx]
mov dword [ebp - 4], esi
dec ebx
jne 0x101533d0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10153400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 4], esi
test ebx, ebx
jle 0x1015343a
mov eax, dword [ebp + 8]
mov eax, dword [eax + edi*4]
cdq
mov ecx, eax
lea eax, [ebp + 0xc]
xor ecx, edx
sub ecx, edx
lea edx, [ebp - 4]
cmp esi, ecx
mov dword [ebp + 0xc], ecx
cmovge eax, edx
inc edi
mov esi, dword [eax]
mov dword [ebp - 4], esi
cmp edi, ebx
jl 0x10153415
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101542a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
push edi
xor edi, edi
lea eax, [ebx - 4]
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
test eax, eax
js 0x101542ff
mov ebx, dword [ebp + 8]
movsx eax, byte [ebx + ecx]
cdq
mov esi, eax
movsx eax, byte [ebx + ecx + 1]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
add esi, eax
movsx eax, byte [ebx + ecx + 3]
cdq
xor eax, edx
sub eax, edx
add esi, eax
movsx eax, byte [ebx + ecx + 2]
cdq
add ecx, 4
xor eax, edx
sub eax, edx
add edi, eax
add edi, esi
cmp ecx, dword [ebp - 8]
jle 0x101542c0
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
mov eax, ebx
sub eax, ecx
cmp ecx, ebx
jge 0x10154385
cmp eax, 8
jb 0x10154385
cmp dword [0x101fe438], 2
jl 0x10154385
and eax, 0x80000007
jns 0x10154321
dec eax
or eax, 0xfffffff8
inc eax
mov edx, ebx
xorps xmm2, xmm2
sub edx, eax
movdqa xmm1, xmm2
mov eax, dword [ebp + 8]
nop
movd xmm0, dword [eax + ecx]
pmovsxbd xmm0, xmm0
pabsd xmm0, xmm0
paddd xmm2, xmm0
movd xmm0, dword [eax + ecx + 4]
pmovsxbd xmm0, xmm0
add ecx, 8
pabsd xmm0, xmm0
paddd xmm1, xmm0
cmp ecx, edx
jl 0x10154330
paddd xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add edi, eax
mov dword [ebp - 4], edi
xor esi, esi
mov dword [ebp - 8], esi
cmp ecx, ebx
jge 0x101543ea
mov eax, ebx
sub eax, ecx
cmp eax, 2
jl 0x101543ca
mov edi, dword [ebp + 8]
lea eax, [ebx - 1]
mov dword [ebp - 8], eax
xor ebx, ebx
movsx eax, byte [edi + ecx]
cdq
xor eax, edx
sub eax, edx
add esi, eax
movsx eax, byte [edi + ecx + 1]
cdq
add ecx, 2
xor eax, edx
sub eax, edx
add ebx, eax
cmp ecx, dword [ebp - 8]
jl 0x101543a2
mov edi, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp ecx, ebx
jge 0x101543dc
mov eax, dword [ebp + 8]
movsx eax, byte [ecx + eax]
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [ebp - 8]
add eax, esi
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10154960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
push edi
xor edi, edi
lea edx, [ebx - 4]
mov dword [ebp - 4], edi
test edx, edx
js 0x101549cf
mov eax, dword [ebp + 8]
lea ebx, [edx + 4]
add eax, 4
shr ebx, 2
lea ecx, [ebx*4]
mov dword [ebp - 8], ecx
mov ecx, eax
movsx eax, word [ecx - 4]
lea ecx, [ecx + 8]
cdq
mov esi, eax
movsx eax, word [ecx - 0xa]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
add esi, eax
movsx eax, word [ecx - 6]
cdq
xor eax, edx
sub eax, edx
add esi, eax
movsx eax, word [ecx - 8]
cdq
xor eax, edx
sub eax, edx
add edi, eax
add edi, esi
dec ebx
jne 0x10154992
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
mov eax, ebx
sub eax, ecx
cmp ecx, ebx
jge 0x10154a68
cmp eax, 8
jb 0x10154a68
cmp dword [0x101fe438], 2
jl 0x10154a68
and eax, 0x80000007
jns 0x101549f9
dec eax
or eax, 0xfffffff8
inc eax
mov esi, dword [ebp + 8]
mov edx, ebx
xorps xmm2, xmm2
sub edx, eax
movdqa xmm1, xmm2
lea eax, [esi + ecx*2]
lea ebx, [ebx]
movq xmm0, qword [eax]
lea eax, [eax + 0x10]
pmovsxwd xmm0, xmm0
pabsd xmm0, xmm0
add ecx, 8
paddd xmm2, xmm0
movq xmm0, qword [eax - 8]
pmovsxwd xmm0, xmm0
pabsd xmm0, xmm0
paddd xmm1, xmm0
cmp ecx, edx
jl 0x10154a10
paddd xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add edi, eax
mov dword [ebp - 4], edi
jmp 0x10154a6b
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp ecx, ebx
jge 0x10154ad9
mov eax, ebx
sub eax, ecx
cmp eax, 2
jl 0x10154abb
lea eax, [ebx - 1]
xor ebx, ebx
mov dword [ebp - 0xc], eax
xor edi, edi
movsx eax, word [esi + ecx*2]
cdq
xor eax, edx
sub eax, edx
add ebx, eax
movsx eax, word [esi + ecx*2 + 2]
cdq
add ecx, 2
xor eax, edx
sub eax, edx
add edi, eax
cmp ecx, dword [ebp - 0xc]
jl 0x10154a90
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp ecx, ebx
jge 0x10154aca
movsx eax, word [esi + ecx*2]
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10155030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
xorps xmm2, xmm2
push esi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
push edi
movsd qword [ebp - 8], xmm2
lea edi, [esi - 4]
test edi, edi
js 0x101550bf
add edi, 4
lea eax, [ebx + 8]
shr edi, 2
mov ebx, eax
lea ecx, [edi*4]
mov eax, dword [ebx - 8]
cdq
xor eax, edx
sub eax, edx
movd xmm1, eax
mov eax, dword [ebx - 4]
cdq
xor eax, edx
sub eax, edx
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebx]
cdq
cvtdq2pd xmm0, xmm0
xor eax, edx
sub eax, edx
addsd xmm1, xmm0
movd xmm0, eax
mov eax, dword [ebx + 4]
add ebx, 0x10
cvtdq2pd xmm0, xmm0
cdq
xor eax, edx
sub eax, edx
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
addsd xmm2, xmm1
dec edi
jne 0x10155062
mov ebx, dword [ebp + 8]
movsd qword [ebp - 8], xmm2
mov eax, esi
sub eax, ecx
cmp ecx, esi
jge 0x101551e0
cmp eax, 4
jb 0x10155137
cmp dword [0x101fe438], 2
jl 0x10155137
and eax, 0x80000003
jns 0x101550e5
dec eax
or eax, 0xfffffffc
inc eax
mov edx, esi
xorps xmm3, xmm3
sub edx, eax
movaps xmm1, xmm3
lea eax, [ebx + ecx*4]
movq xmm0, qword [eax]
add ecx, 4
pabsd xmm0, xmm0
cvtdq2pd xmm0, xmm0
addpd xmm3, xmm0
movq xmm0, qword [eax + 8]
add eax, 0x10
pabsd xmm0, xmm0
cvtdq2pd xmm0, xmm0
addpd xmm1, xmm0
cmp ecx, edx
jl 0x101550f2
addpd xmm1, xmm3
movaps xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm1, xmm0
addsd xmm2, xmm1
movsd qword [ebp - 8], xmm2
cmp ecx, esi
jge 0x101551e0
mov eax, esi
sub eax, ecx
cmp eax, 4
jl 0x101551be
mov edi, esi
lea eax, [ebx + 8]
sub edi, ecx
lea eax, [eax + ecx*4]
sub edi, 4
mov dword [ebp + 0xc], eax
shr edi, 2
mov ebx, eax
inc edi
lea ecx, [ecx + edi*4]
mov eax, dword [ebx - 8]
cdq
xor eax, edx
sub eax, edx
movd xmm1, eax
mov eax, dword [ebx - 4]
cdq
xor eax, edx
sub eax, edx
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebx]
addsd xmm2, xmm1
cdq
cvtdq2pd xmm0, xmm0
xor eax, edx
sub eax, edx
addsd xmm2, xmm0
movd xmm0, eax
mov eax, dword [ebx + 4]
add ebx, 0x10
cvtdq2pd xmm0, xmm0
cdq
xor eax, edx
sub eax, edx
addsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
dec edi
jne 0x10155161
mov ebx, dword [ebp + 8]
movsd qword [ebp - 8], xmm2
cmp ecx, esi
jge 0x101551e0
mov eax, dword [ebx + ecx*4]
inc ecx
cdq
xor eax, edx
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
cmp ecx, esi
jl 0x101551c2
movsd qword [ebp - 8], xmm2
fld qword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10162830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0x10]
xor ecx, ecx
push ebx
push esi
push edi
lea eax, [edx - 4]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
test eax, eax
js 0x101628dc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, edx
sub esi, eax
mov dword [ebp - 8], esi
lea ebx, [eax + 3]
lea eax, [edx + 1]
mov dword [ebp - 4], eax
jmp 0x10162870
movzx edx, byte [eax + ecx - 1]
lea ebx, [ebx + 4]
movzx eax, byte [ebx - 7]
xor edx, eax
mov eax, dword [ebp - 4]
movzx esi, byte [edx + 0x101ab780]
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [ebx - 5]
xor edx, eax
movzx eax, byte [edx + 0x101ab780]
add esi, eax
mov eax, dword [ebp - 4]
movzx edx, byte [eax + ecx]
add ecx, 4
movzx eax, byte [ebx - 6]
xor edx, eax
movzx eax, byte [edx + 0x101ab780]
add esi, eax
mov eax, dword [ebp - 8]
movzx edx, byte [eax + ebx - 4]
movzx eax, byte [ebx - 4]
xor edx, eax
movzx eax, byte [edx + 0x101ab780]
add edi, eax
mov eax, dword [ebp - 4]
add edi, esi
cmp ecx, dword [ebp - 0xc]
jle 0x10162870
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edi
xor ebx, ebx
xor esi, esi
cmp ecx, edx
jge 0x1016297c
mov eax, edx
sub eax, ecx
cmp eax, 2
jl 0x10162953
mov edi, dword [ebp + 8]
lea eax, [edx - 1]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, edi
sub eax, edx
mov dword [ebp - 0x10], eax
lea esi, [ecx + edx]
lea edx, [edi + 1]
xor edi, edi
mov dword [ebp - 0xc], edx
nop
movzx edx, byte [esi + eax]
lea esi, [esi + 2]
movzx eax, byte [esi - 2]
xor edx, eax
movzx eax, byte [edx + 0x101ab780]
add ebx, eax
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + ecx]
add ecx, 2
movzx eax, byte [esi - 1]
xor edx, eax
movzx eax, byte [edx + 0x101ab780]
add edi, eax
mov eax, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jl 0x10162910
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
cmp ecx, edx
jge 0x10162970
mov eax, dword [ebp + 8]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ecx + eax]
xor edx, ecx
movzx ecx, byte [edx + 0x101ab780]
add edi, ecx
lea eax, [esi + ebx]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10166870
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10197a51
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x101fc010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101f8c20]
cmp eax, 0xffffffff
jne 0x10166917
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x101f8c20], eax
cmp eax, 0xffffffff
jne 0x10166917
push str.E:opencv_2.4.9modulescore_src_system.cpp
lea ecx, [ebp - 0x40]
call fcn.10005380
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push str.cv::TLSStorage::get
call fcn.10005380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push str.tlsKey___TLS_OUT_OF_INDEXES
call fcn.10005380
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push 0x406
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
push 0xffffff29
lea ecx, [ebp - 0xcc]
call sym.opencv_core249.dll_public:_void___thiscall_cv::Exception::constructor_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
mov byte [ebp - 4], 3
push eax
call sym.opencv_core249.dll_void___cdecl_cv::error_class_cv::Exception_const__
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10166960
push 0xc
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x1016694a
mov ecx, eax
call fcn.101657c0
mov esi, eax
jmp 0x1016694c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
push esi
push dword [0x101f8c20]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10176850
mov esp, ebp
pop ebp
ret