joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b90b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4b90e3
push esi
call fcn.004bc1b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4b90dc
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 0x4b9169
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4b9152
mov eax, dword [esi + 8]
test eax, eax
je 0x4b9107
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 0x4b914e
cmp eax, 2
je 0x4b9152
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b90fa
cmp eax, 3
je 0x4b912d
cmp eax, 1
jne 0x4b90fa
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 0x4b90fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4b90fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004b9190
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4b9178
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004b9190
add esp, 4
pop esi
ret

Function at 0x4c4ce0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4c4d83
test eax, eax
jbe 0x4c4d83
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4c4d83
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4c4d2e
xor esi, esi
jmp 0x4c4d34
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4c4d5f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004c6c30
add esi, eax
push esi
mov ebx, esi
call fcn.004c6c30
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4c4d40
pop ebp
test edi, edi
pop edi
jne 0x4c4d83
test ebx, ebx
je 0x4c4d83
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004d9cf0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4c4ec5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4c4fdd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c4fdd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004eb365
mov esi, eax
test esi, esi
je 0x4c4fdd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4c4fdd
mov ecx, esi
call fcn.004c4e30
cmp edi, eax
jge 0x4c4fdd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4c4f63
mov dword [esp + 0x34], 1
jmp 0x4c4fbe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4c4fdd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004c43f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4c972d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f8468
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x4c9743
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.004cea50
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004ced10
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.004c97b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x5e42b0
call fcn.004cec50
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4ce600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4ce64c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4ce64c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4ce636
push eax
call ebp
test ax, ax
jl 0x4ce644
inc esi
add edi, 4
cmp esi, 6
jb 0x4ce628
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004ce300
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4d0ec0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4d0f20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4d0f20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4d0f20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4d0f20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4d0f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4d2660
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4d26c6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4d26c6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4d26a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4d2a50
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4d2a88
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4d36b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4d36f9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4d3b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f89d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004d3720
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004d37a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004d37a0
lea ecx, [esi + 0xc]
call fcn.004e98ed
lea ecx, [esi + 0x10]
call fcn.004e98ed
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004d4d30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004d4d30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004d4d30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004e9962
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e9962
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ebd09
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ebd41
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.004e9dbd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e9d95
jmp 0x4ebd4d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ed3f7
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 0x4ed439
call fcn.004f33bb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ed439
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ed430
xor eax, eax
jmp 0x4ed441
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ed447
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f38eb
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 0x4f3919
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f3937
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f3851
jmp 0x4f3937
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f3937
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f3851
test edi, edi
mov eax, edi
jne 0x4f3921
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1983465d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1ed80bde
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x101ba80
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1023fb4]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x196
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [ebp - 0x30], eax
je 0x101bc1b
push 0xa
pop ecx
push dword [ebp - 0x30]
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
call sub.MFC42u.DLL_operatornew
test eax, eax
pop ecx
mov dword [ebp - 0x2c], eax
je 0x101bc1b
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x101bc12
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x1004ae8
push dword [ebp - 0x2c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x101bb65
cmp dword [ebp - 0x34], 4
jb 0x101bb65
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x28]
push 0x1004ad4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp dword [ebp - 0x30], 0x70
jbe 0x101bb60
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x5a], 0
jne 0x101bb60
add eax, 0x4c
push eax
push 0x1023f90
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x101bb60
mov eax, dword [ebp - 0x2c]
push 9
add eax, 0x60
push eax
lea eax, [ebp - 0x16]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x101bb65
and word [ebp - 0x16], 0
cmp word [ebp - 0x28], 0
jne 0x101bbc7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x1004ac0
lea eax, [ebp - 0x28]
push eax
call esi
push ebx
mov edi, 0x1004aa8
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
test eax, eax
jne 0x101bbd6
push 0x1004a94
lea eax, [ebp - 0x28]
push eax
call esi
push ebx
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
test eax, eax
jne 0x101bbd6
push 0x1004a80
lea eax, [ebp - 0x28]
push eax
call esi
push ebx
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
test eax, eax
je 0x101bc12
jmp 0x101bbd6
push ebx
push 0x1004aa8
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
lea eax, [ebx + 0x40]
push eax
push 0x1004a60
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
lea eax, [ebx + 0x248]
push eax
push 0x1004a48
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
add ebx, 0x450
push ebx
push 0x1004a30
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
push dword [ebp - 0x2c]
call sub.MFC42u.DLL_operatordelete
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101bddf
leave
ret 8
Function at 0x101cecb
Capabilities:
Allocate or change rwx memory

Disassembly:
cmp dword [0x10241c4], 0
push esi
jne 0x101ce39
call fcn.0101cd30
test eax, eax
je 0x101ce7c
mov eax, dword [0x10241c4]
cmp eax, 1
jne 0x101ce5a
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x101ce7c
pop esi
ret
push eax
call dword [0x10241cc]
test eax, eax
jne 0x101cec4
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x101ce80
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x10241c4]
call dword [0x10241cc]
mov edi, eax
test edi, edi
je 0x101cea5
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x101cec1
mov edi, esi
add esi, 0xff0
push edi
push dword [0x10241c4]
call dword [0x10241c8]
add edi, 0x10
cmp edi, esi
jb 0x101cead
mov eax, edi
pop edi
pop esi
ret
jmp 0x101ce26

Function at 0x101ced5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1004da0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101cf2d
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1004ddc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101cf20
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101cf2f
xor eax, eax
pop esi
leave
ret 4
Function at 0x10002490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100251cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10036174]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esi + 4], 0
mov dword [esi], vtable.ATL::CComAggObject_class_CChangeableEnumPins_.0
mov dword [esi + 0x10], 0
movups xmmword [esi + 0x14], xmm0
movq qword [esi + 0x24], xmm0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0xc], vtable.ATL::CComContainedObject_class_CChangeableEnumPins_.0
mov dword [esi + 0x10], eax
mov ecx, dword [0x100384bc]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 4]
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 0x10004680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025466
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10036174]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000472c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000472c
call fcn.10003000
mov esi, eax
jmp 0x1000481c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000474f
call fcn.10003000
jmp 0x1000480f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1000476d
call fcn.10003000
jmp 0x1000480f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1000478e
mov esi, 0x8007000e
jmp 0x10004811
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10002e30
jmp 0x100047b8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x100047cf
mov esi, 0x8007000e
jmp 0x10004811
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100047ef
call fcn.10003000
jmp 0x1000480f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10004520
mov esi, eax
test edi, edi
je 0x1000481c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10004840
lea ecx, [ebp - 0x418]
call fcn.10003800
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.1002429d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10005070
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x10005089
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10005095
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x10005090
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100050d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x100050e5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100050f0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10007d70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb38
mov eax, dword [0x10036174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
push esi
push edi
mov ecx, dword [eax + 4]
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0xb34], eax
mov eax, dword [ecx]
push 0
push edi
mov dword [ebp - 0xb38], edi
call dword [eax + 0x44]
mov esi, eax
cmp esi, 0x2af8
jg 0x10007eed
je 0x10007de2
cmp esi, 0xfffff7cc
jg 0x10007ed6
je 0x10007de2
cmp esi, 0xffffd8f0
je 0x10007f1e
cmp esi, 0xfffff703
je 0x10007de2
cmp esi, 0xfffff704
jne 0x10007f1e
mov bl, 1
mov ecx, dword [ebp - 0xb34]
push 0x22
push edi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
setne al
cmp edi, 0x3a
je 0x10007e0b
cmp edi, 0x98
jne 0x10007f3a
test bl, bl
je 0x10007f3a
test al, al
je 0x10007f3a
push 0x114
lea eax, [ebp - 0xb30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xb30], 0x114
lea eax, [ebp - 0xb30]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10007f3a
cmp dword [ebp - 0xb2c], 6
jne 0x10007f3a
cmp dword [ebp - 0xb28], 2
jne 0x10007f3a
push 0x1fe
lea eax, [ebp - 0x204]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x204]
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10007f3a
lea eax, [ebp - 0x204]
mov edi, str.NeroVision.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
nop
mov cx, word [eax]
cmp cx, word [edi]
jne 0x10007f25
test cx, cx
je 0x10007ed2
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x10007f25
add eax, 4
add edi, 4
test cx, cx
jne 0x10007eb0
xor eax, eax
jmp 0x10007f2a
cmp esi, 0xfffff7d6
je 0x10007de2
cmp esi, 0x2328
jmp 0x10007ddc
cmp esi, 0x300c
jg 0x10007f12
je 0x10007de2
cmp esi, 0x2b5c
je 0x10007de2
cmp esi, 0x2c24
jmp 0x10007ddc
cmp esi, 0x300d
je 0x10007de2
xor bl, bl
jmp 0x10007de4
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0xb38]
xor ecx, ecx
test eax, eax
movzx ebx, bl
cmove ebx, ecx
push 0x800
lea eax, [ebp - 0xa04]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0xa1c]
push edi
push eax
call fcn.1000a090
mov ecx, eax
add esp, 0x14
cmp dword [ecx + 0x14], 0x10
jb 0x10007f67
mov ecx, dword [ecx]
mov edx, 0x1002f0e4
test bl, bl
mov eax, 0x10029078
cmove eax, edx
push eax
push esi
push ecx
push str.CFallbackLicense::IsSystemCodecFallbackAllowed:__S_state__d_allowed__s
lea eax, [ebp - 0xa04]
push 0x400
push eax
call fcn.10007ff0
mov eax, dword [ebp - 0xa08]
add esp, 0x18
cmp eax, 0x10
jb 0x10007faf
push 1
inc eax
push eax
push dword [ebp - 0xa1c]
call fcn.10005560
add esp, 0xc
lea eax, [ebp - 0xa04]
push eax
call fcn.1000b200
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002429d
mov esp, ebp
pop ebp
ret 4