joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488220
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x114]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
jne 0x488252
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
push esi
mov ecx, edi
call fcn.00487fb0
test eax, eax
jne 0x48826f
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10c
ret 4
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x488296
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x4882e4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.00487cc0
test eax, eax
jne 0x4882cd
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
inc esi
push 0x104
push edx
push esi
push eax
call ebx
test eax, eax
je 0x4882b3
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push 0x80000002
mov ecx, edi
call fcn.00487a90
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x488307
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 4

Function at 0x48fcc0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x48fd63
test eax, eax
jbe 0x48fd63
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x48fd63
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x48fd0e
xor esi, esi
jmp 0x48fd14
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x48fd3f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00493c20
add esi, eax
push esi
mov ebx, esi
call fcn.00493c20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x48fd20
pop ebp
test edi, edi
pop edi
jne 0x48fd63
test ebx, ebx
je 0x48fd63
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004c0550
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x490105
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49021d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49021d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004d347a
mov esi, eax
test esi, esi
je 0x49021d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49021d
mov ecx, esi
call fcn.0048ffa0
cmp edi, eax
jge 0x49021d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4901a3
mov dword [esp + 0x34], 1
jmp 0x4901fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49021d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0048d500
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x497010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push 0x80000001
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x497083
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x497078
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004c173f
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x405407
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x52cb90
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x57ce54], 1
jge 0x52cbff
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x52cbd5
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x52cbd5
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x52cbb2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x52cbeb
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x52cbf2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x52ccef
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x52ccc0
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x52ccb5
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x52cca9
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x52ccb0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x52ccef
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x52ccea
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x52ccd3
mov eax, dword [ebx + 8]
jmp 0x52ccef
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x52cce1
xor eax, eax
jmp 0x52ccef
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x52cc1f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4fada0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00401e88
mov eax, dword [0x57a2c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x57de68]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x4faf78
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x4faec7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x4faec7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x4faea5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x4fae29
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4faf31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x4faf98
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x4faf73
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4faf98
jmp 0x4fae02
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040327e
mov esp, ebp
pop ebp
ret
Function at 0x4fb030
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00401e88
mov eax, dword [0x57a2c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x57de68]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x4fb21b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x4fb166
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x4fb166
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x4fb142
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x4fb0b9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4fb1d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4fb23b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x4fb216
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x4fb23b
jmp 0x4fb092
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040327e
mov esp, ebp
pop ebp
ret
Function at 0x401100
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x402648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0x4042b8
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x104
call fcn.004021ee
lea eax, [esp + 8]
mov dword [esp + 0x1c], 0
push eax
push 0x20019
push 0
push str.SOFTWAREIBMBMMPath
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4011ec
push 0x104
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x10]
push edx
push 0
push 0x4042b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str._tppwrw32.dll
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 4], eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 4]
je 0x4011f8
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x401480
Capabilities:
Access peb ldr_data
Get kernel32 base address
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40268b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x20]
call fcn.00401050
lea ecx, [esi + 0x30]
mov dword [esp + 0x28], 0
call fcn.00401320
lea eax, [esp + 0x14]
lea edi, [esi + 4]
push eax
push 0x20019
lea ebp, [esi + 8]
push 0
mov ebx, 4
push str.SOFTWAREIBMBMMDataBMMLREF
push 0x80000002
mov dword [esi], 0x403218
mov dword [esp + 0x2c], ebx
mov dword [edi], 0
mov dword [ebp], 0
mov dword [esi + 0xc], 5
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0x32
mov dword [esi + 0x18], 0x258
mov dword [esi + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401609
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
push eax
mov eax, dword [esp + 0x24]
push str.LCDRefRateControl
push eax
mov dword [esp + 0x28], ebx
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
push 0
push str.PollingMethod
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0xc]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.PollingInterval
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x10]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.BrightnessThreshold
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x14]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.RefreshRateValue
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x18]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.SlowRefreshMaxTime
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
mov dword [esp + 0x20], ebx
push str.DefaultRefreshForceTime
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x40149a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40268b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x20]
call fcn.00401050
lea ecx, [esi + 0x30]
mov dword [esp + 0x28], 0
call fcn.00401320
lea eax, [esp + 0x14]
lea edi, [esi + 4]
push eax
push 0x20019
lea ebp, [esi + 8]
push 0
mov ebx, 4
push str.SOFTWAREIBMBMMDataBMMLREF
push 0x80000002
mov dword [esi], 0x403218
mov dword [esp + 0x2c], ebx
mov dword [edi], 0
mov dword [ebp], 0
mov dword [esi + 0xc], 5
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0x32
mov dword [esi + 0x18], 0x258
mov dword [esi + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401609
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
push eax
mov eax, dword [esp + 0x24]
push str.LCDRefRateControl
push eax
mov dword [esp + 0x28], ebx
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
push 0
push str.PollingMethod
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0xc]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.PollingInterval
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x10]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.BrightnessThreshold
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x14]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.RefreshRateValue
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x18]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.SlowRefreshMaxTime
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
mov dword [esp + 0x20], ebx
push str.DefaultRefreshForceTime
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x40a1e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f08b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00463898
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a262
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004614ad
mov eax, dword [eax]
push 0x48d1d0
push eax
call fcn.00453954
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463b23
test bl, bl
je 0x40a262
push 0x48d1d0
lea ecx, [esp + 0xc]
call fcn.00463eb3
push 0x490d4c
lea ecx, [esp + 0xc]
call fcn.00463eb3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a29e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463b23
jmp 0x40a369
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a322
lea edx, [esp + 0x7c]
push 0x490d48
push edx
call fcn.00453954
add esp, 8
test eax, eax
je 0x40a322
lea eax, [esp + 0x7c]
push 0x490d44
push eax
call fcn.00453954
add esp, 8
test eax, eax
je 0x40a322
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a2b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00463b23
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40ab60
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40abc2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc