joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fee0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4aebf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004a2899
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004a7ee6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a9402
test eax, eax
je 0x44fffc
mov ecx, dword [esp + 0x3c]
call fcn.004a7f13
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44ffc0
push edi
mov ecx, esi
call fcn.004a557b
mov ecx, esi
call fcn.004501b0
cmp dword [esp + 0x38], 1
jne 0x44fff5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a56b6
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x452200
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x452233
push esi
call fcn.004605b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45222c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4522b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4522a2
mov eax, dword [esi + 8]
test eax, eax
je 0x452257
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45229e
cmp eax, 2
je 0x4522a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45224a
cmp eax, 3
je 0x45227d
cmp eax, 1
jne 0x45224a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45224a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45224a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004522e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4522c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004522e0
add esp, 4
pop esi
ret

Function at 0x452b50
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x452b71
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x452b71
mov eax, dword [eax + 0x44]
test eax, eax
je 0x452b71
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47b790
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6458d4]
xor edx, edx
cmp eax, edx
jne 0x47b7b6
xor eax, eax
mov byte [eax + 0x6457d4], al
inc eax
cmp eax, 0x100
jl 0x47b79e
mov dword [0x6458d4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6457d4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47b847
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x47b81a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x47b7e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x47b8c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x47b913
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x47b8fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4822b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af17e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00482bd0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5fd644
call fcn.004a102b
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x482343
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a102b
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x48233c
push 0
mov ecx, eax
call fcn.004793d0
mov dword [esi + 0xc], eax
jmp 0x482345
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x482345
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4a3674
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a36ac
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a1745
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a171d
jmp 0x4a36b8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a4d69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a4dab
call fcn.004aa6e7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a4dab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a4da2
xor eax, eax
jmp 0x4a4db3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a4db9
pop edi
pop esi
pop ebx
ret 4
Function at 0x4aac17
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4aac45
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aac63
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004aab7d
jmp 0x4aac63
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4aac63
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004aab7d
test edi, edi
mov eax, edi
jne 0x4aac4d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100b7ef0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100b80d4
pushal
mov esi, section.data
lea edi, [esi - 0x6a000]
push edi
or ebp, 0xffffffff
jmp 0x100b7f1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100b7f21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100b7f10
mov eax, 1
add ebx, ebx
jne 0x100b7f33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100b7f44
jne 0x100b7f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100b7f63
dec eax
add ebx, ebx
jne 0x100b7f50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x100b7f28
add ebx, ebx
jne 0x100b7f5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x100b7fb5
xor ecx, ecx
sub eax, 3
jb 0x100b7f7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100b7fea
sar eax, 1
mov ebp, eax
jmp 0x100b7f86
add ebx, ebx
jne 0x100b7f86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100b7f54
inc ecx
add ebx, ebx
jne 0x100b7f94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100b7f54
add ebx, ebx
jne 0x100b7fa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100b7f96
jne 0x100b7fb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100b7f96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100b7fd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100b7fc6
jmp 0x100b7f16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100b7fd4
add edi, ecx
jmp 0x100b7f16
pop esi
mov edi, esi
mov ecx, 0xbe2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100b7ff2
cmp byte [edi], 0x12
jne 0x100b7ff2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100b7ff7
lea edi, [esi + 0xb4000]
mov eax, dword [edi]
or eax, eax
je 0x100b8066
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb80f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb8118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100b8024
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb811c]
or eax, eax
je 0x100b8060
mov dword [ebx], eax
add ebx, 4
jmp 0x100b8041
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100b8097
cmp al, 0xef
ja 0x100b808a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100b806c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100b8079
mov ebp, dword [esi + 0xb8120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x100b80cb
sub esp, 0xffffff80
jmp 0x10007cfe
Function at 0x10004360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083d59
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100bae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi], eax
mov dword [esi + 4], eax
lea ecx, [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], ecx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x2c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push esi
push 2
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call fcn.100040a0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005380
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083d59
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100bae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi], eax
mov dword [esi + 4], eax
lea ecx, [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], ecx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x2c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push esi
push 2
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call fcn.10004e80
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008330
Capabilities:
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test ecx, ecx
jne 0x10008347
xor eax, eax
pop esi
pop ebp
ret 4
mov edx, dword [ecx + 4]
mov ecx, 1
cmp edx, ecx
jle 0x10008361
imul eax, eax, 0x5bd1e995
add eax, dword [esi + ecx*4]
inc ecx
cmp ecx, edx
jl 0x10008353
pop esi
pop ebp
ret 4

Function at 0x10008a50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083d59
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100bae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi], eax
mov dword [esi + 4], eax
lea edx, [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
lea edx, [esi + 0x30]
mov dword [esi + 0x2c], edx
mov dword [edx + 4], eax
mov edx, dword [esi + 0x2c]
mov dword [edx], eax
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call sub.opencv_core220.dll_public:_void___thiscall_cv::Mat::copyTo_class_cv::Mat__const
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10008d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100843ae
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100bae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi], eax
mov dword [esi + 4], eax
lea ecx, [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], ecx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x2c]
mov dword [ecx], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x40]
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x68]
mov dword [esi + 0x64], ecx
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x64]
mov dword [ebp - 4], eax
mov dword [edx], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
lea ecx, [esi + 0x78]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ecx
lea ecx, [esi + 0xa0]
mov dword [esi + 0x9c], ecx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x9c]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call sub.opencv_core220.dll_public:_class_cv::SVD____thiscall_cv::SVD::operator___class_cv::Mat_const___int_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10008ea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083d59
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100bae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi], eax
mov dword [esi + 4], eax
lea edx, [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
lea edx, [esi + 0x30]
mov dword [esi + 0x2c], edx
mov dword [edx + 4], eax
mov edx, dword [esi + 0x2c]
mov dword [edx], eax
push 0xffffffffffffffff
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [eax]
push esi
push ecx
mov ecx, eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], 1
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100098c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084478
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100bae20]
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 eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [eax]
and ecx, 0x4fff
mov dword [esi + 4], 2
add ecx, 0x42ff0000
mov dword [esi], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 0x10]
lea ebx, [esi + 8]
xor edi, edi
cmp byte [ebp + 0xc], 0
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], ecx
mov dword [ecx + 4], edi
mov edx, dword [esi + 0x2c]
mov dword [edx], edi
jne 0x10009990
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, edx
and ecx, 7
add ecx, ecx
mov edi, 0xba50
shr edi, cl
sar edx, 3
and edx, 0x1ff
inc edx
and edi, 3
mov ecx, edi
mov edi, dword [esi + 0xc]
shl edx, cl
imul edi, edx
test eax, eax
jne 0x10009971
mov eax, edi
mov ecx, dword [ebx]
imul ecx, eax
add ecx, dword [esi + 0x18]
mov dword [esi + 0x20], ecx
sub ecx, eax
add ecx, edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x2c]
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], edx
jmp 0x100099ce
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push ecx
push edx
push eax
lea ecx, [ebp - 0x48]
call sym.opencv_highgui220.dll_public:_void___thiscall_cv::Mat::constructor_int__int__int__void___unsigned_int_
push esi
mov ecx, eax
mov dword [ebp - 4], edi
call sub.opencv_core220.dll_public:_void___thiscall_cv::Mat::copyTo_class_cv::Mat__const
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call sym.opencv_highgui220.dll_public:_void___thiscall_cv::Mat::destructor_void_
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.1007cee0
mov esp, ebp
pop ebp
ret 8

Function at 0x1000c0d0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
movzx edi, byte [ebp + 0x10]
mov eax, 1
shl eax, cl
neg edi
sbb edi, edi
and edi, 0xff
test eax, eax
jle 0x1000c124
mov ecx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
lea ebx, [eax - 1]
inc ecx
mov dword [ebp + 0x10], eax
mov edi, edi
mov eax, esi
cdq
idiv ebx
mov byte [ecx + 2], 0
add esi, 0xff
add ecx, 4
xor eax, edi
dec dword [ebp + 0x10]
mov byte [ecx - 3], al
mov byte [ecx - 4], al
mov byte [ecx - 5], al
jne 0x1000c100
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x1000ca10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.opencv_highgui220.dll_cvWaitKey
Function at 0x1000ccc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x100bae20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.SoftwareOpenCVHighGUIWindows_]
push esi
lea edx, [ebp - 0x404]
push edi
mov esi, ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000cce4
mov eax, esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ccf0
lea edi, [ebp - 0x404]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1000cd00
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebx + 0xc]
mov dword [ebp - 0x414], eax
mov dword [eax], 0x140
lea eax, [ebx + 8]
mov dword [ebp - 0x418], eax
mov dword [eax], 0x140
lea eax, [ebp - 0x408]
push eax
push 1
push 0
lea ecx, [ebp - 0x404]
push ecx
lea edi, [ebx + 4]
push 0x80000001
mov dword [edi], 0x80000000
mov dword [ebx], 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000ce8d
mov ecx, dword [ebp - 0x408]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x410]
push edx
push ebx
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x40c]
push eax
push 0
push str.Left
push ecx
mov dword [ebp - 0x410], 4
call esi
mov ecx, dword [ebp - 0x408]
lea edx, [ebp - 0x410]
push edx
push edi
lea eax, [ebp - 0x40c]
push eax
push 0
push 0x10086aa8
push ecx
call esi
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x410]
push edx
mov edx, dword [ebp - 0x408]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push 0
push str.Width
push edx
call esi
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push eax
mov eax, dword [ebp - 0x408]
push ecx
lea edx, [ebp - 0x40c]
push edx
push 0
push str.Height
push eax
call esi
mov eax, dword [ebx]
cmp eax, 0x80000000
je 0x1000ce23
cmp eax, 0xffffff38
jl 0x1000ce1d
cmp eax, 0xbb8
jle 0x1000ce23
mov dword [ebx], 0x64
mov eax, dword [edi]
cmp eax, 0x80000000
je 0x1000ce40
cmp eax, 0xffffff38
jl 0x1000ce3a
cmp eax, 0xbb8
jle 0x1000ce40
mov dword [edi], 0x64
mov ecx, dword [ebp - 0x418]
mov eax, dword [ecx]
cmp eax, 0x80000000
je 0x1000ce60
test eax, eax
js 0x1000ce5a
cmp eax, 0xbb8
jle 0x1000ce60
mov dword [ecx], 0x64
mov ecx, dword [ebp - 0x414]
mov eax, dword [ecx]
cmp eax, 0x80000000
je 0x1000ce80
test eax, eax
js 0x1000ce7a
cmp eax, 0xbb8
jle 0x1000ce80
mov dword [ecx], 0x64
mov ecx, dword [ebp - 0x408]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007cee0
mov esp, ebp
pop ebp
ret