joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014cc0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov dword [edi], 0
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x10014cf3
cmp eax, 0x79
jne 0x10014cea
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x10014cf3
cmp dword [esi + 0xa8], 0x20
jne 0x10014d67
cmp dword [esp + 0x10], 0xf100
jne 0x10014d67
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x10014d24
mov ecx, esi
call fcn.10014c30
mov eax, dword [esi + 4]
push 0
push 0xffffffffffffffff
push 0x448
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x10014d67
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x10014d67
test byte [esi + 0x84], 0x40
jne 0x10014d5c
mov al, byte [esi + 0x85]
test al, 2
je 0x10014d53
test al, 4
jne 0x10014d53
test al, 8
je 0x10014d53
push 1
mov ecx, esi
call fcn.10014540
mov ecx, esi
call fcn.10014c00
jmp 0x10014d61
cmp eax, 0x20
je 0x10014d67
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x10017710
Capabilities:
Capture webcam image

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx]
push esi
mov esi, ecx
cmp eax, dword [esi + 4]
je 0x10017733
mov ecx, dword [esp + 0x14]
pop esi
mov dword [ecx], 0
mov eax, 1
pop ebx
ret 0xc
push edi
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
cmp eax, dword [esi + 4]
je 0x10017763
test byte [esi + 0x58], 4
je 0x10017759
mov eax, dword [esi + 0xac]
test eax, eax
jne 0x10017759
call edi
mov dword [esi + 0xac], eax
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xc]
push 0
push eax
mov eax, dword [esi + 4]
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov bl, byte [esi + 0x84]
push 1
and bl, 0xcf
push eax
mov ecx, esi
mov byte [esi + 0x84], bl
call fcn.100174a0
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x1001d430
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push str.MUTEX_HWNDLIST
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esp], eax
je 0x1001d4b2
push ebx
push ebp
push esi
push edi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, 0x1009b008
jmp 0x1001d470
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001d48b
mov ecx, dword [esi]
push edi
push ebx
push ebp
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1001d491
mov dword [esi], 0
add esi, 4
cmp esi, 0x1009b208
jl 0x1001d470
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1001d6d0
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x196c
call fcn.10068c40
push ebx
push esi
push edi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x578], bl
mov ecx, 0xff
lea edi, [esp + 0x579]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x57c]
push ecx
lea edx, [esp + 0x34]
push edx
push str.UninstallString
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallSogou_Express
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], 0x400
call esi
xor eax, eax
mov byte [esp + 0x178], bl
mov ecx, 0xff
lea edi, [esp + 0x179]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x580]
push ecx
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov byte [esp + 0x978], bl
mov ecx, 0x3ff
lea edi, [esp + 0x979]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edx, edx
stosb byte es:[edi], al
lea eax, [esp + 0x178]
push eax
mov dword [esp + 0x18], edx
push 0x1008200c
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x980]
mov dword [esp + 0x24], edx
push 0xfff
push ecx
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x30], edx
call fcn.1006ae8e
add esp, 0x10
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x998]
push ecx
lea edx, [esp + 0x19c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1001d88f
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call edi
mov dword [esp + 0xc], ebx
xor eax, eax
mov byte [esp + 0x78], bl
mov ecx, 0x3f
lea edi, [esp + 0x79]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x2c]
push edx
push str.Version
push str.SoftwareSohu_RDDownload
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x100
call esi
test eax, eax
jne 0x1001d877
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x14
mov dword [esp + 0xc], eax
jl 0x1001d825
mov edi, dword [esp + 0xc]
xor eax, eax
cmp edi, 0x14
setne al
dec eax
and eax, 0xfffffffd
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f310
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1007b46b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x104
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x268]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x25c], 0
push edi
call fcn.1006af19
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push str._s_d._s
push ecx
call fcn.10004e20
mov esi, dword [esp + 0x20]
add esp, 0x14
lea edx, [esp + 0x114]
push edx
push esi
call ebx
cmp eax, 0xffffffff
jne 0x1001f373
push 0
push 0x40000080
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push 0xffffffffffffffff
call edi
add esi, 0xfffffff0
push esi
call fcn.10002a40
mov edi, dword [esp + 0x268]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x25c], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1001f405
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x254]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x254
ret

Function at 0x1001fb90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1007b4f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x18], 3
lea ebx, [esi + 0x34]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x10081bf2
mov ecx, ebx
mov byte [esp + 0x20], 4
call fcn.100048d0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1001fc50
Capabilities:
Create process on windows
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007b51b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
mov eax, dword [0x10098a04]
push ebx
push esi
xor ebx, ebx
push edi
mov ecx, 0x10098a04
mov dword [esp + 0x10], ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebx
push str.SoftwareSohu_RDDownload
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x498], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001fd9c
mov byte [esp + 0x78], bl
mov ecx, 0xff
lea edi, [esp + 0x79]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
stosb byte es:[edi], al
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.GameSetupPath
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001fd0a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001fd9c
lea eax, [esp + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001fd11
sub eax, edx
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x1c]
call fcn.100048d0
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x30], 0x44
mov ecx, 0x10
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x10082c50
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1001fd9c
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
call edi
mov edx, dword [esp + 0x10]
push str.GameSetupPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esi - 0x10]
mov dword [esp + 0x484], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001fdc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020410
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10020470
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x10081bf2
push edx
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10020479
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10c
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10020490
mov ecx, dword [esp + 0x114]
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
call fcn.100048d0
mov eax, 1
add esp, 0x10c
ret
Function at 0x10020fe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007b640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov dword [esp + 0x14], 0
call dword [eax + 0xc]
mov esi, eax
mov edi, dword [esp + 0x1c]
push 5
push 0
push edi
push str.Iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, esi
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10021048
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x1002106c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10023220
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1007b88e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esp + 8], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esi], 0x10083264
mov dword [esi + 0x24], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.10040ac0
mov dword [esi + 0xbc], edi
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
mov ecx, dword [esp + 0xc]
add eax, 0x10
mov dword [esi + 0xc0], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100280f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [ecx]
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
ret 4

Function at 0x10028b50
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov esi, ecx
push 0xea6c
mov dword [eax], 0
mov ecx, dword [esi + 4]
push 0x419
push ecx
mov dword [esi + 0x5c], 0
call edi
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [esi + 4]
push 0x41d
push eax
call edi
mov eax, dword [esp + 8]
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0xc]
push ecx
add eax, 0x19
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x10
ret 0x10
Function at 0x1002a970
Capabilities:
Capture webcam image

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1007be08
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov dword [eax], 0
mov eax, dword [esp + 0x40]
push 0xea6c
mov esi, ecx
mov ecx, dword [esi + 4]
movsx ebp, ax
push 0x419
shr eax, 0x10
push ecx
movsx ebx, ax
call edi
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esi + 4]
push 0x41d
push eax
call edi
push ebx
push ebp
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1002aafa
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov dword [esp + 0x2c], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esi + 0x178]
mov byte [esp + 0x34], 1
call fcn.10012240
test eax, eax
je 0x1002aa97
call fcn.1001d2c0
cmp eax, 1
mov eax, dword [esp + 0x40]
je 0x1002aa66
push 0
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.10002a40
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.1001f070
add esp, 0xc
jmp 0x1002aa97
push eax
lea ecx, [esp + 0x14]
call fcn.100084d0
mov eax, dword [eax]
mov esi, dword [esi + 0x168]
mov ecx, dword [esi]
push 0
push 0
push 0
push 0
push eax
push esi
mov byte [esp + 0x44], 2
call dword [ecx + 0x2c]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002aaba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002aae0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
mov eax, dword [esi + 4]
push 0
push 1
push 0x419
push eax
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x41d
push edx
call edi
push ebx
push ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1002ab86
mov ecx, dword [esi + 4]
push 0
push 0xea67
push 0x419
push ecx
call edi
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esi + 4]
push 0x41d
push eax
call edi
mov ecx, dword [esp + 0x1c]
push 0x7f84
push 0
mov dword [esi + 0x2f0], ebp
mov dword [esi + 0x2f4], ecx
mov dword [esi + 0x2ec], 1
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x1002aff0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
push ebp
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
push edi
lea ebp, [esi + 0x20]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov ecx, 0x16
mov edi, ebp
rep stosd dword es:[edi], eax
lea edi, [esi + 0x17c]
lea ebx, [esi + 0x7c]
mov byte [edi], al
mov byte [ebx], al
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x78], eax
mov dword [ebp], 0x58
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1002b060
mov eax, dword [esp + 0x14]
cmp eax, 5
jae 0x1002b067
cmp eax, 4
jne 0x1002b060
cmp dword [esp + 0x18], 0x5a
jae 0x1002b067
mov dword [ebp], 0x4c
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
mov dword [esi + 0x5c], edx
mov edx, dword [esi + 0x54]
or eax, 0x880020
or edx, eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], edx
mov dword [esi + 0x2c], ecx
mov edx, dword [0x10098994]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0xb0]
test eax, eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x64], 0x1002a1c0
je 0x1002b0d5
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x18
Function at 0x1002c690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x10098870
mov dword [ebp - 4], esi
call fcn.10046080
mov ecx, 0x10096d8c
call fcn.10057a70
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x1002c7d6
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002c6f9
push ebx
push ecx
mov eax, esp
push ebx
push 0x40000800
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
lea ecx, [ebp - 0x14]
mov dword [eax], ecx
push edi
lea ecx, [esi + 0x130]
call fcn.1002c3b0
push ebx
call fcn.10006e60
mov esi, dword [0x10098994]
add esp, 4
push 0xf1
push 0x65
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x1002c7d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x1002c7d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, ebx
je 0x1002c7d6
movzx edi, word [esi + 6]
lea eax, [edi + edi*4]
shl eax, 2
add eax, 3
and eax, 0xfffffffc
call fcn.10068c40
xor edx, edx
xor ecx, ecx
cmp edi, ebx
mov eax, esp
jle 0x1002c79e
add eax, 8
cmp word [esi + ecx*2 + 8], bx
je 0x1002c77c
mov dword [eax - 8], edx
movzx edi, word [esi + ecx*2 + 8]
inc edx
mov dword [eax - 4], edi
mov byte [eax], 4
mov byte [eax + 1], bl
jmp 0x1002c78c
mov dword [eax - 8], 8
mov dword [eax - 4], ebx
mov byte [eax], bl
mov byte [eax + 1], 1
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
movzx edi, word [esi + 6]
inc ecx
add eax, 0x14
cmp ecx, edi
jl 0x1002c761
mov esi, dword [ebp - 4]
push ebx
push ecx
mov eax, esp
push ebx
push 0x5601894d
push 0x10081bf2
push ecx
mov dword [eax], 0xe800
mov eax, esp
lea edx, [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [esi + 0x134]
push eax
mov ecx, esi
call fcn.1002c430
cmp eax, ebx
jne 0x1002c7e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 4]
mov dword [esi + 0x154], ecx
mov eax, 1
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002cad0
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x30
test eax, eax
push ebx
push esi
push edi
mov esi, ecx
je 0x1002cbae
mov eax, dword [esi + 0x268]
test eax, eax
je 0x1002caf4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xeac4
push 0x419
push edx
lea edi, [esi + 0x35c]
call ebx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
add eax, 3
push eax
push 0x41d
push edx
call ebx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
test edi, edi
je 0x1002cb3e
lea eax, [edi + 4]
jmp 0x1002cb40
xor eax, eax
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002cbbe
push eax
push ecx
mov eax, esp
push 0
push 0x50000000
mov dword [eax], 0x2382
push 0
push ecx
mov eax, esp
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x640
mov dword [esp + 0x30], 0x15
mov dword [eax], edx
mov eax, dword [esi + 4]
push eax
mov ecx, edi
call fcn.1002c330
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x30
ret 8
mov esi, dword [esi + 0x268]
test esi, esi
je 0x1002cbbe
mov edx, dword [esi]
push esi
call dword [edx + 0x20]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x30
ret 8
Function at 0x1002cbd0
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
mov al, byte [esp + 4]
sub esp, 0x40
test al, al
push ebp
push esi
push edi
mov esi, ecx
je 0x1002ccf1
mov eax, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xea93
push 0x419
push eax
lea edi, [esi + 0x35c]
call ebp
mov edx, dword [esi + 4]
lea ecx, [esp + 0x2c]
push ecx
inc eax
push eax
push 0x41d
push edx
call ebp
test eax, eax
je 0x1002ccf1
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x3c]
push eax
push ecx
call ebp
test edi, edi
je 0x1002cc36
lea eax, [edi + 4]
jmp 0x1002cc38
xor eax, eax
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002cc99
push eax
push ecx
mov eax, esp
push 0
mov dword [eax], 0x2382
mov edx, dword [esp + 0x54]
push 0x50000000
push 0
push ecx
mov eax, esp
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x640
mov dword [eax], ecx
mov edx, dword [esi + 4]
push edx
mov ecx, edi
call fcn.1002c330
mov eax, dword [0x10096d64]
push eax
mov ecx, edi
call fcn.10022e70
mov edx, dword [esi + 0x360]
lea ecx, [esp + 0xc]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
add eax, edi
mov edi, dword [esp + 0x18]
push 0
add ecx, ebp
mov dword [esp + 0x18], eax
sub edi, edx
push edi
sub eax, ecx
push eax
mov eax, dword [esi + 0x360]
push edx
push ecx
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x360]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
add esp, 0x40
ret 4