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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48779d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x224], esi
push 0x104
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x4627af
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00402ee0
test al, al
jne 0x462782
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462764
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004030f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403880
int3

Function at 0x4627c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4877f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4bc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x46289e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
call fcn.00465a30
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
push ecx
push 0xf003f
push 0
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [ebp - 0x14]
mov edi, eax
test edi, edi
jne 0x462845
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46286c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x46288b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403880
int3
Function at 0x464be0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487e50
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4bc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, cl
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 0x3c
push 0
lea eax, [ebp - 0x58]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x48b87c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test bl, bl
je 0x464c7f
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464ca8
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487ead
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 1
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x464e4d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x464e0e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464df0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004030f0
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x464e30
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403880
int3
Function at 0x467090
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48858c
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x228], ebx
mov eax, ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x467115
lea eax, [ebp - 0x230]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x467133
cmp eax, 2
jne 0x46711f
push str.Key_not_found._n
call fcn.00470b00
add esp, 4
mov eax, 1
jmp 0x467309
push str.Error_opening_key._n
call fcn.00470b00
add esp, 4
xor eax, eax
jmp 0x467309
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x224], ebx
cmp word [ebx - 2], 0x5c
je 0x467160
mov eax, 0x5c
mov word [ebx], ax
add ebx, 2
mov dword [ebp - 0x224], ebx
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 0x22c], 0x104
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x46727b
nop dword [eax + eax]
mov ecx, SysReAllocString
mov dword [ebp - 0x244], ecx
lea edi, [ebp - 0x21c]
mov dword [ebp - 0x23c], edi
mov edx, 0x208
mov dword [ebp - 0x240], edx
mov eax, ebx
mov dword [ebp - 0x234], eax
xor esi, esi
mov dword [ebp - 0x238], esi
test edx, edx
je 0x467208
test ecx, ecx
je 0x467218
movzx ebx, word [edi]
test bx, bx
je 0x467218
mov word [eax], bx
add eax, 2
mov dword [ebp - 0x234], eax
add edi, 2
mov dword [ebp - 0x23c], edi
dec edx
mov dword [ebp - 0x240], edx
dec ecx
mov dword [ebp - 0x244], ecx
inc esi
jmp 0x4671cc
sub eax, 2
mov dword [ebp - 0x234], eax
dec esi
mov dword [ebp - 0x238], esi
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
call fcn.00467090
test eax, eax
je 0x467275
mov dword [ebp - 0x22c], 0x104
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
mov ebx, dword [ebp - 0x224]
je 0x4671a0
jmp 0x46727b
mov ebx, dword [ebp - 0x224]
sub ebx, 2
mov dword [ebp - 0x224], ebx
xor eax, eax
mov word [ebx], ax
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x228]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x46712c
mov eax, 1
jmp 0x467309
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret
Function at 0x467760
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488700
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4bc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
jne 0x4677e4
mov dword [ebp - 4], 2
mov dword [ebp - 4], esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4677d0
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 3
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46780d
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4681e0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488890
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
wait
mov dword [ebp - 0x54], 0x40
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x46826f
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
call fcn.00472820
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x49c900]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x5c], xmm0
fld qword [ebp - 0x5c]
sub esp, 8
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp qword [ebp - 0x5c]
movsd xmm0, qword [ebp - 0x5c]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
wait
jmp 0x4682c1
mov eax, 4
wait
jmp 0x4682c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret

Function at 0x4686b0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4889f4
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x21c]
call fcn.004027e0
mov byte [ebp - 4], 2
mov dword [ebp - 0x224], 0x101
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00402680
mov dword [ebp - 0x228], 1
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x21c]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46876b
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, esi
jmp 0x4687c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret
Function at 0x468830
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488a8d
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x248], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
or esi, 0xffffffff
test eax, eax
je 0x468961
nop dword [eax]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x244]
call fcn.00402680
mov byte [ebp - 4], 2
lea edx, [ebp + 8]
lea ecx, [ebp - 0x244]
call fcn.004600e0
test al, al
jne 0x468930
cmp edi, 0xffffffff
je 0x4688f7
mov eax, dword [ebp - 0x238]
cmp edi, eax
je 0x468936
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46891c
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4688c0
jmp 0x468961
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468961
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x248], 0
je 0x46899e
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x468997
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov al, 1
jmp 0x468a3d
mov dword [ebp - 4], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4689c4
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
xor al, al
jmp 0x468a3d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret
Function at 0x46a000
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488f18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x46a115
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
call fcn.00402ee0
test al, al
jne 0x46a06a
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
lea ecx, [ebp - 0x28]
call fcn.0045fc60
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
push eax
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x24]
mov edi, 1
push edi
push str.url_d
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x46a0d1
nop
inc edi
lea eax, [ebp - 0x24]
push edi
push str.url_d
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x46a0b0
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46a0f9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403880
int3

Function at 0x46a280
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 1
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x46a2f9
test eax, eax
je 0x46a2f9
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 4
push 0
push str.ProxyEnable
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.AutoConfigURL
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.AutoDetect
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x46a770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4890f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4bc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0
push 0x49bc5c
lea ecx, [ebp - 0x28]
call fcn.0045fcf0
mov byte [ebp - 4], 2
push 0x20019
push dword [ebp - 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.00470bb0
test eax, eax
jne 0x46a87b
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push str.AllowManualLiveUpdate
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46a87b
cmp dword [ebp - 0x30], 4
jne 0x46a87b
cmp dword [ebp - 0x24], 1
jne 0x46a87b
lea ecx, [ebp - 0x20]
call fcn.00460d20
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a854
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x46a86d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov al, 1
jmp 0x46a914
lea ecx, [ebp - 0x20]
call fcn.00460d20
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46a8a6
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x46a8bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor al, al
jmp 0x46a914
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471083
mov esp, ebp
pop ebp
ret
Function at 0x46a980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489188
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
push str.SOFTWARESymantecSymantec_Endpoint_ProtectionLiveUpdate_
lea ecx, [ebp - 0x14]
call fcn.00402680
mov byte [ebp - 4], 2
push 0xf003f
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.00470bb0
mov esi, eax
test esi, esi
jne 0x46ab55
mov dword [ebp - 0x18], edi
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push esi
push str.AllowManualLiveUpdate
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x46aabf
lea ecx, [ebp - 0x2c]
call fcn.00460d20
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x48e2cc
call fcn.0045fcf0
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Symantec_LiveUpdate_Registry_value_change_error
call fcn.0045fcf0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
or ecx, 0xffffffff
call fcn.00462c10
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00460d20
mov byte [ebp - 4], 5
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46aa8b
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x46aaa4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x48e2cc
call fcn.0045fcf0
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Symantec_LiveUpdate_Registry_value_changed_success
call fcn.0045fcf0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 2
or ecx, 0xffffffff
call fcn.00462c10
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00460d20
mov byte [ebp - 4], 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ab21
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x46ab3a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 9
jmp 0x46aa6c