joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41783c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x417912
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004071b0
lea eax, [ebp - 4]
call fcn.00407b48
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004071e8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4178fc
mov eax, ebx
call fcn.00404204
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4178f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004071e8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4178df
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x417924
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4178df
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4178fc
mov eax, dword [ebp - 0x10]
call fcn.00404220
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417919
lea eax, [ebp - 4]
call fcn.0040714c
ret

Function at 0x418c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406c24
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x418bda
mov eax, edi
add eax, eax
call fcn.00404204
mov esi, eax
jmp 0x418bdc
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x418c15
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x418bff
mov eax, esp
cmp esi, eax
je 0x418c22
mov eax, esi
call fcn.00404220
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x418c5c
cmp bl, 0
je 0x418c58
cmp bl, 0x41
jl 0x418c53
cmp bl, 0x5a
jg 0x418c53
or bl, 0x20
xor al, bl
inc esi
jmp 0x418c37
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x418b9c
Function at 0x43c198
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43c236
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43c1fa
cmp byte [ebx + 0x10], 0
jne 0x43c1fa
cmp byte [ebx + 0x3c], 0
jne 0x43c1fa
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 0x43c21b
lea edx, [ebp - 4]
mov eax, dword [0x4c93ac]
call fcn.0040a4a8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42cd1c]
call fcn.004166a4
call fcn.00406128
jmp 0x43c21b
lea edx, [ebp - 8]
mov eax, dword [0x4c93ac]
call fcn.0040a4a8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42cd1c]
call fcn.004166a4
call fcn.00406128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c23d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407154
ret

Function at 0x43cab4
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 0x43cb02
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.0043c11c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cb1b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43cb24
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.0043c11c
dec esi
jne 0x43cb46
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43e360
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4cef90
cmp dword [edi], 0
jne 0x43e3dc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4cef8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c80b0
mov ecx, 2
call fcn.004043c8
mov edx, 0x43e338
lea eax, [esi + 5]
call fcn.0043e358
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043e358
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43e3b1
mov dword [0x4cef8c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4435ac
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 0x443727
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004071b0
mov eax, dword [ebp - 4]
call fcn.00442e44
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4435fe
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00407954
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.00444258
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4436dd
xor eax, eax
push ebp
push 0x4436d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004431ac
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044375c
test al, al
je 0x4436b4
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00407298
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4436b4
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.004071e8
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.0044310c
test al, al
je 0x4436ae
mov eax, dword [ebp - 8]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00407308
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004435ac
dec ebx
cmp ebx, 0xffffffff
jne 0x44365d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4436dd
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004431ac
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.004071e8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00443198
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044310c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44372e
lea eax, [ebp - 0x3c]
call fcn.0040714c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407154
ret
Function at 0x4437c8
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 0x443880
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.0044375c
test al, al
je 0x443862
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407298
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x443862
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.004071e8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00407308
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x44381b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443887
lea eax, [ebp - 0x2c]
call fcn.0040714c
lea eax, [ebp - 4]
call fcn.0040714c
ret

Function at 0x444134
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.00442eb8
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.004071e8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044310c
test al, al
jne 0x44419c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c9308]
mov dl, 1
mov eax, dword [0x441c68]
call fcn.004168a8
call fcn.00406128
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4441a8
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.004071e8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0044310c
test al, al
jne 0x444209
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c9558]
mov dl, 1
mov eax, dword [0x441c68]
call fcn.004168a8
call fcn.00406128
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00442ee8
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 0x444808
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 0x444930
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.004431ac
xor eax, eax
push ebp
push 0x44490b
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.0044375c
test al, al
je 0x4448ef
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004446e8
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407298
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4448ef
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.004071e8
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.0044310c
test al, al
je 0x4448eb
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00407308
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004446e8
pop ecx
inc edi
dec ebx
jne 0x444893
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444912
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004431ac
ret
Function at 0x444940
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 0x444b8e
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.004431ac
xor eax, eax
push ebp
push 0x444b64
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.0044375c
test al, al
je 0x444b48
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407298
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x444b48
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.004071e8
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.0044310c
test al, al
je 0x444b3c
mov eax, dword [ebp - 4]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00407308
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444258
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x444b3c
xor eax, eax
push ebp
push 0x444b35
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.004431ac
xor eax, eax
push ebp
push 0x444b17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00407308
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004431b0
mov eax, dword [ebp - 4]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00407308
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444258
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x444af4
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.00444808
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00444940
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444afb
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4449cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444b6b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004431ac
ret
Function at 0x445804
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.004071e8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0044310c
test al, al
jne 0x445865
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c9558]
mov dl, 1
mov eax, dword [0x441c68]
call fcn.004168a8
call fcn.00406128
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00445638
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 0x44591c
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.004455e4
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.004071e8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044310c
test al, al
jne 0x445984
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c9308]
mov dl, 1
mov eax, dword [0x441c68]
call fcn.004168a8
call fcn.00406128
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x445ac8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x44], 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 0x445cc1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004071b0
mov eax, dword [ebp - 4]
call fcn.00445570
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x445b1b
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00407954
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00445880
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x445bf0
xor eax, eax
push ebp
push 0x445be9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004431ac
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.0044375c
test al, al
je 0x445bc7
mov ecx, dword [ebp - 0x3c]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00407298
mov ebx, dword [ebp - 0x40]
dec ebx
cmp ebx, 0
jl 0x445bc7
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.004071e8
push eax
push ebx
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x445bc1
mov eax, dword [ebp - 8]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00407308
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
call fcn.00445ac8
dec ebx
cmp ebx, 0xffffffff
jne 0x445b7a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445bf0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004431ac
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x21], 0
je 0x445c7d
mov byte [ebp - 0xd], 0
push 0x445cd4
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x445c76
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x445cf0
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040c1f4
mov esi, eax
mov ebx, esi
test esi, esi
je 0x445c5f
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
or eax, dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.004071e8
push eax
movzx edx, byte [ebp - 0x15]
mov eax, dword [ebp - 0xc]
call fcn.00443198
push eax
call ebx
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445c9e
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov eax, dword [ebp - 4]
call fcn.004071e8
push eax
movzx edx, byte [ebp - 0x15]
mov eax, dword [ebp - 0xc]
call fcn.00443198
push eax
call sub.advapi32.dll_RegDeleteKeyW
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445cc8
lea eax, [ebp - 0x44]
call fcn.0040714c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407154
ret
Function at 0x445d10
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 - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x445e72
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, ebx
call fcn.0044375c
test al, al
je 0x445e4f
movzx eax, byte [ebx + 0x20]
sub al, 8
jb 0x445d62
sub al, 0xf8
jb 0x445dcb
jmp 0x445e4f
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407298
mov esi, dword [ebp - 0x20]
dec esi
test esi, esi
jl 0x445e4f
inc esi
xor edi, edi
mov eax, dword [ebp - 0x1c]
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.004071e8
push eax
push edi
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00407308
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc edi
dec esi
jne 0x445d7f
jmp 0x445e4f
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x445de3
lea eax, [ebp - 4]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.00407298
jmp 0x445df0
mov ecx, eax
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407298
mov esi, dword [ebp - 0x20]
dec esi
test esi, esi
jl 0x445e4f
inc esi
xor edi, edi
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x445e0b
mov dword [ebp - 0xc], pe_nt_image_headers32
jmp 0x445e0f
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.004071e8
push eax
push edi
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00407308
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc edi
dec esi
jne 0x445dfb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445e79
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00407154
lea eax, [ebp - 4]
call fcn.0040714c
ret
Function at 0x4464e0
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 0x446619
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4465f1
push dword fs:[edx]
mov dword fs:[edx], 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.004431ac
xor edx, edx
push ebp
push 0x4465e0
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044375c
test al, al
je 0x4465c4
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00446370
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407298
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4465c4
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.004071e8
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
test eax, eax
jne 0x4465c0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004071e8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00407308
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00446370
pop ecx
inc edi
dec ebx
jne 0x446575
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4465e7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004431ac
ret