joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f600
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x42f633
mov al, byte [esi + 0x24]
test al, al
je 0x42f62a
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x42f62a
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea ecx, [esi + 0x18]
call fcn.0044a511
pop edi
pop esi
ret 4

Function at 0x4301e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x104
test eax, eax
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push esi
mov esi, dword [esp + 0x114]
push edi
je 0x430216
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ebx
call fcn.0044a442
push esi
call fcn.0042fc70
add esp, 8
mov ebp, dword [esp + 0x124]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
lea eax, [esp + 0x10]
push eax
push 0xf003f
not ecx
push 0
dec ecx
push ebx
push esi
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x430277
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x10]
push edi
push ebp
push 1
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push 0
lea ecx, [esp + 0x18]
push str.WriteRegistryValue_ENTRY_:_FAILURE_n
push ecx
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea edx, [esp + 0x14]
mov ecx, 0x475b68
push edx
call fcn.0042f820
push ebx
lea eax, [esp + 0x18]
push str.szSubKey___s_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov edi, dword [esp + 0x120]
lea edx, [esp + 0x14]
push edi
push str.szValueName___s_n
push edx
call fcn.0043a4a0
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, 0x475b68
push eax
call fcn.0042f820
push edi
lea ecx, [esp + 0x18]
push str.szValueName___s_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, 0x475b68
push edx
call fcn.0042f820
push esi
lea eax, [esp + 0x18]
push str.dwErrorCode___d_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
push 0
lea edx, [esp + 0x18]
push str.WriteRegistryValue_EXIT_n
push edx
call fcn.0043a4a0
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, 0x475b68
push eax
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x430370
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x104
lea eax, [esp]
push esi
push edi
mov edi, dword [esp + 0x114]
push eax
push 0x20019
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4303da
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x118]
lea edx, [esp + 0x120]
push edx
mov edx, dword [esp + 0xc]
push eax
push esi
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret
push 0
lea ecx, [esp + 0x10]
push str.ReadRegistryValue_ENTRY_:_FAILURE_n
push ecx
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea edx, [esp + 0xc]
mov ecx, 0x475b68
push edx
call fcn.0042f820
push edi
lea eax, [esp + 0x10]
push str.szSubKey___s_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov edx, dword [esp + 0x118]
lea eax, [esp + 0xc]
push edx
push str.szValueName___s_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
push esi
lea edx, [esp + 0x10]
push str.dwErrorCode___d_n
push edx
call fcn.0043a4a0
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, 0x475b68
push eax
call fcn.0042f820
push 0
lea ecx, [esp + 0x10]
push str.ReadRegistryValue_EXIT_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0xc]
mov ecx, 0x475b68
push edx
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret
Function at 0x4304b0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x45a572
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x471df4]
push ebp
push edi
xor edi, edi
mov dword [esp + 8], eax
mov ebp, dword [esp + 0x138]
mov edx, dword [esp + 0x134]
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], edi
push ecx
push 0xf003f
push edi
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x4306d1
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x144]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, eax
cmp ebx, edi
jne 0x430605
push esi
lea ecx, [esp + 0x28]
call fcn.0044a442
mov esi, eax
push 0x46db00
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 1
call fcn.0044a442
mov edi, eax
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 2
call fcn.0044a442
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x140], 3
call fcn.0044a5b7
push esi
lea edx, [esp + 0x24]
mov bl, 4
push eax
push edx
mov byte [esp + 0x140], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 5
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], bl
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 3
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], 2
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 1
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 0
call fcn.0044a3d4
lea eax, [esp + 0x10]
mov ecx, 0x475de0
push eax
call fcn.00449c44
mov edi, 1
jmp 0x4306c4
push edi
lea ecx, [esp + 0x30]
push str.DeleteRegistryValue_ENTRY_:_FAILURE_n
push ecx
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea edx, [esp + 0x2c]
mov ecx, 0x475b68
push edx
call fcn.0042f820
push ebp
lea eax, [esp + 0x30]
push str.SubKey___s_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
push esi
lea edx, [esp + 0x30]
push str.szValueName___s_n
push edx
call fcn.0043a4a0
add esp, 0xc
lea eax, [esp + 0x2c]
mov ecx, 0x475b68
push eax
call fcn.0042f820
push ebx
lea ecx, [esp + 0x30]
push str.GetLastError_____d_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, 0x475b68
push edx
call fcn.0042f820
push 0
lea eax, [esp + 0x30]
push str.DeleteRegistryValue_EXIT_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
lea ecx, [esp + 8]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x124]
mov eax, edi
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x430700
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45a590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, 0x104
push edi
push esi
call fcn.0044c0b7
push esi
mov ebx, eax
call fcn.0044c0b7
push esi
mov ebp, eax
call fcn.0044c0b7
mov dword [esp + 0x30], eax
mov eax, dword [0x471df4]
add esp, 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
mov byte [esp + 0x3c], 1
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x2c], eax
mov edi, 0x475b40
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push edx
push 0
push eax
push ebx
push 0
push ecx
mov esi, 1
call edi
test eax, eax
jne 0x430868
mov eax, dword [esp + 0x4c]
cmp eax, 2
je 0x43081d
test eax, eax
jne 0x4307e1
push ebx
jmp 0x4307e2
push ebp
lea ecx, [esp + 0x14]
call fcn.0044a511
cmp dword [esp + 0x20], 1
jne 0x4307fb
lea ecx, [esp + 0x10]
call fcn.0044a88a
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0044a149
call fcn.0042fed0
add esp, 8
test eax, eax
je 0x430835
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ebx
push ecx
push edx
call fcn.004304b0
add esp, 0xc
test eax, eax
je 0x430835
dec esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
mov eax, 0x104
push ebp
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
push 0
mov eax, esi
push ecx
push ebx
push eax
push edx
inc esi
call edi
test eax, eax
je 0x4307d1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0044c0e0
push ebp
call fcn.0044c0e0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044c0e0
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 0
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret
Function at 0x4308d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
push ebx
push ebp
mov ebp, dword [esp + 0x21c]
push esi
mov esi, dword [esp + 0x21c]
push edi
xor edi, edi
push ebp
push esi
mov dword [esp + 0x18], edi
call fcn.004310b0
add esp, 8
test eax, eax
je 0x430aa0
call fcn.0042fc00
cmp eax, 6
jne 0x430920
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebp
call fcn.0044a442
push esi
call fcn.0042fc70
add esp, 8
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x430aa0
call fcn.0042fc00
cmp eax, 6
mov edi, 1
jne 0x4309b1
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x118]
push 0x104
push ecx
push 0
push edx
mov esi, edi
call ebx
test eax, eax
jne 0x4309aa
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x118]
push eax
push ecx
xor edi, edi
call fcn.00430ab0
add esp, 8
test eax, eax
je 0x43098e
dec esi
mov edi, 1
lea edx, [esp + 0x118]
mov eax, esi
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc esi
call ebx
test eax, eax
je 0x43096d
mov esi, dword [esp + 0x220]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
mov dword [esp + 0x10], 0
je 0x430a93
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
test esi, esi
jne 0x4309f5
push ebp
mov ecx, 0x475e00
call fcn.00449c01
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push 0
lea edx, [esp + 0x1c]
push str.DeleteRegistryRequestedKey_ENTRY_:_FAILURE_n
push edx
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea eax, [esp + 0x18]
mov ecx, 0x475b68
push eax
call fcn.0042f820
push ebp
lea ecx, [esp + 0x1c]
push str.SubKey___s_n
push ecx
call fcn.0043a4a0
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, 0x475b68
push edx
call fcn.0042f820
push esi
lea eax, [esp + 0x1c]
push str.GetLastError_____d_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
push 0
lea edx, [esp + 0x1c]
push str.DeleteRegistryRequestedKey_EXIT_n
push edx
call fcn.0043a4a0
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, 0x475b68
push eax
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x430b50
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x45a5cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x471df4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x238]
lea ecx, [esp + 0x10]
xor edi, edi
push ecx
push 0x20019
push edi
push edx
push eax
mov dword [esp + 0x244], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x430cc3
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x124]
push 0x104
push ecx
push edi
push edx
mov dword [esp + 0x28], edi
mov ebx, 1
call ebp
test eax, eax
jne 0x430cbf
mov eax, dword [esp + 0x240]
lea edx, [esp + 0x124]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0044a442
call fcn.0042fed0
add esp, 8
test eax, eax
je 0x430c9f
mov edi, dword [esp + 0x23c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x46a404
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x124]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x80000002
call fcn.00430ab0
add esp, 8
test eax, eax
je 0x430c9f
dec ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x124]
mov eax, ebx
push 0x104
push ecx
push eax
push edx
inc ebx
call ebp
test eax, eax
je 0x430bd8
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov dword [esp + 0x230], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret
Function at 0x430fe0
Capabilities:
Query or enumerate registry key

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x108
mov edx, dword [esp + 0x10c]
lea eax, [esp]
push ebx
push esi
push edi
xor edi, edi
push eax
push 0x20019
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431048
mov ecx, dword [esp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [esp + 0x10]
push 0x104
push eax
push edi
push ecx
mov esi, 1
call ebx
test eax, eax
jne 0x431048
lea edx, [esp + 0x10]
mov eax, esi
push 0x104
push edx
push eax
mov eax, dword [esp + 0x18]
inc edi
push eax
inc esi
call ebx
test eax, eax
je 0x43102e
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x108
ret

Function at 0x431060
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4310af
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push eax
mov eax, dword [esp + 0x10]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret
Function at 0x4310f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45a61e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push esi
lea eax, [esp + 0x238]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x234], 0
call fcn.0044a149
mov ecx, dword [esp + 0x23c]
mov byte [esp + 0x230], 1
push ecx
push 0x5c
lea ecx, [esp + 0xc]
call fcn.0044a85d
mov esi, eax
cmp esi, 0xffffffff
je 0x43119a
lea edx, [esp + 0x14]
push esi
push edx
lea ecx, [esp + 0xc]
call fcn.004493ca
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x234], 2
call fcn.0044a4c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 1
call fcn.0044a3d4
inc esi
lea eax, [esp + 0x238]
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0044a149
call fcn.004310f0
add esp, 8
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431234
mov ecx, dword [esp + 8]
lea eax, [esp + 0x20]
push 0x104
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4311dc
xor esi, esi
lea edx, [esp + 0x18]
lea eax, [esp + 0x124]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x30]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x431225
xor esi, esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x431246
mov eax, dword [esp + 4]
push eax
push 0x80000002
call fcn.00430ab0
add esp, 8
lea ecx, [esp + 4]
mov byte [esp + 0x230], 0
call fcn.0044a3d4
lea ecx, [esp + 0x238]
mov dword [esp + 0x230], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x228]
pop esi
mov dword fs:[0], ecx
add esp, 0x230
ret

Function at 0x431290
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push 0x80000002
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4312d7
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [esp + 0x18]
push eax
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
pop ecx
ret
Function at 0x4312e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45a638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebp
mov ecx, dword [esp + 0x230]
lea eax, [esp + 0xc]
xor ebp, ebp
push eax
push 0x20019
push ebp
push ecx
push 0x80000002
mov dword [esp + 0x23c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4313cd
push ebx
push esi
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push ebp
lea eax, [esp + 0x138]
push edx
push eax
mov ebx, 0x104
push ebp
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov esi, 1
call edi
test eax, eax
jne 0x4313bf
mov ebp, dword [esp + 0x240]
mov dword [esp + 0x20], esi
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
call fcn.00449c01
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
push edx
push ecx
lea edx, [esp + 0x1c]
push 0
lea ecx, [esp + 0x138]
mov eax, esi
push edx
mov edx, dword [esp + 0x2c]
push ecx
push eax
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
inc esi
call edi
test eax, eax
je 0x43137a
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x230]
mov dword [esp + 0x228], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x220]
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x228
ret
Function at 0x431400
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45a658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebp
mov ecx, dword [esp + 0x230]
lea eax, [esp + 0xc]
xor ebp, ebp
push eax
push 0x20019
push ebp
push ecx
push 0x80000002
mov dword [esp + 0x23c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431501
push ebx
push esi
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push ebp
lea eax, [esp + 0x138]
push edx
push eax
mov ebx, 0x104
push ebp
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov esi, 1
call edi
test eax, eax
jne 0x4314f3
mov ebp, dword [esp + 0x244]
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x240]
lea edx, [esp + 0x128]
push edx
call fcn.00449c01
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00449c01
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
push edx
push ecx
lea edx, [esp + 0x1c]
push 0
lea ecx, [esp + 0x138]
mov eax, esi
push edx
mov edx, dword [esp + 0x2c]
push ecx
push eax
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
inc esi
call edi
test eax, eax
je 0x43149a
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x230]
mov dword [esp + 0x228], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x220]
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x228
ret
Function at 0x431960
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push esi
push eax
xor esi, esi
push ecx
push edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4319bd
push esi
push esi
mov edx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x14]
push esi
push eax
push esi
lea ecx, [esp + 0x1c]
push esi
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
cmp eax, esi
mov eax, 1
je 0x4319bf
mov eax, esi
pop esi
add esp, 8
ret