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

Disassembly:
push 0xffffffffffffffff
push 0x100425c9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 0x40], 0
mov dword [esi + 4], 0
mov dword [esp + 0x14], 0
xor eax, eax
movdqu xmm0, xmmword [0x100454d0]
movdqu xmmword [esi + 0x10], xmm0
movdqu xmm0, xmmword [0x100454d0]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0xfefefefe
movdqu xmmword [esi + 0x20], xmm0
movdqu xmm0, xmmword [0x100454f0]
movdqu xmmword [esi + 0x10], xmm0
movdqu xmm0, xmmword [0x10045520]
mov dword [esi + 0x30], 1
movdqu xmmword [esi + 0x20], xmm0
call fcn.100024d0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x10015c61
push 0x80004005
call fcn.10002280
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 3
call fcn.10025c30
mov dword [esi + 0x1b4], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x10017cf0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x10017d04
pop ebp
lea eax, [ebx + 0xd]
pop ebx
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
lea ebx, [ebx]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10017d15
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x10017d10
push esi
push ebx
push 7
push 0
push dword [esp + 0x24]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x10018250
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
mov ebp, ecx
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x22c]
push esi
push edi
mov eax, dword [ebp + 4]
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebp]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.1000ddc0
mov esi, eax
test esi, esi
jne 0x1001833c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], pe_nt_image_headers32
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
jne 0x10018310
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.10018250
mov esi, eax
test esi, esi
jne 0x1001833c
lea eax, [esp + 0x20]
mov dword [esp + 0xc], pe_nt_image_headers32
push eax
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x100182d7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10018327
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
push dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x18], 0
call fcn.100183c0
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001834b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1002af5f
add esp, 0x224
ret 4

Function at 0x100183c0
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x10018425
cmp dword [edi], 0
mov esi, dword [esi]
je 0x10018405
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001841b
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001841b
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x1001841b
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x1005eb94], 0
jne 0x10018465
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10018457
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1005eb90], eax
mov byte [0x1005eb94], 1
jmp 0x1001846a
mov eax, dword [0x1005eb90]
mov byte [0x1005eb94], 1
jmp 0x1001846a
mov eax, dword [0x1005eb90]
test eax, eax
je 0x10018480
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
Function at 0x10018e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100428e6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [section..data]
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 + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x420], 0
push 0x60
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10017610
mov esi, eax
mov dword [ebp - 0x428], esi
test esi, esi
jne 0x10018f05
push 2
mov ecx, edi
call fcn.10017610
mov esi, eax
mov dword [ebp - 0x428], eax
test esi, esi
jne 0x10018f05
call fcn.10009bc0
mov edi, eax
jmp 0x10019021
push dword [ebp - 0x424]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10018f23
call fcn.10009bc0
jmp 0x10019014
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x10018f41
call fcn.10009bc0
jmp 0x10019014
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x42c], edi
lea ecx, [edi + 1]
cmp ecx, edi
jae 0x10018f62
mov edi, 0x8007000e
jmp 0x10019016
xor eax, eax
mov byte [ebp - 4], 2
shld eax, ecx, 1
add ecx, ecx
test eax, eax
jne 0x10018f9b
cmp ecx, 0xffffffff
ja 0x10018f9b
cmp ecx, 0x400
jbe 0x10018f8d
push ecx
lea ecx, [ebp - 0x420]
call fcn.10017720
jmp 0x10018fbd
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], eax
jmp 0x10018fbd
push 0x80070216
call fcn.10002280
mov eax, 0x10018fab
ret
mov dword [ebp - 4], 1
cmp dword [ebp - 0x420], 0
jne 0x10018fd4
mov edi, 0x8007000e
jmp 0x10019016
push edi
push dword [ebp - 0x420]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10018ff4
call fcn.10009bc0
jmp 0x10019014
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x434]
push dword [ebp - 0x420]
call fcn.10018d00
mov edi, eax
test esi, esi
je 0x10019021
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x10019040
lea ecx, [ebp - 0x420]
call fcn.100175f0
lea ebx, [ebx]
mov eax, edi
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.1002af5f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10019a10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10042a80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esi], 0
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esp + 0x2c], 8
lea ecx, [esp + 0x18]
mov dword [esi + 0x24], 0x15
call fcn.1000df00
push str.kango_ui_theme_bubble_
mov edx, eax
mov byte [esp + 0x30], 9
lea ecx, [esp + 0x18]
call fcn.100165d0
add esp, 4
mov byte [esp + 0x2c], 0xb
or edi, 0xffffffff
mov edx, dword [esp + 0x18]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10019ad5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.top_left.png
call fcn.100165d0
add esp, 4
mov ecx, esi
call fcn.10023610
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.top_middle.png
call fcn.100165d0
add esp, 4
lea ecx, [esi + 4]
call fcn.10023610
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.top_right.png
call fcn.100165d0
add esp, 4
lea ecx, [esi + 8]
call fcn.10023610
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.middle_left.png
call fcn.100165d0
add esp, 4
lea ecx, [esi + 0xc]
call fcn.10023610
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.middle_right.png
call fcn.100165d0
add esp, 4
lea ecx, [esi + 0x10]
call fcn.10023610
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.bottom_left.png
call fcn.100165d0
add esp, 4
lea ecx, [esi + 0x14]
call fcn.10023610
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.bottom_middle.png
call fcn.100165d0
add esp, 4
lea ecx, [esi + 0x18]
call fcn.10023610
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.bottom_right.png
call fcn.100165d0
add esp, 4
lea ecx, [esi + 0x1c]
call fcn.10023610
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
push str.tail_top.png
call fcn.100165d0
add esp, 4
lea ecx, [esi + 0x20]
call fcn.10023610
mov byte [esp + 0x2c], 8
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x10019bf0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x1001a2c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10042ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea ecx, [ebx + 0xdc]
mov dword [esp + 0x30], 0
mov dword [ebx + 0xe0], eax
lea eax, [esp + 0x3c]
push eax
call fcn.10004e30
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x10]
mov ecx, dword [edx + 0x24]
lea eax, [eax + ecx*2]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 0x24]
mov eax, dword [esp + 0x24]
lea eax, [eax + ecx*2]
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x20]
push eax
push 0x1005abd0
call fcn.1000b9d0
add esp, 8
movzx eax, ax
mov ecx, ebx
push eax
push 0
push 0x80000
push 0x94000000
push str.KangoPopupWindow
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.10005390
neg eax
mov dword [esp + 0x30], 0xffffffff
mov edi, dword [esp + 0x3c]
sbb esi, esi
add edi, 0xfffffff0
neg esi
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1001a3ab
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1002af5f
add esp, 0x24
ret 0x10

Function at 0x1001b470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10042cda
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
call fcn.100401b4
mov dword [esp + 0x20], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x20], 6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x1001b519
lea eax, [esp + 0x28]
mov dword [esp + 0x28], str.bad_locale_name
push eax
lea ecx, [esp + 0x10]
call fcn.1002c83a
push 0x10056908
lea eax, [esp + 0x10]
mov dword [esp + 0x10], vtable.std::runtime_error.0
push eax
call fcn.1002e4d4
push eax
push esi
call fcn.10040087
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4
Function at 0x1001cab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10042e6e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.1001cda0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x1c], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [esp + 0x14], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.1001cda0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov byte [esp + 0x1c], 2
mov dword [edi + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x68], eax
mov dword [edi + 0x58], edx
mov dword [edi + 0x60], 0
mov byte [edi + 0x64], 0
movsx eax, byte [edx + 8]
and eax, 8
shr eax, 3
mov byte [edi + 0x6c], al
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x70], eax
push dword [edx + 0x18]
call fcn.1001cc50
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x1c

Function at 0x1001ddd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
mov ecx, 0
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1001de01
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1001ddf0
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x100208e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10043333
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x28]
lea ecx, [edi + 0x14]
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
lea eax, [esp + 0x28]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push eax
push 0
mov dword [esp + 0x30], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.1001cda0
mov dword [edi + 0x20], 0
mov eax, dword [edi + 0x18]
mov edx, eax
mov ecx, dword [edi + 0x14]
sub edx, ecx
sar edx, 2
test edx, edx
je 0x1002097c
push eax
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [edi + 0x14]
call fcn.1001ccc0
mov dword [edi + 0x20], 0
mov esi, dword [esp + 0x24]
push ecx
push esi
lea ecx, [edi + 0x24]
mov dword [esp + 0x24], 1
call fcn.10020d60
mov ecx, edi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], 1
mov dword [edi + 0x50], 0x8775dfb
call fcn.10020a90
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x10024700
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x10043640
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], 0
or edi, 0xffffffff
cmp dword [esp + 0x34], 0
jne 0x1002479e
mov eax, dword [esp + 0x30]
xor edx, edx
test eax, eax
setne dl
test edx, edx
jne 0x10024754
push 0x80004005
call fcn.10002280
mov ecx, dword [ebx + 4]
mov edx, eax
lea esp, [esp]
mov si, word [ecx]
cmp si, word [edx]
jne 0x10024786
test si, si
je 0x10024782
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x10024786
add ecx, 4
add edx, 4
test si, si
jne 0x10024760
xor ecx, ecx
jmp 0x1002478b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
setne cl
test cl, cl
jne 0x1002479e
mov ebx, 1
jmp 0x10024895
lea eax, [esp + 0x30]
lea ebp, [ebx + 4]
push eax
mov ecx, ebp
call fcn.10004e30
mov ecx, dword [ebp]
sub ecx, 0x10
call fcn.1000abe0
lea esi, [eax + 0x10]
mov dword [esp + 0x34], esi
push esi
mov byte [esp + 0x2c], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10024843
lea ecx, [esp + 0x18]
call fcn.1000df00
push ebp
mov edx, eax
mov byte [esp + 0x2c], 2
lea ecx, [esp + 0x18]
call fcn.1000e100
add esp, 4
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 3
call fcn.10004e30
mov byte [esp + 0x28], 2
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002481d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x28], 1
mov ecx, edi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002483f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x34]
cmp dword [esi - 4], 1
jle 0x10024859
push dword [esi - 0xc]
lea ecx, [esp + 0x38]
call fcn.10001f90
mov esi, dword [esp + 0x34]
push ecx
mov ecx, esp
push esi
call fcn.10001e10
lea ecx, [ebx + 0x20]
call fcn.10023610
mov ecx, ebx
call fcn.10024cf0
add esi, 0xfffffff0
mov byte [esp + 0x28], 0
mov ebx, eax
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10024891
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x30]
lea esi, [eax - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x100248b4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x100249d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10043668
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0
lea ecx, [edi + 0x30]
push eax
call fcn.10004e30
mov esi, dword [esp + 0x20]
cmp dword [edi + 0x34], esi
je 0x10024a2c
test esi, esi
je 0x10024a1c
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [edi + 0x34], esi
test eax, eax
je 0x10024a2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0
lea ecx, [edi + 0x24]
push 0x1004cbe8
call fcn.100020d0
mov ecx, edi
mov dword [edi + 0x64], 1
call fcn.10024cf0
mov dword [esp + 0x14], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10024a6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x10025110
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push dword [ebx + 0x30]
mov esi, eax
push 0x101
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
push 0
push dword [ebx + 0x18]
movdqu xmmword [esp + 0x14], xmm0
push 0x419
push dword [ebx + 0x1c]
call edi
lea ecx, [esp + 0xc]
push ecx
push eax
push 0x41d
push dword [ebx + 0x1c]
call edi
push 2
lea eax, [esp + 0x10]
push eax
push 0
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [ebx + 0x1c]
mov ebx, dword [esp + 0x18]
mov edx, ebx
mov ecx, dword [esp + 0xc]
call fcn.10025990
push 0
push edi
push 0
push ebx
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test esi, esi
je 0x100251af
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002af5f
mov esp, ebp
pop ebp
ret

Function at 0x10025680
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x38]
cmp dword [eax - 0xc], 0
je 0x10025747
cmp dword [ebx + 0x3c], 0
je 0x10025747
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push dword [ebx + 0x38]
mov esi, eax
push 0x101
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
push 0
push dword [ebx + 0x18]
movdqu xmmword [esp + 0x14], xmm0
push 0x419
push dword [ebx + 0x1c]
call edi
lea ecx, [esp + 0xc]
push ecx
push eax
push 0x41d
push dword [ebx + 0x1c]
call edi
push 2
lea eax, [esp + 0x10]
push eax
push 0
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [ebx + 0x1c]
mov ebx, dword [esp + 0x18]
mov edx, ebx
mov ecx, dword [esp + 0xc]
call fcn.10025990
push 0
push edi
push 0
push ebx
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test esi, esi
je 0x10025730
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1002af5f
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002af5f
add esp, 0x18
ret
Function at 0x100278f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.1002d180
add esp, 0xc
mov dword [esp], 0x114
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10027959
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x10027942
cmp eax, 4
jne 0x10027959
cmp dword [esp + 8], 0x5a
jb 0x10027959
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1002af5f
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
mov al, 1
xor ecx, esp
call fcn.1002af5f
add esp, 0x118
ret