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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x50308
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x504ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], bl
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00026f34
mov eax, dword [ebp - 0x18]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5049f
lea eax, [ebp - 0xc]
mov edx, 0x400
call fcn.000271f0
mov dword [ebp - 8], 0x3ff
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x504e0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50492
cmp dword [ebp - 0x10], 1
jne 0x50492
cmp dword [ebp - 8], 0
jbe 0x50492
cmp dword [ebp - 8], 0x3fc
ja 0x50492
test bl, bl
jne 0x50401
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00013ee0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.000272e8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.000273cc
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x28]
mov eax, 0x50504
call fcn.000273cc
mov edx, dword [ebp - 0x28]
pop eax
call fcn.000140b8
jne 0x50492
mov edx, 0x400
mov eax, dword [ebp - 0xc]
call fcn.00018100
mov dword [ebp - 8], 0x3ff
xor eax, eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x50508
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50492
cmp dword [ebp - 0x10], 1
jne 0x50492
cmp dword [ebp - 8], 0
jbe 0x50492
cmp dword [ebp - 8], 0x3fc
ja 0x50492
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0xc]
call fcn.00013ee0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.000272e8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.000273cc
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x38]
mov eax, 0x50504
call fcn.000273cc
mov edx, dword [ebp - 0x38]
pop eax
call fcn.000140b8
sete byte [ebp - 1]
lea eax, [ebp - 0xc]
mov edx, 0x400
call fcn.00027218
cmp dword [ebp - 0x14], 0
je 0x504ae
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504d5
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.00013d3c
ret
Function at 0x50538
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x50540
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x50706
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], bl
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00026f34
mov eax, dword [ebp - 0x18]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x506d7
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.000271f0
mov dword [ebp - 0xc], 0x3ff
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x50718
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x506ca
cmp dword [ebp - 8], 1
jne 0x506ca
cmp dword [ebp - 0xc], 0
jbe 0x506ca
cmp dword [ebp - 0xc], 0x3fc
ja 0x506ca
test bl, bl
jne 0x50639
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.000272e8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.000273cc
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x28]
mov eax, 0x5073c
call fcn.000273cc
mov edx, dword [ebp - 0x28]
pop eax
call fcn.000140b8
jne 0x506ca
mov edx, 0x400
mov eax, dword [ebp - 0x10]
call fcn.00018100
mov dword [ebp - 0xc], 0x3ff
xor eax, eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x50740
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x506ca
cmp dword [ebp - 8], 1
jne 0x506ca
cmp dword [ebp - 0xc], 0
jbe 0x506ca
cmp dword [ebp - 0xc], 0x3fc
ja 0x506ca
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.000272e8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.000273cc
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x38]
mov eax, 0x5073c
call fcn.000273cc
mov edx, dword [ebp - 0x38]
pop eax
call fcn.000140b8
sete byte [ebp - 1]
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.00027218
cmp dword [ebp - 0x14], 0
je 0x506e6
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5070d
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.00013d3c
ret
Function at 0x50780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x50788
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x5094e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], bl
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00026f34
mov eax, dword [ebp - 0x18]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5091f
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.000271f0
mov dword [ebp - 8], 0x3ff
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x50960
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50912
cmp dword [ebp - 0xc], 1
jne 0x50912
cmp dword [ebp - 8], 0
jbe 0x50912
cmp dword [ebp - 8], 0x3fc
ja 0x50912
test bl, bl
jne 0x50881
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.000272e8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.000273cc
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x28]
mov eax, 0x50984
call fcn.000273cc
mov edx, dword [ebp - 0x28]
pop eax
call fcn.000140b8
jne 0x50912
mov edx, 0x400
mov eax, dword [ebp - 0x10]
call fcn.00018100
mov dword [ebp - 8], 0x3ff
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x50988
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50912
cmp dword [ebp - 0xc], 1
jne 0x50912
cmp dword [ebp - 8], 0
jbe 0x50912
cmp dword [ebp - 8], 0x3fc
ja 0x50912
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.000272e8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.000273cc
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x38]
mov eax, 0x50984
call fcn.000273cc
mov edx, dword [ebp - 0x38]
pop eax
call fcn.000140b8
sete byte [ebp - 1]
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.00027218
cmp dword [ebp - 0x14], 0
je 0x5092e
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50955
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.00013d3c
ret
Function at 0x509b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x509bc
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x50b82
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], bl
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
lea eax, [ebp - 0x18]
call fcn.00026f34
mov eax, dword [ebp - 0x18]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x50b53
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.000271f0
mov dword [ebp - 0xc], 0x3ff
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x50b94
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50b46
cmp dword [ebp - 8], 1
jne 0x50b46
cmp dword [ebp - 0xc], 0
jbe 0x50b46
cmp dword [ebp - 0xc], 0x3fc
ja 0x50b46
test bl, bl
jne 0x50ab5
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.000272e8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.000273cc
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x28]
mov eax, 0x50bb8
call fcn.000273cc
mov edx, dword [ebp - 0x28]
pop eax
call fcn.000140b8
jne 0x50b46
mov edx, 0x400
mov eax, dword [ebp - 0x10]
call fcn.00018100
mov dword [ebp - 0xc], 0x3ff
xor eax, eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x50bbc
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50b46
cmp dword [ebp - 8], 1
jne 0x50b46
cmp dword [ebp - 0xc], 0
jbe 0x50b46
cmp dword [ebp - 0xc], 0x3fc
ja 0x50b46
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00013ee0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.000272e8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.000273cc
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x38]
mov eax, 0x50bb8
call fcn.000273cc
mov edx, dword [ebp - 0x38]
pop eax
call fcn.000140b8
sete byte [ebp - 1]
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.00027218
cmp dword [ebp - 0x14], 0
je 0x50b62
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b89
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.00013d3c
ret
Function at 0x50be8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x50bf0
push ecx
push ebx
xor eax, eax
push ebp
push 0x50d0c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
lea eax, [ebp - 0x14]
call fcn.00026f34
mov eax, dword [ebp - 0x14]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x50cdd
lea eax, [ebp - 8]
mov edx, 0x400
call fcn.000271f0
mov dword [ebp - 0x10], 0x3ff
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x50d1c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50cd0
cmp dword [ebp - 0xc], 1
jne 0x50cd0
cmp dword [ebp - 0x10], 0
jbe 0x50cd0
cmp dword [ebp - 0x10], 0x3fc
ja 0x50cd0
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00013ee0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.000272e8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.000273cc
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x24]
mov eax, 0x50d4c
call fcn.000273cc
mov edx, dword [ebp - 0x24]
pop eax
call fcn.000140b8
sete bl
lea eax, [ebp - 8]
mov edx, 0x400
call fcn.00027218
cmp dword [ebp - 4], 0
je 0x50cec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50d13
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00013d3c
ret

Function at 0x50d5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffff0
xor ebx, ebx
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
push 0x50df4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x50dd4
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 0xc], 4
xor eax, eax
mov dword [esp], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0x50e30
mov eax, dword [esp + 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50dd4
cmp dword [esp], 4
jne 0x50dd4
cmp dword [esp + 4], 1
sete bl
cmp dword [esp + 8], 0
je 0x50de5
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [esp + 8], eax
mov eax, ebx
add esp, 0x10
pop ebx
ret
Function at 0x50e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
mov edi, eax
xor eax, eax
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0x50f68
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x50f45
mov dword [esp + 0xc], 8
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, esp
xor ecx, ecx
mov edx, 8
call fcn.00012c70
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x50f94
mov eax, dword [esp + 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50eeb
cmp dword [esp + 0x10], 3
jne 0x50eeb
cmp dword [esp + 0xc], 8
jne 0x50eeb
mov eax, dword [esp]
mov dword [edi], eax
mov eax, dword [esp + 4]
mov dword [edi + 4], eax
mov bl, 1
mov dword [esp + 0xc], 8
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, esp
xor ecx, ecx
mov edx, 8
call fcn.00012c70
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x50fa0
mov eax, dword [esp + 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x50f45
cmp dword [esp + 0x10], 3
jne 0x50f45
cmp dword [esp + 0xc], 8
jne 0x50f45
mov eax, dword [esp]
mov dword [esi], eax
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
cmp dword [esp + 8], 0
je 0x50f56
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [esp + 8], eax
mov eax, ebx
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x5134c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, edi
xor ecx, ecx
mov edx, 0x1c
call fcn.00012c70
lea eax, [edi + 0x14]
push eax
push 0
lea eax, [edi + 0x10]
push eax
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 8]
push eax
push 0
lea eax, [edi + 4]
push eax
push edi
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete bl
push 0x2a
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x513a5
mov eax, dword [edi + 4]
add dword [edi + 4], eax
mov eax, dword [edi + 0xc]
add dword [edi + 0xc], eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x513ac
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5146f
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x51451
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.0005134c
test al, al
je 0x51451
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00013e00
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x51451
inc ebx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0001416c
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0001416c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00013ee0
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 8]
dec ebx
jne 0x51406
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51476
lea eax, [ebp - 0x2c]
call fcn.00013d18
lea eax, [ebp - 0xc]
call fcn.00013d18
ret

Function at 0x523f8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x523fe
ret

Function at 0x547b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x54801
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x547e8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x547d8
jmp 0x54801
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x547e9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x606c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x254f90], 0
sete dl
or al, dl
jne 0x60808
mov eax, dword [0x254f94]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x254f90]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x607d7
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x254f90]
call fcn.00036e0c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x607cf
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x607cf
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x607cf
mov eax, dword [ebp - 0x14]
call fcn.000689d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x607cf
push ebp
call fcn.00060684
pop ecx
test al, al
jne 0x607cf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x6078b
mov eax, dword [ebp - 0x14]
call fcn.0006735c
dec eax
jle 0x607cf
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.000131cc
cmp byte [ebp - 1], 0
je 0x607cf
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x607cf
mov edx, dword [ebp - 0x14]
mov eax, dword [0x254f94]
call fcn.0005fed0
inc edi
dec esi
jne 0x6071e
mov eax, dword [0x254f94]
cmp dword [eax + 8], 0
jle 0x607ef
mov eax, dword [0x254f94]
call fcn.0005ff60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x60808
push ebp
mov eax, dword [ebp - 0x18]
call fcn.000604ec
pop ecx
test al, al
jne 0x60808
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x66368
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x66399
je 0x663f3
sub eax, 7
je 0x663ba
dec eax
je 0x663e4
sub eax, 0x17
je 0x66498
jmp 0x664d6
add eax, 0xffffff00
sub eax, 9
jb 0x66484
add eax, 0xffffff09
sub eax, 0xb
jb 0x6644c
jmp 0x664d6
mov eax, ebx
call fcn.00078124
mov edi, eax
test edi, edi
je 0x66536
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x6653f
jmp 0x66536
test byte [ebx + 0x44], 0x20
jne 0x6653f
jmp 0x66536
mov edx, esi
mov eax, ebx
call fcn.00063968
cmp dword [esi + 0xc], 0xffffffff
jne 0x6653f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00018158
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.000624a4
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00066240
test eax, eax
je 0x6653f
mov dword [esi + 0xc], 1
jmp 0x6653f
mov edx, esi
mov eax, ebx
call fcn.000662d4
test al, al
je 0x66536
cmp dword [esi + 0xc], 0
jne 0x6653f
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.000689d0
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x6653f
mov eax, ebx
call fcn.00063004
test al, al
jne 0x6653f
jmp 0x66536
mov eax, ebx
call fcn.000689d0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x66536
cmp dword [0x16c368], 0
je 0x66536
mov eax, dword [0x16c368]
cmp ebx, dword [eax + 0x24]
jne 0x66536
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x16c368]
call fcn.0006389c
jmp 0x66536
mov eax, dword [0x254f58]
cmp byte [eax + 0x20], 0
je 0x66536
mov eax, dword [0x254f58]
cmp dword [eax + 0x1c], 0
je 0x66536
mov eax, dword [esi]
mov edx, dword [0x254f58]
cmp eax, dword [edx + 0x1c]
jne 0x66536
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00078068
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.000131cc
jmp 0x6653f
mov edx, esi
mov eax, ebx
call fcn.00063968
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret