joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448ca5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0a63
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], ecx
and dword [ebp - 0x140], 0
and dword [ebp - 0x14], 0
call fcn.00498191
push eax
lea ecx, [ebp - 0x130]
call fcn.00403ced
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x134], str.SOFTWAREMicrosoftCryptography
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push dword [ebp - 0x134]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x448da5
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0
push 0
push 0x4fad0c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x448d98
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x138]
call fcn.00403241
mov byte [ebp - 4], 1
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x130]
call fcn.00403d36
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x138]
sub eax, 0x10
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
call fcn.0040110c
jmp 0x448d9c
mov byte [ebp - 0x19], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x448e48
lea eax, [ebp - 0x14]
push eax
push 0x101
push 0
push dword [ebp - 0x134]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x448e48
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0
push 0
push str.MachineGuid
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x448e3f
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00403241
mov byte [ebp - 4], 2
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x130]
call fcn.00403d36
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x13c]
sub eax, 0x10
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
call fcn.0040110c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x130]
sub eax, 0x10
mov dword [ebp - 0x184], eax
push dword [ebp - 0x184]
call fcn.004042f4
pop ecx
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x140]
or eax, 1
mov dword [ebp - 0x140], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
sub eax, 0x10
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
call fcn.0040110c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004bc439
leave
ret 4
Function at 0x457307
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e17e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x524330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.004042f4
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
call fcn.004572b9
pop ecx
mov byte [ebp - 0x59], al
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x457440
call fcn.00498191
push eax
lea ecx, [ebp - 0x10]
call fcn.00403ced
mov byte [ebp - 4], 1
push str._c_ping_1.1.1.1__n_1__w
lea ecx, [ebp - 0x10]
call fcn.00403dc5
call fcn.00498191
push eax
lea ecx, [ebp - 0x14]
call fcn.00403ced
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
push 0x4fbda0
lea eax, [ebp - 0x14]
push eax
call fcn.0040b04f
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00448f29
push str.___Nul__Del
lea ecx, [ebp - 0x10]
call fcn.00448f5a
push 0x4fbdb4
lea ecx, [ebp - 0x10]
call fcn.00448f5a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00403e1c
push 0x4fbdb8
lea ecx, [ebp - 0x10]
call fcn.00448f5a
push 0
push 0
push dword [ebp - 0x10]
push 0x4fbdbc
push 0x4fbdc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.0040110c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.0040110c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.0040110c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x457462
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1806
mov eax, dword fs:[0]
push eax
mov eax, 0x53f0
call fcn.004be350
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.004635ef
mov dword [ebp - 0x5320], 0x5100
lea eax, [ebp - 0x5320]
push eax
lea eax, [ebp - 0x5114]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x5324], eax
cmp dword [ebp - 0x5324], 0
je 0x4574ca
jmp 0x4575ae
lea eax, [ebp - 0x5114]
mov dword [ebp - 0x5118], eax
cmp dword [ebp - 0x5118], 0
je 0x4575ae
mov eax, dword [ebp - 0x5118]
cmp dword [eax + 0x1a0], 6
jne 0x45759b
mov eax, dword [ebp - 0x5118]
movzx eax, byte [eax + 0x199]
push eax
mov eax, dword [ebp - 0x5118]
movzx eax, byte [eax + 0x198]
push eax
mov eax, dword [ebp - 0x5118]
movzx eax, byte [eax + 0x197]
push eax
mov eax, dword [ebp - 0x5118]
movzx eax, byte [eax + 0x196]
push eax
mov eax, dword [ebp - 0x5118]
movzx eax, byte [eax + 0x195]
push eax
mov eax, dword [ebp - 0x5118]
movzx eax, byte [eax + 0x194]
push eax
push str._.2x__.2x__.2x__.2x__.2x__.2x
push 0x200
lea eax, [ebp - 0x531c]
push eax
call fcn.004beffc
add esp, 0x24
lea eax, [ebp - 0x531c]
push eax
lea ecx, [ebp - 0x5340]
call fcn.00405374
and dword [ebp - 4], 0
lea eax, [ebp - 0x5340]
push eax
mov ecx, dword [ebp + 8]
call fcn.0046352a
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5340]
call fcn.00406cea
mov eax, dword [ebp - 0x5118]
mov eax, dword [eax]
mov dword [ebp - 0x5118], eax
jmp 0x4574d6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc439
leave
ret
Function at 0x457678
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1861
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0xb4], 0
push str.Unknown
lea ecx, [ebp - 0xb0]
call fcn.00403241
and dword [ebp - 4], 0
push 0x94
push 0
lea eax, [ebp - 0xac]
push eax
call fcn.004bc450
add esp, 0xc
mov dword [ebp - 0xac], 0x94
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa8], 5
jne 0x457712
cmp dword [ebp - 0xa4], 1
jne 0x457712
push 0x4fbdf4
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
jmp 0x45783c
cmp dword [ebp - 0xa8], 5
jne 0x457739
cmp dword [ebp - 0xa4], 2
jne 0x457739
push str.WinXP_64
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
jmp 0x45783c
cmp dword [ebp - 0xa8], 6
jne 0x457760
cmp dword [ebp - 0xa4], 0
jne 0x457760
push str.WinVista
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
jmp 0x45783c
cmp dword [ebp - 0xa8], 6
jne 0x457787
cmp dword [ebp - 0xa4], 1
jne 0x457787
push str.Win7
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
jmp 0x45783c
cmp dword [ebp - 0xa8], 5
jne 0x4577ae
cmp dword [ebp - 0xa4], 1
jne 0x4577ae
push 0x4fbe1c
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
jmp 0x45783c
cmp dword [ebp - 0xa8], 5
jne 0x4577d2
cmp dword [ebp - 0xa4], 1
jne 0x4577d2
push 0x4fbe24
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
jmp 0x45783c
cmp dword [ebp - 0xa8], 5
jne 0x4577f6
cmp dword [ebp - 0xa4], 1
jne 0x4577f6
push 0x4fbe2c
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
jmp 0x45783c
cmp dword [ebp - 0xa8], 5
jne 0x45781a
cmp dword [ebp - 0xa4], 1
jne 0x45781a
push str.WinXP
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
jmp 0x45783c
cmp dword [ebp - 0xa8], 6
jne 0x45783c
cmp dword [ebp - 0xa4], 2
jne 0x45783c
push str.Win8
lea ecx, [ebp - 0xb0]
call fcn.00403dc5
mov eax, dword [ebp - 0xb0]
sub eax, 0x10
mov dword [ebp - 0xec], eax
push dword [ebp - 0xec]
call fcn.004042f4
pop ecx
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb4]
or eax, 1
mov dword [ebp - 0xb4], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
sub eax, 0x10
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
call fcn.0040110c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc439
leave
ret
Function at 0x461c27
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2790
mov eax, dword fs:[0]
push eax
sub esp, 0x8cc
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp + 8]
push 0x800
lea eax, [ebp - 0x81c]
push eax
call fcn.004bfa27
add esp, 0x10
and dword [ebp - 0x14], 0
call fcn.00498191
mov dword [ebp - 0x8b0], eax
push dword [ebp - 0x8b0]
push 0x800
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004040bf
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, byte [0x525bc4]
test eax, eax
je 0x461d8b
lea eax, [ebp - 0x8a8]
push eax
call fcn.0046bfdd
pop ecx
mov dword [ebp - 0x8d0], eax
mov eax, dword [ebp - 0x8d0]
mov dword [ebp - 0x8d4], eax
mov byte [ebp - 4], 1
push str._log_file.txt
push dword [ebp - 0x8d4]
lea eax, [ebp - 0x8ac]
push eax
call fcn.004038b5
add esp, 0xc
mov dword [ebp - 0x8d8], eax
mov eax, dword [ebp - 0x8d8]
mov dword [ebp - 0x8b4], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x8b4]
mov eax, dword [eax]
mov dword [ebp - 0x8b8], eax
push 1
push 0x40
push 0xa
push dword [ebp - 0x8b8]
lea ecx, [ebp - 0x8a4]
call fcn.004053fa
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x8ac]
sub eax, 0x10
mov dword [ebp - 0x8bc], eax
mov ecx, dword [ebp - 0x8bc]
call fcn.0040110c
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x8a8]
sub eax, 0x10
mov dword [ebp - 0x8c0], eax
mov ecx, dword [ebp - 0x8c0]
call fcn.0040110c
push dword [ebp - 0x10]
lea eax, [ebp - 0x8a4]
push eax
call fcn.00450101
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8a4]
call fcn.00404e5d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x8cc], eax
mov ecx, dword [ebp - 0x8cc]
call fcn.0040110c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004bc439
leave
ret
Function at 0x469b55
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movzx eax, byte [0x525e5f]
test eax, eax
jne 0x469b89
push 0
push 0
push dword [ebp - 4]
push 0x469e96
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x525e64], eax
mov byte [0x525e5f], 1
leave
ret

Function at 0x46bfdd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x114], 0
push 0x105
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004bc450
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403241
mov eax, dword [ebp - 0x114]
or eax, 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc439
leave
ret

Function at 0x46c04c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x118], 0
push 0x105
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004bc450
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
call fcn.0046bfdd
pop ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0x4fe5dc
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, dword [ebp - 0x114]
sub eax, 0x10
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
call fcn.0040110c
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403241
mov eax, dword [ebp - 0x118]
or eax, 1
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc439
leave
ret
Function at 0x46c73e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3806
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x340], 0
lea eax, [ebp - 0x230]
push eax
call fcn.0046c6bb
pop ecx
and dword [ebp - 4], 0
push 0x105
push 0
lea eax, [ebp - 0x33c]
push eax
call fcn.004bc450
add esp, 0xc
push 0x105
lea eax, [ebp - 0x33c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x105
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004bc450
add esp, 0xc
push 0x105
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x105
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.004bc450
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x120]
call fcn.00403241
mov byte [ebp - 4], 1
push dword [ebp - 0x230]
push str.APPPATH
lea ecx, [ebp - 0x120]
call fcn.00448fb1
lea eax, [ebp - 0x33c]
push eax
push str.SYSTEMPATH
lea ecx, [ebp - 0x120]
call fcn.00448fb1
lea eax, [ebp - 0x11c]
push eax
push str.WINDOWSPATH
lea ecx, [ebp - 0x120]
call fcn.00448fb1
lea eax, [ebp - 0x22c]
push eax
push 0x4fe608
lea ecx, [ebp - 0x120]
call fcn.00448fb1
mov eax, dword [ebp - 0x120]
sub eax, 0x10
mov dword [ebp - 0x35c], eax
push dword [ebp - 0x35c]
call fcn.004042f4
pop ecx
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x360]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x340]
or eax, 1
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x120]
sub eax, 0x10
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x364]
call fcn.0040110c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x230]
sub eax, 0x10
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
call fcn.0040110c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc439
leave
ret

Function at 0x46c8fa
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46c938
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46c942
xor eax, eax
jmp 0x46c95b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46c958
xor eax, eax
jmp 0x46c95b
xor eax, eax
inc eax
leave
ret
Function at 0x46c95d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0x14], 0
jne 0x46c992
lea eax, [ebp - 4]
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xa8], eax
jmp 0x46c9b1
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
or eax, 1
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x46c9be
xor eax, eax
jmp 0x46ca1e
cmp dword [ebp + 0x10], 0
je 0x46c9ff
mov dword [ebp - 0xa4], 0x96
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x46c9ff
xor eax, eax
jmp 0x46ca1e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x46ca1b
xor eax, eax
jmp 0x46ca1e
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bc439
leave
ret
Function at 0x46cfd1
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3891
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x960
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x48], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00498191
push eax
lea ecx, [ebp - 0x14]
call fcn.00403ced
mov byte [ebp - 0x15], 0
and dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
jne 0x46d03b
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x20], eax
jmp 0x46d059
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20019
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x46d130
mov al, byte [0x4fe4e7]
mov byte [ebp - 0x148], al
push 0xfe
push 0
lea eax, [ebp - 0x147]
push eax
call fcn.004bc450
add esp, 0xc
mov dword [ebp - 0x38], 0xff
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x95c]
push eax
lea eax, [ebp - 0x960]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x3c], eax
mov al, byte [0x4fe4ee]
mov byte [ebp - 0x958], al
push 0x7ff
push 0
lea eax, [ebp - 0x957]
push eax
call fcn.004bc450
add esp, 0xc
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14c], 4
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46d127
mov byte [ebp - 0x15], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46d13c
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x961], al
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x970], eax
mov ecx, dword [ebp - 0x970]
call fcn.0040110c
mov al, byte [ebp - 0x961]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.004bc439
leave
ret
Function at 0x46d769
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e38f7
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x524330]
xor eax, ebp
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x11], 0
push 0x4fe6b0
lea ecx, [ebp - 0x1c]
call fcn.00403241
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [ebp - 0x18c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46d927
mov al, byte [0x4fe4ef]
mov byte [ebp - 0x13c], al
push 0xfe
push 0
lea eax, [ebp - 0x13b]
push eax
call fcn.004bc450
add esp, 0xc
mov dword [ebp - 0x28], 0xff
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x34], 1
jbe 0x46d85b
mov byte [ebp - 0x11], 0
jmp 0x46d91e
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
lea ecx, [ebp - 0x154]
call fcn.00403241
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x158]
push eax
push 0x20019
push 0
push dword [ebp - 0x1a8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x46d904
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x168], 4
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x164]
push eax
push 0
push 0
push 0x4fe714
push dword [ebp - 0x158]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jne 0x46d8f8
cmp dword [ebp - 0x164], 1
je 0x46d8f8
mov byte [ebp - 0x11], 1
push dword [ebp - 0x158]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x154]
sub eax, 0x10
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
call fcn.0040110c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x16d], al
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
call fcn.0040110c
mov al, byte [ebp - 0x16d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.004bc439
leave
ret
Function at 0x46dcbe
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e39a8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x524330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call fcn.004042f4
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, str..
test eax, eax
jne 0x46dd18
and dword [ebp - 0x20], 0
jmp 0x46dd46
mov dword [ebp - 0x38], str..
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov al, byte [eax]
mov byte [ebp - 0x3d], al
inc dword [ebp - 0x38]
cmp byte [ebp - 0x3d], 0
jne 0x46dd26
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push str..
lea ecx, [ebp - 0x10]
call fcn.00403e1c
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
call fcn.004042f4
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
call fcn.0046db03
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.0040110c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.0040110c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret