joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10051af
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push str.SHELL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x14], edi
je 0x10052cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHBrowseForFolder
push edi
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10052ba
push 0xc3
push edi
call esi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x10052ba
push str.SHGetPathFromIDList
push edi
call esi
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x10052ba
cmp byte [0x100d0e0], bl
mov esi, 0x100d0e0
jne 0x1005255
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.USER32.dll_CharPrevA]
add eax, esi
push eax
push esi
call edi
cmp byte [eax], 0x5c
mov dword [ebp - 4], eax
jne 0x1005255
push eax
push esi
call edi
cmp byte [eax], 0x3a
je 0x1005255
mov eax, dword [ebp - 4]
mov byte [eax], bl
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov byte [edi], bl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0x1003034
mov dword [ebp - 0x1c], esi
call dword [ebp - 8]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x10052a8
push esi
push eax
call dword [ebp - 0xc]
cmp byte [0x100d0e0], bl
je 0x10052a2
push esi
push dword [ebp + 0x14]
push edi
call fcn.01001ede
push dword [ebp + 8]
call dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
cmp byte [edi], bl
setne al
jmp 0x10052e1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push 0x10
push ebx
push ebx
push 0x4c1
jmp 0x10052d7
push ebx
push 0x10
push ebx
push ebx
push 0x4c2
push dword [ebp + 8]
call fcn.010037d6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x10052ed
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
inc ebx
call fcn.010074bb
test eax, eax
je 0x100535b
cmp dword [0x100d29c], 0
jne 0x100534f
test byte [0x100def8], bl
jne 0x100534f
push 6
push 0
push 0x1003740
push dword [0x100cd68]
mov dword [0x100d4c4], esi
push 0x7d3
push dword [0x100db04]
call fcn.01004b3e
sub eax, 6
je 0x100534f
dec eax
je 0x1005363
sub eax, 0x832
jne 0x100534f
mov dword [0x100d29c], ebx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
xor ebx, ebx
jmp 0x100535b
Function at 0x10057ce
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100c2c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x8fc
push ebx
push 0x100d200
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ebx
mov dword [0x100db04], edi
call sub.msvcrt.dll_memset
push 0x32c
push ebx
push 0x100dee0
call sub.msvcrt.dll_memset
push 0x104
push ebx
push 0x100d0e0
call sub.msvcrt.dll_memset
add esp, 0x24
push 0x7f
mov esi, 0x100d214
push esi
push 0x10014ec
mov dword [0x100d4ac], 1
call fcn.0100312f
cmp eax, ebx
je 0x1005a2a
cmp eax, 0x80
ja 0x1005a2a
push ebx
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [0x100cd6c], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 4
push 0x100daf4
push 0x10014e0
call fcn.0100312f
test eax, eax
jne 0x10058ae
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.010037d6
mov dword [0x100d0c4], 0x80070714
jmp 0x1005a3a
test byte [0x100daf4], 0xc0
je 0x1005947
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x10014d0
call fcn.0100312f
test eax, eax
je 0x100588f
lea eax, [ebp - 0x108]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [0x100cd70], eax
je 0x1005947
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1005947
test byte [0x100daf4], 0x80
je 0x1005916
push ebx
push 0x10
push ebx
push esi
push 0x54b
push ebx
call fcn.010037d6
jmp 0x100592c
push 4
push 0x20
push ebx
push esi
push 0x524
push ebx
call fcn.010037d6
cmp eax, 6
je 0x1005947
push dword [0x100cd70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100d0c4], 0x800700b7
jmp 0x1005a3a
push dword [ebp - 0x110]
mov dword [0x100d0c8], ebx
call fcn.01004311
test eax, eax
jne 0x100596b
push ebx
push 0x10
push ebx
push ebx
push 0x520
jmp 0x1005a34
cmp byte [0x100defa], bl
je 0x1005982
push 0x100defa
call fcn.010023d4
jmp 0x1005a3a
push 0xa
push 0x10014c4
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x10059a2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10c], eax
cmp dword [0x100c2bc], ebx
je 0x10059b0
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100dee4], ebx
je 0x10059bd
xor eax, eax
inc eax
jmp 0x1005a3c
push dword [ebp - 0x10c]
call fcn.01004bb1
test eax, eax
je 0x1005a3a
mov ax, word [0x100d0cc]
cmp ax, 1
je 0x10059e4
cmp ax, 2
je 0x10059e4
cmp ax, 3
jne 0x10059b8
test word [0x100daf4], 0x100
je 0x10059b8
test byte [0x100def8], 1
jne 0x10059b8
call fcn.010018b8
test eax, eax
jne 0x10059b8
push 0x83e
push 0x547
push 0x10019f9
push ebx
push 0x7d6
push dword [0x100db04]
call fcn.01004b3e
cmp eax, 0x83d
jne 0x1005a3a
jmp 0x10059b8
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.010037d6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006b33
leave
ret 0xc
Function at 0x100662d
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100c2c4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp word [0x100def8], di
jne 0x1006678
cmp dword [0x100dee4], edi
jne 0x100666f
call fcn.01003d67
test eax, eax
jne 0x1006666
xor eax, eax
jmp 0x1006790
cmp word [0x100def8], di
jne 0x1006678
call fcn.01004ef0
test eax, eax
je 0x100665f
call fcn.01005612
test eax, eax
je 0x100665f
call fcn.01006342
test eax, eax
je 0x100665f
push ebx
push esi
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x10012d4
push esi
lea eax, [ebp - 0x10c]
push eax
call fcn.01007460
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, edi
mov ebx, 0x100d2a4
je 0x10066dd
push 0x1001548
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x10066dd
push edi
push ebx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x100dee4], edi
jne 0x10066fd
cmp dword [0x100daf0], edi
jne 0x10066fd
call fcn.01004873
test eax, eax
je 0x1006771
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x1006724
push edi
push 0x10
push edi
push edi
push 0x4bc
push edi
call fcn.010037d6
call fcn.010035be
mov dword [0x100d0c4], eax
jmp 0x1006771
cmp dword [0x100deec], edi
jne 0x1006735
call fcn.01005e20
test eax, eax
je 0x1006771
test byte [0x100e208], 0xc0
jne 0x1006752
movzx eax, word [0x100d0cc]
push eax
call fcn.01001d98
mov dword [0x100d1e4], eax
jmp 0x1006758
mov dword [0x100d1e4], edi
cmp dword [0x100dee4], edi
jne 0x1006775
cmp dword [0x100daf0], edi
jne 0x1006775
call fcn.01005ea4
test eax, eax
jne 0x1006775
xor eax, eax
jmp 0x100678e
cmp word [0x100def8], di
jne 0x100678b
cmp dword [0x100dee4], edi
jne 0x100678b
call fcn.0100511d
xor eax, eax
inc eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.01006b33
leave
ret

Function at 0x1006eb0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1006ec3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1006ebf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1006ef0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1006f2f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1006f25
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1006f31
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1006f15
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10074bb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10074d2
xor eax, eax
jmp 0x10074da
shr eax, 4
not eax
and eax, 1
pop ebp
ret 4

Function at 0x10077d6
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0100777b

Function at 0x1008b36
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x1008b75
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x1008b50
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x1008b91
dec edi
je 0x1008b8a
dec edi
jne 0x1008b96
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc
Function at 0x421660
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x421672
mov eax, dword [0x4f909f]
shl eax, 2
mov dword [0x4f90a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004eb5d0
pop edx
call fcn.004eb1d0
call fcn.004ebaec
push 0
call fcn.004ecde4
pop ecx
push 0x4f9048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4f90a7], eax
push 0
jmp fcn.004f5934

Function at 0x42af6c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
mov eax, dword [ebp + 0xc]
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
jne 0x42af8b
xor eax, eax
jmp 0x42affb
push 0x224
push 0
lea edx, [ebp - 0x224]
push edx
call fcn.004ebd6f
add esp, 0xc
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0x224
push ecx
push ebx
call sub.KERNEL32.DLL_Module32First
test eax, eax
jne 0x42afc0
xor eax, eax
jmp 0x42affb
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x204]
push ecx
call sub.KERNEL32.DLL_lstrcmpiA
test eax, eax
jne 0x42afe2
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x208]
jmp 0x42affb
lea edx, [ebp - 0x224]
push edx
push ebx
call sub.KERNEL32.DLL_Module32Next
test eax, eax
jne 0x42afc0
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431788
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x504ecc
push 0xa
push 0x43181c
mov eax, dword [0x504e68]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x4317ac
call fcn.0045b490
push ebx
mov eax, dword [0x504e68]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x4317c3
call fcn.0045b490
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x4317d5
call fcn.0045b490
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x504ed0], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x504ed4], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x504ed8], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x504edc], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x504ee0], ecx
add edx, dword [eax + 0x14]
mov dword [0x504ee4], edx
pop esi
pop ebx
ret

Function at 0x447200
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44729e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x447262
cmp byte [ebx + 0x10], 0
jne 0x447262
cmp byte [ebx + 0x3c], 0
jne 0x447262
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x447283
lea edx, [ebp - 4]
mov eax, dword [0x5047bc]
call fcn.0046ed20
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4389fc]
call fcn.00458fd0
call fcn.0046aae4
jmp 0x447283
lea edx, [ebp - 8]
mov eax, dword [0x5047bc]
call fcn.0046ed20
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4389fc]
call fcn.00458fd0
call fcn.0046aae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4472a5
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046bbec
ret

Function at 0x447b1c
Capabilities:
Suspend 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]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x447b6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00447184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x447b83
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x447b8c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00447184
dec esi
jne 0x447bae
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x44c414
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 - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44c58f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0046bc48
mov eax, dword [ebp - 4]
call fcn.0044bcac
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x44c466
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0046c3f0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0044d0c0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44c545
xor eax, eax
push ebp
push 0x44c53e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044c014
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044c5c4
test al, al
je 0x44c51c
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0046bd30
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x44c51c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0046bc80
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044bf74
test al, al
je 0x44c516
mov eax, dword [ebp - 8]
call fcn.0046bc80
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0046bdb0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0044c414
dec ebx
cmp ebx, 0xffffffff
jne 0x44c4c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c545
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044c014
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.0046bc80
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044c000
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044bf74
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c596
lea eax, [ebp - 0x3c]
call fcn.0046bbe4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046bbec
ret
Function at 0x44c630
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 - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x44c6e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0044c5c4
test al, al
je 0x44c6ca
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0046bd30
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x44c6ca
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0046bc80
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0046bc80
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0046bdb0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x44c683
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c6ef
lea eax, [ebp - 0x2c]
call fcn.0046bbe4
lea eax, [ebp - 4]
call fcn.0046bbe4
ret

Function at 0x44cf9c
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
movzx eax, byte [ebp + 8]
call fcn.0044bd20
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.0046bc80
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044bf74
test al, al
jne 0x44d004
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x504b64]
mov dl, 1
mov eax, dword [0x44aad0]
call fcn.004591d4
call fcn.0046aae4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44d010
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.0046bc80
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0044bf74
test al, al
jne 0x44d071
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x504b68]
mov dl, 1
mov eax, dword [0x44aad0]
call fcn.004591d4
call fcn.0046aae4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044bd50
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 0x44d670
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 - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44d798
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.0044c014
xor eax, eax
push ebp
push 0x44d773
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.0044c5c4
test al, al
je 0x44d757
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0044d550
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0046bd30
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x44d757
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0046bc80
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044bf74
test al, al
je 0x44d753
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0046bc80
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0046bdb0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0044d550
pop ecx
inc edi
dec ebx
jne 0x44d6fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d77a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0044c014
ret
Function at 0x44d7a8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44d9f6
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 - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0044c014
xor eax, eax
push ebp
push 0x44d9cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044c5c4
test al, al
je 0x44d9b0
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0046bd30
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x44d9b0
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0046bc80
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044bf74
test al, al
je 0x44d9a4
mov eax, dword [ebp - 4]
call fcn.0046bc80
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0046bdb0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044d0c0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44d9a4
xor eax, eax
push ebp
push 0x44d99d
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 - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0044c014
xor eax, eax
push ebp
push 0x44d97f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046bc80
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0046bdb0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044c018
mov eax, dword [ebp - 4]
call fcn.0046bc80
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0046bdb0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044d0c0
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x44d95c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0044d670
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0044d7a8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d963
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x44d833
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d9d3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0044c014
ret