joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419938
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov ebx, eax
mov esi, 0x66dcd4
mov eax, 0x66ecd0
call fcn.00650394
xor edx, edx
lea eax, [ebp - 4]
mov dword [ebp - 0x38], edx
lea edx, [esi + 0x2ae]
mov word [ebp - 0x24], 0xc
call fcn.0065fa0c
inc dword [ebp - 0x18]
mov dl, 1
mov eax, dword [eax]
call fcn.004be384
push eax
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0065fb9c
pop ecx
test cl, cl
je 0x4199fa
push esi
lea edi, [ebp - 0x74]
mov esi, 0x66dc98
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
pop esi
xor eax, eax
mov dword [ebp - 0x74], 0x3c
mov dword [ebp - 0x70], 0x40
mov dword [ebp - 0x6c], eax
xor edx, edx
mov dword [ebp - 0x68], edx
lea ecx, [esi + 0x2ba]
mov dword [ebp - 0x64], ecx
lea ecx, [esi + 0x2d0]
mov dword [ebp - 0x60], ecx
xor eax, eax
mov dword [ebp - 0x5c], eax
xor edx, edx
mov dword [ebp - 0x58], edx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
lea eax, [ebp - 0x74]
push eax
call sub.SHELL32.DLL_ShellExecuteExW
push 0xffffffffffffffff
mov edx, dword [ebp - 0x3c]
push edx
call sub.KERNEL32.DLL_WaitForSingleObject
lea ecx, [ebp - 0x38]
push ecx
mov eax, dword [ebp - 0x3c]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
jmp 0x419a54
mov word [ebp - 0x24], 0x24
lea edx, [esi + 0x2d4]
lea eax, [ebp - 8]
call fcn.0065fa0c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov eax, ebx
call fcn.004196d8
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0065fb9c
push 0x10
lea ecx, [esi + 0x366]
push ecx
lea ecx, [esi + 0x2f0]
push ecx
mov eax, ebx
call fcn.0055975c
push eax
call sub.USER32.DLL_MessageBoxW
mov edx, dword [0x6ae0a4]
mov eax, dword [edx]
call fcn.005385bc
cmp dword [ebp - 0x38], 0
je 0x419aea
mov word [ebp - 0x24], 0x30
mov eax, dword [ebp - 0x38]
xor edx, edx
push edx
push eax
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0xc]
inc dword [ebp - 0x18]
call fcn.004bdd64
lea edx, [ebp - 0xc]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x18]
lea eax, [esi + 0x372]
call fcn.0065ff98
lea edx, [ebp - 0x10]
mov eax, ebx
mov edx, dword [edx]
call fcn.004196d8
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0065fb9c
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0065fb9c
push 0x10
lea ecx, [esi + 0x404]
push ecx
lea ecx, [esi + 0x38e]
push ecx
mov eax, ebx
call fcn.0055975c
push eax
call sub.USER32.DLL_MessageBoxW
mov edx, dword [0x6ae0a4]
mov eax, dword [edx]
call fcn.005385bc
cmp dword [ebp - 0x38], 0
sete al
and eax, 1
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c0d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
mov edi, 0x670254
mov eax, 0x670650
call fcn.00650394
mov word [ebp - 0x18], 0xc
mov eax, dword [esi]
add eax, 0x48
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov eax, dword [esi]
add eax, 0x4c
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov eax, dword [esi]
add eax, 0x50
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
inc dword [ebp - 0xc]
lea ecx, [edi + 0x88]
push ecx
call sub.KERNEL32.DLL_LoadLibraryW
mov ebx, eax
mov eax, dword [esi]
mov dword [eax + 0x44], ebx
test ebx, ebx
je 0x41c24e
lea edx, [edi + 0xa4]
push edx
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov ecx, dword [esi]
mov dword [ecx], eax
lea eax, [edi + 0xb4]
push eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [esi]
mov dword [edx + 4], eax
lea eax, [edi + 0xca]
push eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [esi]
lea ecx, [edi + 0xdc]
mov dword [edx + 8], eax
push ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov ecx, dword [esi]
mov dword [ecx + 0x10], eax
lea eax, [edi + 0xe8]
push eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [esi]
mov dword [edx + 0x18], eax
lea eax, [edi + 0xf1]
push eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [esi]
lea ecx, [edi + 0x102]
mov dword [edx + 0x1c], eax
push ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov ecx, dword [esi]
mov dword [ecx + 0x24], eax
lea eax, [edi + 0x10c]
push eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [esi]
mov dword [edx + 0x28], eax
lea eax, [edi + 0x117]
push eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [esi]
lea ecx, [edi + 0x126]
mov dword [edx + 0x34], eax
push ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov ecx, dword [esi]
mov dword [ecx + 0x38], eax
lea eax, [edi + 0x134]
push eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [esi]
mov dword [edx + 0x3c], eax
lea eax, [edi + 0x145]
push eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [esi]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d7f8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x6714c8
push ebx
push esi
push edi
call fcn.00650394
mov dword [ebp - 0x10], 2
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.0065de14
inc dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov esi, 1
mov word [ebp - 0x1c], 0xc
mov ebx, dword [ebp + 0x10]
jmp 0x41d86e
mov edi, esi
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.0065dc30
add esp, 8
lea eax, [ebp + 0xc]
call fcn.004da338
add edi, dword [ebp + 0xc]
dec edi
movsx edx, byte [edi]
xor edx, ebx
and edx, 0xff
sar ebx, 8
and ebx, 0xffffff
mov ecx, dword [edx*4 + 0x67107c]
xor ecx, ebx
inc esi
mov ebx, ecx
cmp dword [ebp + 0xc], 0
je 0x41d87c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 4]
jmp 0x41d87e
xor eax, eax
cmp esi, eax
jle 0x41d833
mov word [ebp - 0x1c], 0x18
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 4]
inc dword [ebp - 0x10]
mov eax, ebx
not eax
mov edx, 8
call fcn.004bdd90
lea edx, [ebp - 4]
lea eax, [ebp - 8]
xor ecx, ecx
call fcn.0065de84
inc dword [ebp - 0x10]
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.0065dfb4
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x1c], 0x24
push eax
lea eax, [ebp - 8]
sub dword [ebp - 0x10], 2
call fcn.0040a464
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0065fb9c
sub dword [ebp - 0x10], 2
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0040a464
pop eax
mov word [ebp - 0x1c], 0x18
add dword [ebp - 0x10], 2
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442130
Capabilities:
Check os version

Disassembly:
push ebx
push esi
add esp, 0xfffffeec
mov ebx, edx
xor eax, eax
mov dword [ebx], eax
push 0x114
push 0
lea edx, [esp + 8]
push edx
call fcn.0064fec3
add esp, 0xc
mov dword [esp], 0x114
push esp
call sub.KERNEL32.DLL_GetVersionExW
mov esi, eax
test eax, eax
jne 0x44217d
mov dword [esp], 0x114
push esp
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
jne 0x44217d
xor eax, eax
jmp 0x442246
mov edx, dword [esp + 0x10]
dec edx
je 0x4421ff
dec edx
je 0x44218c
jmp 0x44223d
cmp dword [esp + 4], 6
jne 0x4421a0
cmp dword [esp + 8], 0
jne 0x4421a0
mov dword [ebx], 1
cmp dword [esp + 4], 5
jne 0x4421b4
cmp dword [esp + 8], 2
jne 0x4421b4
mov dword [ebx], 2
cmp dword [esp + 4], 5
jne 0x4421c8
cmp dword [esp + 8], 1
jne 0x4421c8
mov dword [ebx], 3
cmp dword [esp + 4], 5
jne 0x4421dc
cmp dword [esp + 8], 0
jne 0x4421dc
mov dword [ebx], 4
cmp dword [esp + 4], 4
ja 0x4421e9
mov dword [ebx], 5
cmp dword [esp + 4], 6
jne 0x442241
cmp dword [esp + 8], 1
jne 0x442241
mov dword [ebx], 6
jmp 0x442241
cmp dword [esp + 4], 4
jne 0x442213
cmp dword [esp + 8], 0
jne 0x442213
mov dword [ebx], 7
cmp dword [esp + 4], 4
jne 0x442227
cmp dword [esp + 8], 0xa
jne 0x442227
mov dword [ebx], 8
cmp dword [esp + 4], 4
jne 0x442241
cmp dword [esp + 8], 0x5a
jne 0x442241
mov dword [ebx], 9
jmp 0x442241
xor ecx, ecx
mov dword [ebx], ecx
mov eax, 1
add esp, 0x114
pop esi
pop ebx
ret
Function at 0x493668
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x493706
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4936ca
cmp byte [ebx + 0x10], 0
jne 0x4936ca
cmp byte [ebx + 0x3c], 0
jne 0x4936ca
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 0x4936eb
lea edx, [ebp - 4]
mov eax, dword [0x6ade1c]
call fcn.004ddbd8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x482858]
call fcn.004c2a8c
call fcn.004d9570
jmp 0x4936eb
lea edx, [ebp - 8]
mov eax, dword [0x6ade1c]
call fcn.004ddbd8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x482858]
call fcn.004c2a8c
call fcn.004d9570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49370d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d9df8
ret

Function at 0x494014
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 0x494062
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.004935b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49407b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x494084
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.004935b4
dec esi
jne 0x4940a6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x495a5c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6af77c
cmp dword [edi], 0
jne 0x495ad8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x6af778]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6a1af8
mov ecx, 2
call fcn.004d793c
mov edx, 0x495a34
lea eax, [esi + 5]
call fcn.00495a54
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00495a54
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 0x495aad
mov dword [0x6af778], 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 0x49a2fc
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 0x49a477
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004da1c0
mov eax, dword [ebp - 4]
call fcn.00499c5c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x49a34e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004daf68
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.0049aef0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x49a42d
xor eax, eax
push ebp
push 0x49a426
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00499efc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0049a4ac
test al, al
je 0x49a404
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004d9f20
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x49a404
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.004dab4c
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.00499e5c
test al, al
je 0x49a3fe
mov eax, dword [ebp - 8]
call fcn.004dab4c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004dabac
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0049a2fc
dec ebx
cmp ebx, 0xffffffff
jne 0x49a3ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a42d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00499efc
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.004dab4c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00499ee8
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00499e5c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a47e
lea eax, [ebp - 0x3c]
call fcn.004d9d98
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d9df8
ret
Function at 0x49a518
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 0x49a5d0
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.0049a4ac
test al, al
je 0x49a5b2
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004d9f20
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x49a5b2
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.004dab4c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.004dab4c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004dabac
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x49a56b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a5d7
lea eax, [ebp - 0x2c]
call fcn.004d9d98
lea eax, [ebp - 4]
call fcn.004d9d98
ret

Function at 0x49a788
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 - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x49a840
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.0049a4ac
test al, al
je 0x49a822
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004d9f20
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x49a822
inc ebx
xor esi, esi
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.004dab4c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.004dab4c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004dabac
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x49a7db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a847
lea eax, [ebp - 0x2c]
call fcn.004d9d98
lea eax, [ebp - 4]
call fcn.004d9d98
ret
Function at 0x49adcc
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.00499c74
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.004dab4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00499e5c
test al, al
jne 0x49ae34
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6addf0]
mov dl, 1
mov eax, dword [0x498a80]
call fcn.004c2c90
call fcn.004d9570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x49ae40
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.004dab4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00499e5c
test al, al
jne 0x49aea1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6adde8]
mov dl, 1
mov eax, dword [0x498a80]
call fcn.004c2c90
call fcn.004d9570
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00499ca4
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 0x49b4a0
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 0x49b5c8
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.00499efc
xor eax, eax
push ebp
push 0x49b5a3
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.0049a4ac
test al, al
je 0x49b587
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0049b380
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004d9f20
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x49b587
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.004dab4c
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.00499e5c
test al, al
je 0x49b583
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004dab4c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004dabac
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0049b380
pop ecx
inc edi
dec ebx
jne 0x49b52b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b5aa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00499efc
ret
Function at 0x49b5d8
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 0x49b826
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.00499efc
xor eax, eax
push ebp
push 0x49b7fc
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.0049a4ac
test al, al
je 0x49b7e0
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004d9f20
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x49b7e0
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.004dab4c
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.00499e5c
test al, al
je 0x49b7d4
mov eax, dword [ebp - 4]
call fcn.004dab4c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004dabac
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0049aef0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x49b7d4
xor eax, eax
push ebp
push 0x49b7cd
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.00499efc
xor eax, eax
push ebp
push 0x49b7af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004dab4c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.004dabac
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00499f00
mov eax, dword [ebp - 4]
call fcn.004dab4c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004dabac
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0049aef0
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x49b78c
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.0049b4a0
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0049b5d8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b793
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x49b663
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b803
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00499efc
ret