joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a9a4
Capabilities:
Capture microphone audio
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x71], 0
jne 0x47ab5f
xor eax, eax
push ebp
push 0x47ab4e
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.winmm.dll_waveInGetNumDevs
test eax, eax
ja 0x47a9e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ab5f
mov eax, dword [ebp - 4]
add eax, 0x110c
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push 0x47a6e4
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1108], eax
push 0x14
push 2
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], esi
push esi
call sub.kernel32.dll_GlobalLock
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], ebx
mov word [ebx], 0x31
mov word [ebx + 2], 1
mov dword [ebx + 4], 0x1f40
mov dword [ebx + 8], 0x659
mov word [ebx + 0xc], 0x41
mov word [ebx + 0xe], 0
mov word [ebx + 0x10], 2
mov word [ebx + 0x12], 0x140
push 0x20000
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110c]
push eax
push ebx
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
call sub.winmm.dll_waveInOpen
test eax, eax
je 0x47aa8a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ab5f
mov byte [ebp - 5], 0
xor ebx, ebx
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 2
mov eax, dword [ebp - 4]
lea eax, [eax + esi*8 + 0x88]
mov edx, 0x20
call fcn.00407984
mov eax, edi
shl eax, 7
mov edx, dword [ebp - 4]
lea eax, [edx + eax*8 + 0x108]
mov edx, dword [ebp - 4]
mov dword [edx + edi*4 + 0x74], eax
xor eax, eax
mov al, bl
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*4 + 0x74]
mov edx, dword [ebp - 4]
mov dword [edx + esi*8 + 0x88], eax
mov eax, dword [ebp - 4]
mov dword [eax + esi*8 + 0x8c], 0x400
push 0x20
mov eax, dword [ebp - 4]
lea eax, [eax + esi*8 + 0x88]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
push eax
call sub.winmm.dll_waveInPrepareHeader
inc byte [ebp - 5]
cmp byte [ebp - 5], 4
jae 0x47ab2b
push 0x20
mov eax, dword [ebp - 4]
lea eax, [eax + esi*8 + 0x88]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
push eax
call sub.winmm.dll_waveInAddBuffer
inc ebx
cmp bl, 4
jne 0x47aa90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
push eax
call sub.winmm.dll_waveInStart
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ab58
mov eax, dword [ebp - 4]
mov byte [eax + 0x71], 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47ad60
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47af60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x8c]
mov edx, 0x64
call fcn.00407984
lea eax, [ebp - 0x8c]
push eax
push 0x64
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [ebp - 4], eax
xor ebx, ebx
mov al, byte [ebp - 0x8c]
cmp al, 0x41
je 0x47adc7
cmp al, 0x61
jne 0x47adcc
mov ebx, 4
push 1
call sub.kernel32.dll_SetErrorMode
cmp ebx, dword [ebp - 4]
jae 0x47af35
lea eax, [ebp - 0xc]
lea edx, [ebp + ebx - 0x8c]
call fcn.004048d8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ba0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExA
test eax, eax
jne 0x47ae25
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov esi, 4
lea eax, [ebp - 8]
mov edx, 0x47af78
call fcn.00404778
mov eax, dword [ebp - 0xc]
call fcn.00404ba0
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x47ae52
dec eax
je 0x47ae66
dec eax
je 0x47ae7a
jmp 0x47ae8c
lea eax, [ebp - 8]
mov edx, 0x47af78
call fcn.00404778
mov esi, 4
jmp 0x47ae8c
lea eax, [ebp - 8]
mov edx, 0x47af8c
call fcn.00404778
mov esi, 6
jmp 0x47ae8c
lea eax, [ebp - 8]
mov edx, 0x47afa0
call fcn.00404778
mov esi, 0xa
push dword [edi + 4]
push 0x47afb4
push dword [ebp - 0xc]
push 0x47afcc
push dword [ebp - 8]
push 0x47afe4
push 8
push 0
push 0x400
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.004056e0
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0045e57c
push dword [ebp - 0x90]
push 0x47affc
push 8
push 0
push 0x400
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.004056e0
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0045e57c
push dword [ebp - 0x94]
push 0x47b014
lea edx, [ebp - 0x98]
mov eax, esi
call fcn.0045e474
push dword [ebp - 0x98]
push 0x47b02c
lea eax, [edi + 4]
mov edx, 0xc
call fcn.00404a60
mov eax, dword [ebp - 0xc]
call fcn.004049a0
inc eax
add ebx, eax
cmp ebx, dword [ebp - 4]
jb 0x47addc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47af67
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.00404704
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404704
ret
Function at 0x47b3dc
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x47b50b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, edi
call fcn.00404778
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x47b524
mov edx, dword [ebp - 4]
call fcn.004049ec
mov eax, dword [ebp - 0x14c]
call fcn.00404ba0
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x47b4e0
cmp byte [ebp - 0x11c], 0x2e
je 0x47b4c5
push 0
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x148]
call fcn.0047b030
mov eax, dword [ebp - 0x148]
and eax, 0x10
cmp eax, 0x10
sete al
test al, bl
je 0x47b4c5
push dword [ebp - 4]
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404950
push dword [ebp - 0x150]
push 0x47b530
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404a60
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0047b3dc
pop ecx
lea eax, [ebp - 0x148]
push eax
push edi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47b450
push edi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b512
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404704
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404704
ret
Function at 0x47b688
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47b7c3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404778
mov eax, dword [ebp - 4]
call fcn.004049a0
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x47b6e2
lea eax, [ebp - 4]
mov edx, 0x47b7d8
call fcn.004049a8
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x47b7e4
mov edx, dword [ebp - 4]
call fcn.004049ec
mov eax, dword [ebp - 0x14c]
call fcn.00404ba0
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47b798
cmp byte [ebp - 0x11c], 0x2e
je 0x47b781
push 1
push 0x47b7e4
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x148]
mov eax, esi
call fcn.0047b030
mov eax, dword [ebp - 0x148]
and eax, 0x10
cmp eax, 0x10
jne 0x47b781
push dword [ebp - 4]
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404950
push dword [ebp - 0x150]
push 0x47b7d8
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404a60
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0047b688
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47b718
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b7ca
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404704
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404704
ret

Function at 0x47b7e8
Capabilities:
Delete file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x1e
call fcn.0040316c
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov eax, 0x47b830
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x14
push esp
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete al
add esp, 0x20
pop ebx
ret

Function at 0x47b834
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b8d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040316c
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 4
lea eax, [ebp - 0x24]
mov ecx, 0x47b8ec
mov edx, ebx
call fcn.004049ec
mov eax, dword [ebp - 0x24]
call fcn.00404ba0
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x28]
mov ecx, 0x47b8ec
mov edx, esi
call fcn.004049ec
mov eax, dword [ebp - 0x28]
call fcn.00404ba0
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x40
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b8db
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404704
ret
Function at 0x47b8f0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x47ba17
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
push ebx
lea eax, [ebp - 0xc]
push eax
call fcn.0045e3f8
mov eax, dword [ebp - 0xc]
call fcn.004049a0
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
jne 0x47b94a
mov eax, dword [ebp - 0xc]
call fcn.004049a0
push eax
lea eax, [ebp - 0xc]
call fcn.00404bf8
pop edx
mov byte [eax + edx - 1], 0
mov eax, dword [ebp - 0xc]
call fcn.0045e3b8
test al, al
jne 0x47b997
mov eax, dword [ebp - 0xc]
call fcn.004049a0
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x47b977
lea eax, [ebp - 0xc]
mov edx, 0x47ba34
call fcn.004049a8
jmp 0x47b984
lea eax, [ebp - 0xc]
mov edx, 0x47ba40
call fcn.004049a8
mov eax, dword [ebp - 0xc]
push eax
call sub.imagehlp.dll_MakeSureDirectoryPathExists
test eax, eax
jne 0x47b997
mov byte [ebp - 1], 0
jmp 0x47ba01
mov eax, ebx
call fcn.0045e994
test al, al
je 0x47b9af
mov eax, ebx
call fcn.00404ba0
push eax
call sub.kernel32.dll_DeleteFileA
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov eax, ebx
call fcn.00404ba0
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47b9e1
mov byte [ebp - 1], 0
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47ba01
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 8]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ba1e
lea eax, [ebp - 0xc]
call fcn.004046e0
ret

Function at 0x47ba44
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, dword [ebp - 0xc]
xor ebx, ebx
cmp esi, dword [ebp - 0xc]
jge 0x47ba99
push 0
push edi
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47ba90
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x47ba99
push 1
call sub.kernel32.dll_Sleep
jmp 0x47ba94
add esi, ebx
sub edi, ebx
cmp esi, dword [ebp - 0xc]
jl 0x47ba62
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor edx, edx
mov eax, ebx
call fcn.0045e924
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47bab0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0x10]
mov byte [ebp - 5], 1
push 0
push 0
push 4
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00404ba0
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47baf7
mov byte [ebp - 5], 0
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47bbee
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
sub esi, dword [ebp + 8]
test esi, esi
jl 0x47bb12
test esi, esi
jne 0x47bb21
cmp dword [ebp + 8], 0
jbe 0x47bb21
mov byte [ebp - 5], 0
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47bbee
mov edx, edi
add edx, 0x14
lea eax, [ebp - 0x30]
mov ecx, 0x20
call fcn.00407968
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x30]
mov eax, edi
add eax, 0x14
mov ecx, 0x20
call fcn.00407968
lea eax, [ebp - 0x48]
mov edx, 0x18
call fcn.00407984
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
mov edx, 0x10
call fcn.00407984
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 9], eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 9]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.0047ba44
inc eax
je 0x47bbee
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edi, eax
mov dword [ebp - 0x38], edi
push 0x20
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_TransmitFile
test eax, eax
jne 0x47bbda
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
je 0x47bbda
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_closesocket
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47bbee
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
push edi
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47eaa0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ec09
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404778
mov eax, dword [ebp - 0x10]
call fcn.0047e72c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x47eaf2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404c40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047f120
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47ebc7
xor eax, eax
push ebp
push 0x47ebc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047e89c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0047ec38
test al, al
je 0x47eb9e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004047d0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x47eb9e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404ba0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x47eb98
mov eax, dword [ebp - 0x14]
call fcn.00404ba0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004048d8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0047eaa0
dec ebx
cmp ebx, 0xffffffff
jne 0x47eb51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ebc7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0047e89c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404ba0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0047e888
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ec10
lea eax, [ebp - 0x3c]
call fcn.004046e0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404704
ret

Function at 0x47ec38
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0040316c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4a3b04]
cmp byte [edx + 0xc], 0
je 0x47ec9c
mov edx, dword [0x4a3af8]
cmp dword [edx], 2
jne 0x47ec9c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x47eca0
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 dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47ed58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0047ec38
test al, al
je 0x47ed3a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004047d0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x47ed3a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ba0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404ba0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004048d8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x47ecf3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ed5f
lea eax, [ebp - 0x2c]
call fcn.004046e0
lea eax, [ebp - 0xc]
call fcn.004046e0
ret

Function at 0x47ed68
Capabilities:
Query or enumerate registry value

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 dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47ee20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0047ec38
test al, al
je 0x47ee02
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004047d0
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x47ee02
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ba0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404ba0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004048d8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x47edbb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ee27
lea eax, [ebp - 0x2c]
call fcn.004046e0
lea eax, [ebp - 0xc]
call fcn.004046e0
ret
Function at 0x47f034
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0047e740
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404ba0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47f092
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a3848]
mov dl, 1
mov eax, dword [0x47e638]
call fcn.0040c884
call fcn.0040405c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47f09c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ba0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47f0f4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a3b10]
mov dl, 1
mov eax, dword [0x47e638]
call fcn.0040c884
call fcn.0040405c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047e770
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47f3ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47f503
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0047e89c
xor eax, eax
push ebp
push 0x47f4de
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047ec38
test al, al
je 0x47f4c2
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0047f2cc
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004047d0
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x47f4c2
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ba0
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x47f4be
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ba0
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004048d8
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0047f2cc
pop ecx
inc edi
dec ebx
jne 0x47f473
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f4e5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0047e89c
ret