joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10074646
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x100d6a0e
call fcn.100b286c
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.1007e247
lea eax, [ebp - 0x10]
push eax
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
call fcn.1007ed4f
lea ecx, [esi + 0xa0]
mov dword [ebp - 0x20], ecx
call fcn.1007ecca
cmp eax, ebx
je 0x1007469b
mov esi, dword [ebp - 0x10]
jmp 0x100747f1
call fcn.10019855
mov esi, eax
cmp esi, ebx
jne 0x100746ad
xor esi, esi
jmp 0x100747f1
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.1007ed4f
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.1002158c
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1007e46a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.1007e410
mov ecx, esi
call fcn.1001879a
lea ecx, [ebp - 0x2c]
call fcn.1007e67a
test eax, eax
jne 0x100746a6
push ebx
push ebx
push 3
push ebx
push 1
push connect
lea ecx, [ebp - 0x2c]
call fcn.1007e49f
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x100746a6
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1007472e
xor esi, esi
jmp 0x100747e8
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
je 0x10074727
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x1c], ebx
je 0x100747df
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x100747d8
cmp esi, dword [ebp - 0x1c]
jne 0x100747d8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x14]
push eax
push 1
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp eax, ebx
jl 0x100747df
cmp dword [ebp - 0x14], ebx
je 0x100747df
lea eax, [ebp - 0x10]
push eax
push 0x100fa770
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x10074693
push dword [ebp - 0x10]
lea eax, [ebp + 8]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.1007ed4f
mov ecx, dword [ebp - 0x20]
call fcn.1007ec47
jmp 0x10074693
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.1007e410
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1007e410
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x10077719
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100d6bb0
call fcn.100b286c
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 0x14], ecx
jne 0x10077738
xor eax, eax
jmp 0x10077811
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
add ecx, 0xb8
push ebx
mov dword [ebp - 0x18], ecx
call fcn.10003f55
test eax, eax
je 0x1007775e
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10077811
push esi
call fcn.10019855
mov esi, eax
test esi, esi
je 0x10077810
push edi
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.1001949a
and dword [ebp - 4], 0
mov ecx, esi
call fcn.1001879a
lea ecx, [ebp - 0x24]
call fcn.1007e558
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test ebx, 0xffff0000
mov edi, eax
je 0x100777a2
xor esi, esi
jmp 0x10077801
movzx eax, bx
push 0x100f01c8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100777c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1007779e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1007779e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1007779e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x14]
push eax
push ebx
call fcn.10074dcd
test eax, eax
mov dword [ebp - 0x10], eax
je 0x100777fe
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.10003e70
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1007e410
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1007c8f2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp + 8]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007c98d
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
push dword [ebp + 8]
call esi
cmp eax, 0xea
je 0x1007c934
cmp eax, edi
jne 0x1007c97f
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax + 2]
push ebx
push eax
call fcn.100b2ba7
mov ebx, eax
cmp ebx, edi
pop ecx
je 0x1007c97b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1007c974
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
ja 0x1007c974
mov ecx, dword [ebp + 0x14]
push eax
push ebx
call fcn.1007c873
push ebx
call fcn.100b29e2
pop ecx
xor edi, edi
inc edi
pop ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop esi
jmp 0x1007c98f
xor eax, eax
pop edi
leave
ret 0x10
Function at 0x1007c994
Capabilities:
Set registry value

Disassembly:
mov eax, 0x100d78fe
call fcn.100b286c
push ecx
push ecx
push ebx
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push ebx
push 0xf003f
push ebx
xor esi, esi
push ebx
inc esi
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.1007e558
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x1007c9d5
xor esi, esi
jmp 0x1007c9fd
push dword [ebp + 0x28]
lea ecx, [ebp + 0x18]
push dword [ebp + 0x24]
push 3
push ebx
call fcn.1007e558
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x1007c9d1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.1007e410
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.1007e410
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x24

Function at 0x1007ca26
Capabilities:
Set registry value

Disassembly:
mov eax, 0x100d7920
call fcn.100b286c
push ecx
push ecx
push ebx
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 2
call fcn.1007e558
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x1007ca68
xor esi, esi
jmp 0x1007cab9
lea ecx, [ebp + 0x24]
call fcn.1007e67a
test eax, eax
jne 0x1007ca8c
lea ecx, [ebp + 0x24]
call fcn.1007e4d3
lea eax, [eax + eax + 1]
push eax
lea ecx, [ebp + 0x24]
call fcn.1007e558
push eax
jmp 0x1007ca93
push 1
push 0x100df794
push dword [ebp + 0x30]
lea ecx, [ebp + 0x18]
push ebx
call fcn.1007e558
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x1007ca64
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1007e410
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.1007e410
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1007e410
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x2c
Function at 0x1007cfc9
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100d79b4
call fcn.100b286c
sub esp, 0x330
mov eax, dword [0x10120240]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x320]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x1007d005
xor eax, eax
jmp 0x1007d0e6
mov dword [ebp + 0xc], ebx
push 0x208
lea eax, [ebp - 0x31c]
push ebx
push eax
call fcn.100b2930
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 0x328], 0x208
call fcn.100b2930
add esp, 0x18
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x32c]
push eax
push ebx
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x31c]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x104
push dword [ebp - 0x320]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
mov dword [ebp - 0x324], eax
jne 0x1007d0c8
mov eax, dword [ebp - 0x32c]
cmp eax, dword [ebp + 0x14]
jne 0x1007d0c8
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x338]
call fcn.1007e254
sub esp, 0xc
lea eax, [ebp - 0x338]
mov ecx, esp
mov dword [ebp - 0x33c], esp
push eax
mov dword [ebp - 4], ebx
call fcn.1007ed4f
mov ecx, dword [ebp + 0x10]
call fcn.1007f133
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x338]
call fcn.1007e410
inc dword [ebp + 0xc]
cmp dword [ebp - 0x324], ebx
je 0x1007d008
push dword [ebp - 0x320]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.100b29c1
pop ebx
leave
ret 0x10

Function at 0x1007d0fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10120240]
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
mov dword [ebp - 4], eax
jne 0x1007d11d
xor eax, eax
jmp 0x1007d1a1
lea eax, [ebp - 0x10c]
push eax
push 1
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007d19f
push 0x104
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.100b2930
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x104
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007d193
cmp dword [ebp + 8], 4
jne 0x1007d193
push 4
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x14]
call fcn.100b3370
xor edi, edi
add esp, 0xc
inc edi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
call fcn.100b29c1
leave
ret 0x10
Function at 0x1007d1ae
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1007d1f1
push esi
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
jmp 0x1007d1f3
xor eax, eax
pop ebp
ret 0x10

Function at 0x1007d1f7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100d79c6
call fcn.100b286c
sub esp, 0x14
push ebx
lea eax, [ebp + 8]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007d2e0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], ebx
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x10], 3
je 0x1007d2d2
cmp eax, 0xea
je 0x1007d253
cmp eax, ebx
jne 0x1007d2d2
mov eax, dword [ebp + 0xc]
push edi
lea eax, [eax + eax + 2]
push 2
push eax
call fcn.100b5329
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x1007d2ce
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
cmp eax, ebx
push edi
jne 0x1007d2c0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
ja 0x1007d2c0
lea ecx, [ebp - 0x20]
mov word [edi + eax*2], bx
call fcn.1007e254
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], ebx
call fcn.1007e46a
push edi
call fcn.100b29e2
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x20]
call fcn.1007e410
jmp 0x1007d2ce
call fcn.100b29e2
pop ecx
mov ecx, dword [ebp + 0x14]
call fcn.1007e575
xor ebx, ebx
inc ebx
pop edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
jmp 0x1007d2e2
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x1007d307
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10120240]
push 0x20a
mov dword [ebp + 0x19c], eax
lea eax, [ebp - 0x70]
push 0
push eax
mov dword [ebp - 0x7c], ecx
call fcn.100b2930
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x1ac]
push dword [ebp + 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1007d3ce
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push edi
mov ebx, 0x105
push ebx
lea eax, [ebp - 0x70]
push eax
push 0
push dword [ebp - 0x74]
call esi
mov edi, 0x103
jmp 0x1007d3b8
test eax, eax
jne 0x1007d3ac
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1007d3ac
lea eax, [ebp - 0x70]
push eax
call fcn.100b53e4
pop ecx
mov ecx, dword [ebp - 0x7c]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
call fcn.1007d307
push dword [ebp - 0x78]
call fcn.100b29e2
pop ecx
push ebx
lea eax, [ebp - 0x70]
push eax
push 0
push dword [ebp - 0x74]
call esi
cmp eax, edi
jne 0x1007d371
cmp dword [ebp - 0x74], 0
pop edi
pop esi
pop ebx
je 0x1007d3ce
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x1ac]
push dword [ebp + 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0x19c]
call fcn.100b29c1
add ebp, 0x1a0
leave
ret 8

Function at 0x1007d540
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 2
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1007d571
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 0xc

Function at 0x1007db6f
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push 0
push 0x419
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret 4
Function at 0x1007e0d7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x100d7b51
call fcn.100b286c
sub esp, 0x1c
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov ecx, edi
call fcn.1007e558
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007e1d4
test al, 0x10
jne 0x1007e1d4
push esi
lea ecx, [ebp - 0x1c]
call fcn.1007e247
and dword [ebp - 4], 0
push 0x2e
mov ecx, edi
call fcn.1007e97f
mov ecx, edi
mov esi, eax
call fcn.1007e4d3
sub eax, esi
dec eax
push eax
inc esi
push esi
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.1007ef13
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1007e46a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.1007e410
lea ecx, [ebp - 0x1c]
call fcn.1007e67a
test eax, eax
jne 0x1007e1be
push 0x100f2568
lea ecx, [ebp - 0x28]
call fcn.1007e254
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1007f09b
lea ecx, [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.1007e410
test esi, esi
je 0x1007e1be
mov ecx, dword [ebp - 0x10]
call fcn.1007e0ad
call fcn.100460e1
push 0x20001
push eax
mov ecx, edi
call fcn.1007e49f
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
test eax, eax
jne 0x1007e1ba
mov esi, 0xc3cc
jmp 0x1007e1c3
xor esi, esi
jmp 0x1007e1c3
mov esi, 0xc3cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1007e410
mov eax, esi
pop esi
jmp 0x1007e1d7
push 2
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1007e1e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.100460e1
mov ecx, edi
mov esi, eax
call fcn.1007e0ad
movzx eax, word [esp + 0xc]
push 0x100f2570
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1007e234
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1007e234
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1007e234
push 4
push eax
call dword [sym.imp.WINMM.dll_sndPlaySoundW]
test eax, eax
jne 0x1007e238
xor eax, eax
jmp 0x1007e242
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
ret 4

Function at 0x100800ce
Capabilities:
Capture webcam image

Disassembly:
push 0
push dword [esp + 8]
push 0x419
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
ret 4
Function at 0x10081631
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x100d7ff9
call fcn.100b286c
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.100862f5
and dword [ebp - 4], 0
lea ecx, [esi + 0x3c]
mov dword [esi], 0x100f2748
call fcn.1007e247
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.1007e247
lea edi, [esi + 0x58]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1007e247
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.1007e247
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call fcn.1007e247
push 0x30
mov byte [ebp - 4], 5
call fcn.100b29d4
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
mov byte [ebp - 4], 6
je 0x100816ae
call fcn.1008147c
jmp 0x100816b0
xor eax, eax
push 0xd8
mov byte [ebp - 4], 5
mov dword [esi + 0x48], eax
mov dword [esi + 4], eax
call fcn.100b29d4
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
mov byte [ebp - 4], 7
je 0x100816d9
call fcn.1000494e
jmp 0x100816db
xor eax, eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x38], eax
mov dword [esi + 0x80], 1
call fcn.10009968
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.100099c6
push 0x100df794
lea ecx, [ebp - 0x24]
mov dword [esi + 0x30], eax
call fcn.1007e254
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.1007e46a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.1007e410
and dword [esi + 0x2c], 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.10009971
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100824a1
Capabilities:
Capture webcam image

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100824b6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100824ba
xor eax, eax
jmp 0x100824ea
mov eax, dword [esi + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x419
push dword [esi + 0x24]
call edi
cmp eax, 0xffffffff
jne 0x100824da
xor eax, eax
jmp 0x100824e9
push dword [esp + 0xc]
push eax
push 0x41d
push dword [esi + 0x24]
call edi
pop edi
pop esi
ret 4
Function at 0x10085119
Capabilities:
Extract http body

Disassembly:
mov eax, 0x100d8853
call fcn.100b286c
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
mov esi, ecx
je 0x100852ac
push 0x100df794
lea ecx, [ebp - 0x28]
xor edi, edi
call fcn.1007e254
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.1004ba14
cmp eax, ebx
je 0x100852a0
add eax, 0x10
push eax
lea ecx, [ebp - 0x28]
call fcn.1007e46a
lea ecx, [ebp - 0x28]
call fcn.1007e67a
test eax, eax
jne 0x100852a0
mov eax, dword [esi + 0x108]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
cmp eax, ebx
jne 0x10085290
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x100852a0
lea edx, [ebp - 0x10]
push edx
push str._D_3
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
jne 0x10085280
cmp dword [ebp - 0x10], ebx
je 0x10085290
lea ecx, [ebp - 0x34]
call fcn.1007e247
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x24]
cmp eax, ebx
jne 0x10085275
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10085275
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0xf0]
cmp eax, ebx
jne 0x10085275
cmp dword [ebp - 0x14], ebx
je 0x10085275
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.1007e254
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1007e46a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1007e410
lea ecx, [ebp - 0x34]
call fcn.1007e67a
test eax, eax
jne 0x1008524d
lea ecx, [ebp - 0x28]
call fcn.1007e558
push eax
lea ecx, [ebp - 0x34]
call fcn.1007f010
cmp eax, ebx
jl 0x1008524d
inc edi
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, ebx
je 0x10085275
push dword [ebp + 8]
lea eax, [ebp - 0x28]
sub esp, 0xc
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.1007ed4f
mov ecx, esi
call fcn.10083cbc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.1007e410
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10085290
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x100852a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1007e410
mov ecx, dword [ebp - 0xc]
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x10087429
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x100d8cc6
call fcn.100b286c
sub esp, 0xc
push esi
push str.EI_warning_dialog_mutex_name_
lea ecx, [ebp - 0x18]
call fcn.1007e254
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.1007e558
push eax
lea ecx, [ebp - 0x18]
call fcn.1007ee1f
lea ecx, [ebp - 0x18]
call fcn.1007e49f
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x100874a9
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xb7
pop edi
jne 0x10087497
xor esi, esi
inc esi
jmp 0x10087499
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1007e410
mov eax, esi
jmp 0x100874b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1007e410
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4