joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000100c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x1004d9f0], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x10001050
call ebx
test eax, eax
jns 0x10001046
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1004d9ec], eax
mov dword [0x1004d9f0], 1
mov eax, dword [0x1004d9ec]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x1000106c
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x1000109c
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x10001092
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x10001086
push dword [eax + 8]
call dword [eax]
jmp 0x1000108c
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x1000109b
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x10001a5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001a73
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10001a85
xor eax, eax
jmp 0x10001ab7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x10001aa9
cmp esi, eax
jae 0x10001a81
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001a9b
cmp esi, eax
jae 0x10001a81
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret

Function at 0x10002e64
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1004caec]
push ebx
push esi
push 0x2001f
push dword [ebp + 0x9c]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x74], esi
call fcn.100024fb
cmp eax, esi
jne 0x10002eec
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x10002eb5
lea eax, [ebp - 0x70]
push eax
call fcn.10002e64
cmp eax, esi
jne 0x10002eeb
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x74]
je 0x10002ea8
call fcn.10002496
push dword [ebp + 0x9c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.10002496
mov ecx, dword [ebp + 0x90]
mov eax, esi
pop esi
pop ebx
call fcn.10030334
add ebp, 0x94
leave
ret 4
Function at 0x10007817
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1003e613
call fcn.10031208
sub esp, 0x414
mov eax, dword [0x1004caec]
push ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x420], ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
lea edi, [ecx + 4]
push 0x146
push dword [edi]
mov dword [ebp - 4], ebx
call esi
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov dword [ebp - 0x414], eax
je 0x10007865
call fcn.10002569
jmp 0x10007867
xor eax, eax
push eax
push 0xffffffffffffffff
push 0x158
push dword [edi]
call esi
cmp eax, 0xffffffff
jne 0x100079a0
cmp dword [ebp - 0x414], 0x14
jl 0x100078aa
mov eax, dword [ebp - 0x414]
dec eax
push eax
mov ecx, edi
call fcn.10002480
push ebx
push ebx
push 0x146
push dword [edi]
call esi
cmp eax, 0x14
mov dword [ebp - 0x414], eax
jge 0x10007885
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x100078b8
call fcn.10002569
jmp 0x100078ba
xor eax, eax
push eax
push ebx
push 0x14a
push dword [edi]
call esi
push 0x10054f68
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], SysReAllocString
call fcn.10002e64
lea ecx, [ebp - 0x418]
call fcn.10002496
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push 0x10054f68
push SysReAllocString
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
call fcn.100024ad
push ebx
push ebx
push 0x146
push dword [edi]
call esi
cmp eax, ebx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x414], ebx
jle 0x10007972
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
push 0x148
push dword [edi]
call esi
push 4
lea eax, [ebp - 0x414]
push eax
push 4
push ebx
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc dword [ebp - 0x414]
mov eax, dword [ebp - 0x414]
cmp eax, dword [ebp - 0x41c]
jl 0x10007929
lea ecx, [ebp - 0x418]
call fcn.10002496
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax + 0x40]
push ebx
push ebx
push ebx
push 0x6357
call fcn.1001384b
push ebx
push ebx
push 0x14e
push dword [edi]
call esi
jmp 0x100079a8
push eax
mov ecx, edi
call fcn.10002448
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x100079b4
call fcn.1000397e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
pop ebx
call fcn.10030334
leave
ret 4
Function at 0x100079cf
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1003e628
call fcn.10031208
sub esp, 0xdc
mov eax, dword [0x1004caec]
push esi
push edi
mov dword [ebp - 0x10], eax
push 0xc8
mov edi, ecx
lea eax, [ebp - 0xd8]
push eax
lea esi, [edi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp byte [edi + 0x38], 0
mov dword [ebp - 0xe4], eax
je 0x10007ae5
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push 0
push 0x140
push dword [esi]
call edi
mov ebx, eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe0], ebx
push eax
lea ecx, [ebp - 0xe8]
shr ebx, 0x10
call fcn.10002f0f
mov ecx, dword [eax]
and dword [ebp - 4], 0
test ecx, ecx
je 0x10007a5c
call fcn.10002569
jmp 0x10007a5e
xor eax, eax
push eax
push 0xffffffffffffffff
push 0x14d
push dword [esi]
call edi
mov ecx, dword [ebp - 0xe8]
or edi, 0xffffffff
cmp eax, edi
sete byte [ebp - 0xd9]
test ecx, ecx
je 0x10007a85
call fcn.1000397e
cmp byte [ebp - 0xd9], 0
je 0x10007ab8
lea eax, [ebp - 0xd8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp - 0xe0], edi
je 0x10007ab8
movzx eax, bx
push eax
movzx eax, word [ebp - 0xe0]
push eax
mov ecx, esi
call fcn.1000245e
movzx eax, bx
cmp eax, dword [ebp - 0xe4]
pop ebx
jge 0x10007ad7
cmp dword [ebp - 0xe0], edi
je 0x10007ad7
push eax
movzx eax, word [ebp - 0xe0]
push eax
jmp 0x10007ade
push edi
push dword [ebp - 0xe4]
mov ecx, esi
call fcn.1000245e
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
pop esi
call fcn.10030334
leave
ret 0x10
Function at 0x100094df
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov eax, 0x1030
lea ebp, [esp - 0xfb0]
call fcn.10031bb0
mov eax, dword [0x1004caec]
push ebx
push esi
push edi
mov edi, ecx
push 0x1c6b
push dword [edi + 4]
mov dword [ebp + 0xfac], eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.100032b7
mov esi, 0x400
push esi
lea eax, [ebp + 0x7ac]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor ebx, ebx
cmp byte [ebp + 0x7ac], bl
je 0x100096ae
lea eax, [ebp + 0x7ac]
push 0x1004edb8
push eax
call fcn.100308c3
test eax, eax
pop ecx
pop ecx
jne 0x10009596
push 0x10041f74
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esi, 0x100419e0
push ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x7c]
call fcn.100094ad
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x7c], esi
call fcn.10002403
jmp 0x100096ae
lea eax, [ebp + 0x7ac]
push 0x1004ed30
push eax
call fcn.100308c3
test eax, eax
pop ecx
pop ecx
jne 0x100095b9
mov ecx, edi
call fcn.10007aff
jmp 0x100096ae
push esi
lea eax, [ebp + 0xbac]
push eax
lea eax, [ebp + 0x7ac]
push eax
call fcn.100160e3
add esp, 0xc
cmp byte [ebp + 0xbac], bl
jne 0x100095eb
push 0x10041f74
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x100096ae
push ecx
lea eax, [ebp + 0xbac]
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
call fcn.10002f0f
mov ecx, edi
call fcn.10007817
push esi
lea eax, [ebp - 0x54]
push eax
push esi
lea eax, [ebp + 0xbac]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push esi
lea eax, [ebp + 0xbac]
push eax
push esi
lea eax, [ebp - 0x54]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
lea eax, [ebp + 0xbac]
push eax
push dword [edi + 0x3c]
call fcn.10008c68
add esp, 0xc
test eax, eax
je 0x10009650
xor eax, eax
inc eax
jmp 0x100096b0
push ebx
lea eax, [ebp - 0x58]
push eax
push dword [0x1004c990]
call fcn.10022b10
add esp, 0xc
test eax, eax
jne 0x1000967a
inc dword [ebp - 0x58]
push dword [ebp - 0x58]
push dword [0x1004c990]
call fcn.10022bd0
pop ecx
pop ecx
cmp dword [0x1005e08c], ebx
je 0x100096ae
mov edi, dword [edi + 0x40]
cmp edi, ebx
je 0x100096ae
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x100096ae
mov eax, dword [ebp - 0x58]
cmp eax, 1
je 0x100096a0
cmp eax, dword [0x1005e0a8]
jne 0x100096ae
push ebx
push ebx
push 0x635f
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
mov ecx, dword [ebp + 0xfac]
call fcn.10030334
pop edi
pop esi
pop ebx
add ebp, 0xfb0
leave
ret
Function at 0x1000ad5b
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
mov esi, ecx
cmp dword [esi + 0xd0], 0
push edi
jne 0x1000ad8c
call ebp
push eax
push 0
lea eax, [esi + 0xb8]
push eax
push 7
call ebx
mov dword [esi + 0xd0], eax
lea edi, [esi + 0xd4]
cmp dword [edi], 0
jne 0x1000ada9
call ebp
push eax
push 0
add esi, 0xc2
push esi
push 2
call ebx
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1000aef3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [ebp + 0xc], 0
mov eax, dword [0x1004caec]
push ebx
mov dword [ebp - 4], eax
mov ebx, ecx
je 0x1000af8c
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 0xac]
call fcn.1000d1f0
test eax, eax
je 0x1000af28
push 1
mov ecx, eax
call fcn.10029200
test byte [ebp + 0xc], 2
je 0x1000af84
push esi
push edi
mov edi, 0x1004dba8
push edi
push str.__supdate_install.exe_
mov esi, 0x104
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.100017db
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.100298b0
push edi
push str._supdate_install.exe
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.100017db
add esp, 0x2c
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov ecx, dword [ebx + 0x34]
call fcn.1000a795
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
call fcn.10030334
leave
ret 0x10

Function at 0x1000b382
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1003e916
call fcn.10031208
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0x10], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 0xc], 0x100422d4
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x20], edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.10029df0
push esi
lea ecx, [esi + 0x70]
call fcn.1000b2c7
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
lea eax, [esi + 0x2c]
push eax
mov byte [ebp - 4], 4
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
call fcn.100238a0
pop ecx
lea eax, [esi + 0xa8]
push eax
push 0x10042408
call dword [sym.imp.ole32.dll_StringFromCLSID]
call fcn.10026070
xor ecx, ecx
push esi
push ecx
mov eax, 0x1000a7ff
push eax
lea ecx, [esi + 0xb8]
call fcn.1000a8e3
push esi
mov eax, 0x1000a870
push edi
push eax
lea ecx, [esi + 0xc2]
call fcn.1000a8e3
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1000c781
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push esi
push edi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x1000c7dc
cmp dword [ebp - 0xc], 8
jne 0x1000c7dc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1000c7dc
push dword [ebp - 8]
mov ecx, esi
call fcn.1000c7eb
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
pop edi
inc eax
pop esi
leave
ret 0x10

Function at 0x1000d356
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000d3a7
cmp dword [ebp + 0x10], 1
je 0x1000d390
cmp dword [ebp + 0x10], 2
jne 0x1000d39e
test edi, edi
mov eax, dword [ebp - 4]
je 0x1000d3a3
cmp byte [eax + edi - 1], 0
je 0x1000d3a3
push 0xd
pop eax
jmp 0x1000d3a7
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x1000e263
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1003eb09
call fcn.10031208
sub esp, 0x544
mov eax, dword [0x1004caec]
push ebx
xor ebx, ebx
push esi
lea ecx, [ebp - 0x518]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x528], ebx
call fcn.10003452
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], ebx
call fcn.10003452
lea ecx, [ebp - 0x520]
call fcn.10003452
mov dword [ebp - 0x51c], ebx
push 0x1005daf8
lea ecx, [ebp - 0x518]
mov byte [ebp - 4], 3
call fcn.10003dc4
push 0x20019
push 0x10055070
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x51c]
call fcn.100024fb
test eax, eax
jne 0x1000e43b
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [0x1004c96c]
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x524], 0x104
call fcn.1000d356
cmp eax, ebx
jne 0x1000e43b
push edi
lea ecx, [ebp - 0x52c]
call fcn.10003452
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x530]
push eax
push ebx
push dword [0x1004c968]
mov byte [ebp - 4], 4
push dword [ebp - 0x51c]
mov dword [ebp - 0x530], 0xb
mov dword [ebp - 0x524], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x1000e3f0
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x540], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0x540]
call fcn.1000d454
mov edi, 0x200
push edi
lea eax, [ebp - 0x314]
push eax
push ebx
lea eax, [ebp - 0x550]
push eax
push ebx
mov esi, 0x800
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push edi
lea eax, [ebp - 0x514]
push eax
push ebx
lea eax, [ebp - 0x550]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push str._s__s
push eax
call fcn.10007645
add esp, 0x10
mov edi, dword [ebp - 0x52c]
push edi
lea eax, [ebp - 0x114]
push eax
push 0x100536e8
lea eax, [ebp - 0x520]
push 0x1005d6f0
push eax
call fcn.10007645
mov esi, dword [ebp - 0x520]
add esp, 0x14
push dword [esi - 0xc]
lea ecx, [ebp - 0x518]
push esi
call fcn.1000c0c3
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.10002530
pop edi
jmp 0x1000e441
mov esi, dword [ebp - 0x520]
push 0x1005d4e0
push 0x1005b168
push 0x1005d5e8
push 0x1005a550
lea eax, [ebp - 0x518]
push str._br__br__a_href__s___s__a__br__a_href__s___s__a_
push eax
call fcn.1000e085
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x518]
push eax
call fcn.1000dca3
lea ecx, [ebp - 0x51c]
call fcn.10002496
lea ecx, [esi - 0x10]
call fcn.10002530
mov ecx, dword [ebp - 0x528]
add ecx, 0xfffffff0
call fcn.10002530
mov ecx, dword [ebp - 0x518]
add ecx, 0xfffffff0
call fcn.10002530
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.10030334
leave
ret 4
Function at 0x1000efaa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x1004caec]
push ebx
push esi
push edi
push 0x64
pop ebx
push 0x539
push 5
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x1000efe2
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000efea
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000f013
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
ja 0x1000f027
push eax
mov ebx, eax
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.10030a00
add esp, 0xc
xor eax, eax
test eax, eax
jne 0x1000f027
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.1002c350
test al, 5
pop ecx
pop ecx
jne 0x1000f02b
xor eax, eax
jmp 0x1000f02e
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.10030334
leave
ret

Function at 0x1000f188
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x1000f1a2
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 0xc

Function at 0x1000f1cb
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x1000f1d6
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x10011f46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x1003ecaf
call fcn.10031208
sub esp, 0x420
mov eax, dword [0x1004caec]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [0x1004c0c0]
xor ebx, ebx
mov edi, eax
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 1
je 0x10011fe3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
cmp esi, 0x400
jg 0x10011fc8
push esi
call fcn.10007118
test al, al
pop ecx
je 0x10011fc8
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.10031bb0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10011fd4
push esi
lea ecx, [ebp - 0x41c]
call fcn.1000ff27
push edi
push esi
push dword [ebp + 8]
push eax
call fcn.1000ef2f
cmp eax, ebx
jne 0x10012006
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10011ffc
lea ecx, [ebp - 0x418]
call fcn.1000f727
mov esi, 0x8007000e
jmp 0x100120ef
push 2
push ebx
push eax
call fcn.1001008f
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x420], edi
jne 0x10012027
call fcn.10004ae7
mov esi, eax
jmp 0x100120d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x1001204c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x424], eax
jne 0x10012053
call fcn.10004ae7
jmp 0x100120c8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x418]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
call fcn.1000ffb9
jmp 0x10012080
cmp dword [ebp - 0x418], ebx
mov dword [ebp - 4], 1
jne 0x10012096
mov esi, 0x8007000e
jmp 0x100120ca
push esi
push dword [ebp - 0x424]
push dword [ebp - 0x418]
call fcn.10030a00
mov eax, dword [ebp - 0x418]
add esp, 0xc
push dword [ebp + 0x14]
mov byte [esi + eax], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.10011d2a
mov esi, eax
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100120ef
lea ecx, [ebp - 0x418]
call fcn.1000f727
lea ecx, [ebp - 0x41c]
call fcn.10007171
mov eax, esi
lea esp, [ebp - 0x438]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.10030334
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100152bb
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0xc], 0x8014
mov esi, ecx
jne 0x10015346
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x419
push ebx
call edi
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x41d
push ebx
call edi
push 2
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push edi
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, esi
call fcn.10014d10
push edi
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xb8]
call fcn.10014408
push edi
push dword [esi + 4]
push edi
push dword [ebp - 4]
push dword [ebp - 0x10]
push 2
push dword [eax]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
pop ebx
jmp 0x1001534c
mov eax, dword [ebp + 0x10]
and dword [eax], 0
pop edi
xor eax, eax
pop esi
leave
ret 0xc