joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451250
Capabilities:
Get socket status

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

Function at 0x451710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x472f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004512c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00451340
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00451340
lea ecx, [esi + 0xc]
call fcn.004648a9
lea ecx, [esi + 0x10]
call fcn.004648a9
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004528d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004528d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004528d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046491e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046491e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x452ac0
Capabilities:
Check for time delay via gettickcount

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

Function at 0x466cc2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x466cfa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00464d79
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464d51
jmp 0x466d06
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4683b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4683f9
call fcn.0046df27
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4683f9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4683f0
xor eax, eax
jmp 0x468401
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00468407
pop edi
pop esi
pop ebx
ret 4

Function at 0x46e457
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46e485
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e4a3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046e3bd
jmp 0x46e4a3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46e4a3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046e3bd
test edi, edi
mov eax, edi
jne 0x46e48d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1005958
Capabilities:
Encode data using xor

Disassembly:
cld
dec eax
push edi
jp 0x1005921
outsd dx, dword fs:[esi]
ja 0x1005998
and byte [ecx], bh
xor eax, 0x1065c094
xchg esp, eax
invalid
invalid
invalid
xchg esp, eax
shl byte [ebp + 0x10], 0x3d
adc al, 0xcc
dec edi
push ebx
cmp eax, 0x534fcc14
ja 0x1005985
dec edx
xor dh, byte [ebx - 0x35e32ed4]
cmp byte [esp + eax*2], dl
sbb dword [ebp - 0x32], ebp
jbe 0x100592c
cmp eax, 0x454e1a6f
imul ebp, dword [ecx - 0x25], 0x432420f1
adc ecx, ecx
dec ebp
or esp, dword [esp + edx*8 + 0x20]
xchg esp, eax
jne 0x10059c6
insd dword es:[edi], dx
push esp
lodsb al, byte [esi]
dec esi
inc esi
push esp
sub dword [esi], ecx
adc al, 0xee
bound esi, qword [ebx]
xor eax, 0x34841897
xor byte cs:[ebx + 0x1819dc2d], ch
test byte [esi + ebp], dh
xor byte [ebx + 0x1819dc2d], ch
sub al, 0x9c
jb 0x100591c
mov al, 0x42
pop eax
push eax
pop ss
xor al, 0x28
inc edi
mov al, 0x72
jbe 0x1005968
arpl word [edi + 0x7e], bx
popfd
popal
push ebp
imul ebp, ecx, 0x42
push 0x781449a6
xor al, 0x18
mov byte [ebx], dl
jp 0x10059a3
cmp dword [esi], eax
add ch, byte [edi + 0x33]
movsb byte es:[edi], byte [esi]
sbb al, 0xd
cmp al, 0x56
int1
xor byte [ebp + 0x61], bl
popal
cmpsb byte [esi], byte es:[edi]
dec esp
push edx
pop ss
xor al, 0xa3
dec esp
out 0xf3, eax
push 0x40b8bea7
and eax, 0x41432704
outsb dx, byte [esi]
invalid
jle 0x10059d4
fcmovnb st(0), st(7)
test dword [ecx + ebx*4 - 0x6c], ebp
mov dword [ebp + 0x36830a54], ecx
ror byte [ebx + 0xd], 0xed
shl byte [0x2d75af31], 0x7c
sbb eax, 0xc208de20
push es
pop esi
jmp 0x9212090b

Function at 0x1006409
Capabilities:
Encode data using xor

Disassembly:
dec esp
push ds
push ecx
push edi
xor byte [eax], dh
je 0x10063cd
and esp, edx
invalid
xchg ebp, eax
cmp dword [ebx + edi*2 - 0x37064ef0], edi
pop esp
sar ch, 1
mov ah, 0x22
in eax, 0x43
xchg edx, eax
in al, 0xad
dec eax
push edx
cmpsd dword [esi], dword es:[edi]
js 0x100640b
leave
mov cl, 0xc8
in eax, dx
mov eax, dword [0xd9b6b5c5]
call 0xb1400cc9
invalid
mov al, 0xcd
int 0xf8
clc
jne 0x10063cc
jg 0x10063e4
bsr ebp, dword [ebp - 0x381f0e3d]
in eax, 0xb5
sal byte [edi - 0x37e10d84], 0xf0
sar byte [esi - 0x3d413bf4], 1
dec edx
mov dl, 0x6d
mov eax, dword [0xbbe5f3a]
invalid
Function at 0x100eb3a
Capabilities:
Set registry value

Disassembly:
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
mov edi, edi
push esi
mov esi, ecx
call fcn.0100ebca
test eax, eax
je 0x100da94
push 0x40000042
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x100da94
call fcn.0100bebf
test eax, eax
je 0x10255ad
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x100daa6
push 1
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0
push 0
push 0x590
push dword [esi + 4]
mov dword [esi + 0x43c], 1
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0xf3
push 0x130
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
pop esi
jmp fcn.0100ed3a
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x321
push 0x320
mov ecx, esi
call fcn.01030259
pop esi
ret

Function at 0x100ebca
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x100ec1c
push 0x100bde0
push 0x80000001
mov esi, ecx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0100bebf
test eax, eax
je 0x102558c
cmp dword [ebp - 4], 2
sbb eax, eax
neg eax
pop esi
leave
ret
mov eax, dword [ebp - 4]
sub eax, 0
je 0x10255a5
dec eax
jne 0x102559e
mov ecx, esi
call fcn.0100ed3a
xor eax, eax
jmp 0x100ec16
xor eax, eax
inc eax
jmp 0x100ec16
Function at 0x100ee4f
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x1046080]
push esi
push 0x220
xor esi, esi
push esi
mov dword [ebp - 4], eax
call fcn.0100be6d
test eax, eax
je 0x100eefc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x100eefc
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, esi
je 0x100eefb
lea eax, [ebp - 0x20c]
push eax
mov word [edi], si
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0100660f
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x100ef08
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.01006409
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x102601c
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001aff
leave
ret
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0100660f
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0101e2d9
test byte [ebp - 0x86c], 0x10
je 0x1026072
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x102609f
push 0x10260c4
push 5
lea eax, [ebp - 0x414]
push eax
push 0x1032ff7
push 0x14
push dword [0x10460dc]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x10260b5
lea eax, [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x102601c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100eefb
Function at 0x100f010
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x1d
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x100f140
cmp dword [edi + 0x54c], esi
je 0x100f140
push 0x222
push esi
call fcn.0100be6d
test eax, eax
jne 0x100f140
push 0x40000073
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x100f140
push ebx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
mov ebx, 0x100f21c
push ebx
mov edi, 0x100f190
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x10250ce
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x20019
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x100f13f
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x100f184
push dword [ebp - 0x10]
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
test eax, eax
je 0x100f147
push 0x3c
pop ebx
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x100f158
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x100f14e
mov ecx, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0100f23f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x100f136
mov dword [ebp - 0xc], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
cmp dword [ebp - 8], esi
je 0x100f0f1
jmp 0x100f133
mov ebx, dword [ebp - 8]
cmp ebx, esi
jle 0x100f136
jmp 0x100f110
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10251b0
push 0x1025138
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x102510a
cmp dword [ebp - 8], esi
je 0x102510a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
jmp 0x102511c
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffe2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0100f23f
push 2
push 8
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
jmp 0x100f0b3
Function at 0x101985b
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1046080]
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
xor ebx, ebx
inc ebx
push ebx
mov dword [ebp - 4], eax
push 0x10
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push edi
call esi
push ebx
push 2
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 0xb
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 7
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 8
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
push ebx
push 6
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001aff
leave
ret

Function at 0x10199ec
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
mov ebx, 0x1019a38
push ebx
mov edi, 0x100bde0
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x1022eae
cmp eax, 3
je 0x1022eae
pop edi
pop esi
pop ebx
leave
ret
push 0x1d
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x1022f59
push 0x220
push 0
call fcn.0100be6d
test eax, eax
jne 0x1022efb
push 0x225
push eax
call fcn.0100be6d
test eax, eax
jne 0x1022efb
push 0x227
push eax
call fcn.0100be6d
test eax, eax
jne 0x1022efb
push 0x22c
push eax
call fcn.0100be6d
test eax, eax
je 0x1022f59
push 0x1022f68
push 0x1012b54
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1022f26
push 0x1022f60
push 1
call eax
push 3
push 1
push 0
push 0x100b
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0
push 0x1a
call dword [sym.imp.SHLWAPI.dll_SHSendMessageBroadcastW]
push 4
lea eax, [ebp - 4]
push eax
push 4
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x1019a31
and dword [ebp - 4], 0
jmp 0x1022f43
Function at 0x102baaa
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x102bac3
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi]
and dword [esi + 8], 0
test eax, eax
je 0x102bbc9
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x102bc00
push eax
mov dword [ebp - 4], ebx
call edi
test eax, eax
jne 0x102bbc7
cmp dword [ebp - 8], ebx
jne 0x102bbc7
cmp dword [ebp - 4], ebx
jne 0x102bbc7
cmp dword [ebp - 0xc], eax
je 0x102bbc7
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov ebx, 0x102bbe8
push ebx
push dword [esi]
call edi
test eax, eax
jne 0x102bbc7
cmp dword [ebp - 8], 3
jne 0x102bbc7
test dword [ebp - 4], 3
jne 0x102bbc7
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esi + 8], eax
je 0x102bbc7
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
push dword [esi]
call edi
test eax, eax
jne 0x102bbba
cmp dword [ebp - 8], 3
jne 0x102bbba
mov eax, dword [ebp - 4]
test al, 3
jne 0x102bbba
shr eax, 2
mov edi, eax
cmp edi, 0xa
jle 0x102bbba
cmp edi, 0xca
jge 0x102bbba
xor ecx, ecx
inc ecx
cmp ecx, edi
mov dword [esi + 0x10], edi
jge 0x102bbb8
mov eax, dword [esi + 8]
add eax, 4
mov edx, dword [eax]
cmp edx, dword [eax - 4]
jbe 0x102bbb6
cmp edx, 0xffff
ja 0x102bbb6
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x10]
jl 0x102bb9e
cmp ecx, edi
je 0x102bbc7
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [esi + 8], 0
pop edi
pop ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x102bbd5
mov dword [esi + 0xc], eax
jmp 0x102bbe3
mov dword [esi + 0xc], 0x102bc28
mov dword [esi + 0x10], 0x1a
pop esi
leave
ret

Function at 0x102bc95
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x102bcd0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x102bcd0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 1
push dword [esi + 4]
push 4
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ecx, esi
pop esi
jmp fcn.0102baaa
pop esi
ret

Function at 0x102bc97
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x102bcd0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x102bcd0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 1
push dword [esi + 4]
push 4
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ecx, esi
pop esi
jmp fcn.0102baaa
pop esi
ret

Function at 0x102dad8
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0x419
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret 4
Function at 0x1033a07
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4cc
mov eax, dword [0x1046080]
push ebx
xor ebx, ebx
push ebx
mov dword [ebp - 4], eax
push 0x16
lea eax, [ebp - 0x478]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1033af6
cmp dword [ebp + 8], ebx
push esi
lea eax, [ebp - 0x270]
mov esi, 0x136
je 0x1033a4e
push 0x1033b28
jmp 0x1033a53
push 0x1033b08
push esi
push eax
call fcn.0100660f
push edi
lea eax, [ebp - 0x478]
push eax
push esi
lea eax, [ebp - 0x270]
push eax
call fcn.0101e2d9
push 0x1033b04
push esi
lea eax, [ebp - 0x270]
push eax
call fcn.0101e2d9
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c8]
rep stosd dword es:[edi], eax
inc eax
mov dword [ebp - 0x4a0], eax
mov word [ebp - 0x49c], ax
xor eax, eax
mov dword [ebp - 0x488], ebx
lea edi, [ebp - 0x484]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x4cc]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x270]
push eax
push ebx
mov dword [ebp - 0x4cc], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x1033af5
push dword [ebp - 0x488]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x484]
call esi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01001aff
leave
ret 4
Function at 0x1036c59
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1046080]
push esi
lea ecx, [ebp - 0x41c]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x20019
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push esi
push eax
push 0x80000002
mov dword [ebp - 0x428], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1036da1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], esi
call ebx
test eax, eax
jne 0x1036d63
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x41c]
call fcn.0103d24b
test eax, eax
jl 0x1036d3f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
test eax, eax
mov dword [ebp - 0x424], eax
je 0x1036d3f
lea eax, [ebp - 0x414]
push eax
push 0
push 0x143
push dword [ebp - 0x418]
call esi
test eax, eax
push dword [ebp - 0x424]
jl 0x1036d39
push eax
push 0x151
push dword [ebp - 0x418]
call esi
jmp 0x1036d3f
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc dword [ebp - 0x420]
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
call ebx
test eax, eax
je 0x1036cd4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x428]
push 0x80000001
push dword [ebp - 0x418]
call fcn.01036baf
test eax, eax
pop edi
pop ebx
jne 0x1036da1
push dword [ebp - 0x428]
push 0x80000002
push dword [ebp - 0x418]
call fcn.01036baf
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001aff
leave
ret 8
Function at 0x10397d8
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push edi
push 0x44d
push dword [ebp + 8]
call esi
mov edi, 0x10460f8
push eax
mov ecx, edi
call fcn.01030abc
mov ebx, 0x44e
push ebx
push dword [ebp + 8]
call esi
push eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.0103385b
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0103677e
mov eax, dword [ebp - 4]
shr eax, 0x10
test ax, ax
jne 0x103984f
xor eax, eax
cmp dword [ebp - 8], eax
je 0x1039851
test byte [ebp - 0x14], 1
jne 0x1039851
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push dword [ebp + 8]
call fcn.01038be8
xor eax, eax
cmp word [ebp - 4], ax
je 0x1039862
push eax
push eax
push eax
push eax
mov ecx, edi
call int.010025fb
push 0x44f
push dword [ebp + 8]
call esi
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x28], ebx
jne 0x103989a
cmp dword [ebp - 0x20], 0
jne 0x103989a
push 0x3e8
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x1c], eax
je 0x103989a
push eax
mov dword [ebp - 0x1c], eax
call fcn.0103741d
push 0x453
push dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.010367e9
push ebx
push 0
push 0x402
push dword [0x10464a0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.0101d74e
push 0x451
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
neg eax
sbb eax, eax
push 2
inc eax
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0x1017be8
mov ebx, 0x100bde0
push ebx
call edi
push 0x450
push dword [ebp + 8]
call esi
push 2
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0x1015e6c
push ebx
call edi
push 0
push 0x3e8
push 8
push 0x1029cf8
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x103ac2e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], esi
mov dword [ebp + 8], eax
je 0x103ac61
push esi
lea ecx, [ebp + 8]
push ecx
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x103ac61
xor eax, eax
jmp 0x103ac8d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x103ac7d
xor edi, edi
inc edi
cmp dword [ebp + 0xc], esi
je 0x103ac8b
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x14