joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58cec4
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x58cecc
push ecx
xor eax, eax
push ebp
push 0x58d0c5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dl, 1
jne 0x58d040
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [0x6e55e4]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, 0x58d0d8
call fcn.00404ed8
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x58d090
lea edx, [ebp - 0x18]
mov eax, dword [0x6e525c]
mov eax, dword [eax]
call fcn.005d1e94
push dword [ebp - 0x18]
push 0x58d0e4
lea eax, [ebp - 0x1c]
mov edx, dword [0x6e386c]
mov edx, dword [edx]
call fcn.004054bc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040561c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.00404e54
mov eax, dword [ebp - 0xc]
call fcn.00404e8c
push eax
lea eax, [ebp - 0xc]
call fcn.004050e4
push eax
push 1
push 0
push 0x58d0e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x58d035
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [0x6e55e4]
mov edx, dword [edx]
lea eax, [ebp - 0x20]
mov ecx, 0x58d0f4
call fcn.00404ed8
mov eax, dword [ebp - 0x20]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x58d035
push 0x58d10c
lea edx, [ebp - 0x24]
mov eax, dword [0x6e53c4]
mov eax, dword [eax]
call fcn.0048edd4
push dword [ebp - 0x24]
push 0x58d118
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f4c
mov eax, dword [ebp - 0xc]
call fcn.00404e8c
push eax
lea eax, [ebp - 0xc]
call fcn.004050e4
push eax
push 1
push 0
push 0x58d0e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x58d090
mov edx, dword [0x6e55e4]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, 0x58d0f4
call fcn.00404ed8
mov eax, dword [ebp - 0x28]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
mov edx, dword [0x6e55e4]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x58d0d8
call fcn.00404ed8
mov eax, dword [ebp - 0x2c]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58d0cc
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404bc4
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004052f0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404bc4
ret
Function at 0x58d124
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x58d12c
push ecx
xor eax, eax
push ebp
push 0x58d325
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dl, 1
jne 0x58d2a0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [0x6e55e4]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, 0x58d338
call fcn.00404ed8
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x58d2f0
lea edx, [ebp - 0x18]
mov eax, dword [0x6e4314]
mov eax, dword [eax]
call fcn.005d1e94
push dword [ebp - 0x18]
push 0x58d344
lea eax, [ebp - 0x1c]
mov edx, dword [0x6e386c]
mov edx, dword [edx]
call fcn.004054bc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040561c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.00404e54
mov eax, dword [ebp - 0xc]
call fcn.00404e8c
push eax
lea eax, [ebp - 0xc]
call fcn.004050e4
push eax
push 1
push 0
push 0x58d348
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x58d295
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [0x6e55e4]
mov edx, dword [edx]
lea eax, [ebp - 0x20]
mov ecx, 0x58d354
call fcn.00404ed8
mov eax, dword [ebp - 0x20]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x58d295
push 0x58d36c
lea edx, [ebp - 0x24]
mov eax, dword [0x6e53c4]
mov eax, dword [eax]
call fcn.0048edd4
push dword [ebp - 0x24]
push 0x58d378
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f4c
mov eax, dword [ebp - 0xc]
call fcn.00404e8c
push eax
lea eax, [ebp - 0xc]
call fcn.004050e4
push eax
push 1
push 0
push 0x58d348
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x58d2f0
mov edx, dword [0x6e55e4]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, 0x58d354
call fcn.00404ed8
mov eax, dword [ebp - 0x28]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
mov edx, dword [0x6e55e4]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, 0x58d338
call fcn.00404ed8
mov eax, dword [ebp - 0x2c]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58d32c
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404bc4
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004052f0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404bc4
ret
Function at 0x5dac34
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040507c
mov eax, dword [ebp - 0xc]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5dae55
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00409af8
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x6e3338]
push eax
call sub.ole32.dll_IsEqualGUID
cmp al, 1
je 0x5dacab
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00409af8
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x6e5234]
push eax
call sub.ole32.dll_IsEqualGUID
cmp al, 1
jne 0x5dacb2
mov bl, 1
jmp 0x5dae25
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5dae25
mov eax, 4
call fcn.00402b48
mov dword [ebp - 0x20], eax
mov eax, 4
call fcn.00402b48
mov dword [ebp - 0x24], eax
xor esi, esi
lea eax, [ebp - 0x18]
mov edx, 0x105
call fcn.00405218
push 0x105
lea eax, [ebp - 0x18]
call fcn.004050e4
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyA
mov edi, eax
test edi, edi
jne 0x5dadf5
mov edx, dword [ebp - 0x18]
mov eax, 0x5dae70
call fcn.004051d0
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00405218
cmp dword [ebp - 0x18], 0
je 0x5dadf5
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push dword [ebp - 8]
push 0x5dae7c
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404f4c
mov eax, dword [ebp - 0x38]
call fcn.0040508c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5dadf5
mov eax, dword [ebp - 0x20]
mov dword [eax], 1
lea eax, [ebp - 0x1c]
mov edx, 0x400
call fcn.00405218
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x400
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
call fcn.004050e4
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0x5dae80
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5dade7
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
jbe 0x5dade7
mov edx, eax
dec edx
lea eax, [ebp - 0x1c]
call fcn.00405218
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00409d38
test eax, eax
jne 0x5dade7
mov bl, 1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp bl, 1
je 0x5dae02
inc esi
cmp edi, 0x103
jne 0x5dacf5
mov edx, 4
mov eax, dword [ebp - 0x24]
call fcn.00402b78
mov edx, 4
mov eax, dword [ebp - 0x20]
call fcn.00402b78
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dae5c
lea eax, [ebp - 0x38]
call fcn.00404ba0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404bc4
ret
Function at 0x5e1d94
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov esi, eax
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x5e1fa0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 4
call fcn.00402b48
mov dword [ebp - 8], eax
mov eax, 4
call fcn.00402b48
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [0x6e5e98]
mov eax, dword [eax]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5e1f7d
xor esi, esi
lea eax, [ebp - 0x14]
mov edx, 0x105
call fcn.00405218
push 0x105
lea eax, [ebp - 0x14]
call fcn.004050e4
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyA
mov ebx, eax
test ebx, ebx
jne 0x5e1f67
mov edx, dword [ebp - 0x14]
mov eax, 0x5e1fb8
call fcn.004051d0
mov edx, eax
dec edx
lea eax, [ebp - 0x14]
call fcn.00405218
cmp dword [ebp - 0x14], 0
je 0x5e1f67
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [0x6e5e98]
push dword [eax]
push 0x5e1fc4
push dword [ebp - 0x14]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404f4c
mov eax, dword [ebp - 0x30]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5e1f67
mov eax, dword [ebp - 8]
mov dword [eax], 1
lea eax, [ebp - 0x18]
mov edx, 0x400
call fcn.00405218
mov dword [edi], 0x400
push edi
lea eax, [ebp - 0x18]
call fcn.004050e4
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x5e1fc8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5e1eec
mov eax, dword [edi]
test eax, eax
jbe 0x5e1eec
mov edx, eax
dec edx
lea eax, [ebp - 0x18]
call fcn.00405218
lea eax, [ebp - 0x1c]
mov edx, 0x400
call fcn.00405218
mov dword [edi], 0x400
push edi
lea eax, [ebp - 0x1c]
call fcn.004050e4
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x5e1fd8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5e1f32
mov eax, dword [edi]
test eax, eax
jbe 0x5e1f32
mov edx, eax
dec edx
lea eax, [ebp - 0x1c]
call fcn.00405218
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
call fcn.00409af8
lea eax, [ebp - 0x40]
push eax
call sub.ole32.dll_IsEqualGUID
cmp al, 1
jne 0x5e1f67
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00404bf4
mov ebx, 0x103
inc esi
cmp ebx, 0x103
jne 0x5e1e0a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e1fa7
lea eax, [ebp - 0x30]
call fcn.00404ba0
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404bc4
ret
Function at 0x5f1564
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff68
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x5f1582
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x5f1592
mov bl, 1
jmp 0x5f16b5
xor ebx, ebx
mov dword [esp + 4], 0x94
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x5f15ae
mov ebx, dword [esp + 0x14]
cmp ebx, 2
jne 0x5f15ba
cmp dword [esp + 8], 4
ja 0x5f15de
dec ebx
jne 0x5f166d
cmp dword [esp + 8], 4
ja 0x5f15de
cmp dword [esp + 8], 4
jne 0x5f166d
cmp dword [esp + 0xc], 0
jbe 0x5f166d
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x5f1625
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x5f1679
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x5f1679
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x5f16ab
push 0
push esi
call sub.user32.dll_ShowWindow
push 2
push esi
call sub.user32.dll_ShowWindow
push 1
push esi
call sub.user32.dll_ShowWindow
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5f3904
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x5f395c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x5f3968
call sub.user32.dll_FindWindowA
push 0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x6e3838]
cmp byte [eax], 1
jne 0x5f394e
push 0
push 0x5f3978
push 0xc017
push 0
push 0
call sub.user32.dll_FindWindowExA
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f3963
ret
Function at 0x5f3980
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x5f39d8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x5f39e4
call sub.user32.dll_FindWindowA
push 9
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x6e3838]
cmp byte [eax], 1
jne 0x5f39ca
push 9
push 0x5f39f4
push 0xc017
push 0
push 0
call sub.user32.dll_FindWindowExA
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f39df
ret

Function at 0x5f4cf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040507c
mov eax, dword [ebp - 8]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5f4d8e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040508c
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x5f4d73
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x5f4d6a
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f4d95
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bc4
ret

Function at 0x5f4da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040507c
mov eax, dword [ebp - 8]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5f4e71
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040508c
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5f4e56
mov eax, 4
call fcn.00402b48
mov ebx, eax
mov eax, 4
call fcn.00402b48
mov esi, eax
mov dword [ebx], 4
mov dword [esi], 4
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5f4e35
mov edi, dword [ebp - 0x10]
mov edx, 4
mov eax, esi
call fcn.00402b78
mov edx, 4
mov eax, ebx
call fcn.00402b78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f4e78
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bc4
ret
Function at 0x5f4e84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040507c
mov eax, dword [ebp - 8]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5f4fa1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404ba0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.0040508c
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5f4f7e
mov eax, 4
call fcn.00402b48
mov esi, eax
mov eax, 4
call fcn.00402b48
mov ebx, eax
mov dword [esi], 1
mov dword [ebx], 0x400
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.00405218
push ebx
lea eax, [ebp - 0x10]
call fcn.004050e4
push eax
push esi
push 0
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x5f4f5d
mov eax, dword [ebx]
test eax, eax
jbe 0x5f4f4b
mov edx, eax
dec edx
lea eax, [ebp - 0x10]
call fcn.00405218
jmp 0x5f4f53
lea eax, [ebp - 0x10]
call fcn.00404ba0
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404bf4
mov edx, 4
mov eax, ebx
call fcn.00402b78
mov edx, 4
mov eax, esi
call fcn.00402b78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f4fa8
lea eax, [ebp - 0x10]
call fcn.00404ba0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bc4
ret
Function at 0x5f5278
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x5f537c
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0xc], eax
mov ebx, 2
mov ecx, ebx
mov eax, 1
shl eax, cl
and eax, dword [ebp - 0xc]
je 0x5f534f
lea eax, [ebp - 0x14]
mov edx, ebx
add dl, 0x41
call fcn.00404d88
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0x5f5394
call fcn.00404ed8
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
cmp esi, 5
jne 0x5f52f6
cmp byte [ebp - 1], 1
je 0x5f52fc
cmp byte [ebp - 1], 0
jne 0x5f534f
lea eax, [ebp - 0x1c]
mov edx, ebx
add dl, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
call fcn.00403234
mov edx, 0x5f5398
lea eax, [ebp - 0x20]
mov cl, 2
call fcn.00403204
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x18]
call fcn.0040547c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov ecx, esi
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x24]
inc ebx
cmp ebx, 0x1a
jne 0x5f52ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f5383
lea eax, [ebp - 0x18]
call fcn.004052d8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404bc4
ret

Function at 0x5f539c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x5f5498
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0xc], eax
mov ebx, 2
mov ecx, ebx
mov eax, 1
shl eax, cl
and eax, dword [ebp - 0xc]
je 0x5f5473
lea eax, [ebp - 0x14]
mov edx, ebx
add dl, 0x41
call fcn.00404d88
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0x5f54b0
call fcn.00404ed8
mov eax, dword [ebp - 0x10]
call fcn.0040508c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
cmp esi, 5
jne 0x5f541a
cmp byte [ebp - 1], 1
je 0x5f5420
cmp byte [ebp - 1], 0
jne 0x5f5473
lea eax, [ebp - 0x1c]
mov edx, ebx
add dl, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
call fcn.00403234
mov edx, 0x5f54b4
lea eax, [ebp - 0x20]
mov cl, 2
call fcn.00403204
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x18]
call fcn.00404e14
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov ecx, esi
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x24]
inc ebx
cmp ebx, 0x1a
jne 0x5f53d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f549f
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404bc4
ret
Function at 0x5f5a20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040507c
xor eax, eax
push ebp
push 0x5f5b4a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x5f5b27
mov eax, 4
call fcn.00402b48
mov ebx, eax
mov eax, 8
call fcn.00402b48
mov dword [ebp - 0xc], eax
xor edi, edi
mov eax, 0x400
mov dword [ebx], eax
lea edx, [ebp - 0x14]
xchg edx, eax
call fcn.00405218
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0
push ebx
lea eax, [ebp - 0x14]
call fcn.004050e4
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov esi, eax
test esi, esi
jne 0x5f5aee
lea eax, [ebp - 0x14]
mov edx, dword [ebx]
call fcn.00405218
push dword [ebp - 8]
push 0x5f5b60
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404f4c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.005f5a20
inc edi
test esi, esi
je 0x5f5a8d
mov edx, 4
mov eax, ebx
call fcn.00402b78
mov edx, 8
mov eax, dword [ebp - 0xc]
call fcn.00402b78
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 8]
call fcn.0040508c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f5b51
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 8]
call fcn.00404ba0
ret