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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov ebx, ecx
push 0
push eax
call fcn.004cbbe0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004cbbe0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x414]
add esp, 0x18
push 0
push 2
push eax
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40bcfe
push 0x525fe0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x525fec
push eax
call fcn.0040c370
sub esp, 8
lea eax, [ebp - 0x20c]
mov ecx, esp
push eax
call fcn.0040ba50
mov ecx, ebx
call fcn.0040beb0
lea eax, [ebp - 0x20c]
push eax
call edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004cbbe0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004cbbe0
add esp, 0x18
lea eax, [ebp - 0x414]
push 0
push 0x17
push eax
push 0
call esi
test eax, eax
je 0x40bd78
push 0x525fe0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x525fec
push eax
call fcn.0040c370
sub esp, 8
lea eax, [ebp - 0x20c]
mov ecx, esp
push eax
call fcn.0040ba50
mov ecx, ebx
call fcn.0040beb0
lea eax, [ebp - 0x20c]
push eax
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x10
push eax
push 0
call esi
test eax, eax
je 0x40bdaf
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040bb80
push 0
push 0x19
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
test eax, eax
je 0x40bdd0
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040bb80
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0xb
push eax
push 0
call esi
test eax, eax
je 0x40be07
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.0040bb80
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x17
push eax
push 0
call esi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.0040bb80
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call esi
test eax, eax
je 0x40be96
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40be70
mov ecx, 0x15
lea eax, [ebp - 0x20c]
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.0040bb80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049be04
mov esp, ebp
pop ebp
ret
Function at 0x40c200
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
test eax, eax
jne 0x40c31e
cmp dword [ebp + 0x1c], 8
push edi
push 0x208
push eax
lea eax, [ebp - 0x20c]
lea edi, [ebp + 8]
cmovae edi, dword [ebp + 8]
push eax
call fcn.004cbbe0
add esp, 0xc
push edi
call ebx
test eax, eax
jne 0x40c31d
push edi
lea eax, [ebp - 0x20c]
push 0x526068
push eax
call fcn.0040c370
lea eax, [ebp - 0x20c]
push str..gyx
push eax
call fcn.004cbe7c
add esp, 0x14
test eax, eax
je 0x40c296
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x40c31d
push esi
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x40c2c0
push str..gyx
push edi
push 0x52607c
push eax
call fcn.0040c370
add esp, 0x10
jmp 0x40c2d5
push esi
push str..gyx
push edi
push str._s_s_d
push eax
call fcn.0040c370
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c2fb
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x40c2fb
cmp esi, 0xa
jg 0x40c31c
inc esi
jmp 0x40c2a0
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004d4366
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
pop edi
mov edx, dword [ebp + 0x1c]
pop ebx
cmp edx, 8
jb 0x40c355
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c34b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c36a
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret 0x18
call fcn.004cf6b9
int3
Function at 0x40ddc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d9bf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55d184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
call fcn.0049bb2c
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40de19
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040de70
mov dword [esi], eax
jmp 0x40de1b
xor esi, esi
mov dword [edi + 0x54], esi
test esi, esi
jne 0x40de35
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x20]
push eax
push 0
push edi
push 0x40dbf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e100
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51da3e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x55d184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor edx, edx
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 7
mov word [ecx + 4], dx
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], 7
mov dword [ebp - 4], edx
mov word [ecx + 0x1c], dx
mov dword [ecx + 0x44], edx
mov dword [ecx + 0x48], 7
mov word [ecx + 0x34], dx
lea ebx, [ecx + 0x4c]
xor eax, eax
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edi, [ecx + 0x64]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 0x7c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ecx + 0xa4], eax
mov dword [ecx + 0xa8], 7
mov word [ecx + 0x94], ax
add ecx, 0xac
mov byte [ebp - 4], 6
call fcn.0042e582
mov eax, dword [ebp - 0x10]
push 0x15
push str.HaoKanWallPaperConfig
mov byte [ebp - 4], 7
lea ecx, [eax + 4]
mov dword [eax], 0
call fcn.00407300
mov ecx, dword [ebp - 0x10]
push 6
push str.HKTcsc
lea ecx, [ecx + 0x1c]
call fcn.00407300
mov ecx, dword [ebp - 0x10]
push 0
push 0x525840
lea ecx, [ecx + 0x34]
call fcn.00407300
push 0
push 0x525840
mov ecx, ebx
call fcn.00407300
push 5
push str.0_100
mov ecx, edi
call fcn.00407300
push 0
push 0x525840
mov ecx, esi
call fcn.00407300
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xfc], 0
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 0x40e490
Capabilities:
Check if file exists
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51da81
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004cbbe0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004cbbe0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004cbbe0
add esp, 0x24
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
push str.ed292
call fcn.0040e6c0
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
push str.4bb5c
call fcn.0040e6c0
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
push str.e24b1
call fcn.0040e6c0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e698
xor eax, eax
mov dword [ebp - 0x630], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e570
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x640]
call fcn.00407300
cmp dword [ebp - 0x630], 0
mov dword [ebp - 4], 0
je 0x40e630
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.0042cf15
add esp, 8
push 0xc
push str.HaoKaIic.dll
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 1
call fcn.0040b840
lea ecx, [ebp - 0x678]
call fcn.0040b5b0
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x640]
cmp dword [ebp - 0x644], 8
push ecx
cmovae eax, dword [ebp - 0x658]
lea ecx, [ebp - 0x678]
push eax
call fcn.0040b800
lea ecx, [ebp - 0x678]
call fcn.0040b620
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 0
call fcn.00408700
lea eax, [ebp - 0x67c]
mov dword [ebp - 0x67c], 0
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e679
push str.HKTcsc
push dword [ebp - 0x67c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x67c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x628]
push eax
call fcn.0042da7c
add esp, 4
lea ecx, [ebp - 0x640]
call fcn.00408700
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret
Function at 0x40e6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x40e747
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.HKTcsc
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40e747
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x40e73d
push eax
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x40e747
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40fb20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dc48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fb65
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00407300
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x40fbb0
push esi
call fcn.0042d519
add esp, 4
test eax, eax
jle 0x40fbb0
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40fbb0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40fbe6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc02
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret 4
call fcn.004cf6b9
int3
Function at 0x410b40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x20], 0
push str.513BFE2D_1F1B_4271_A90A_55CA0DF545C8
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.0040b4a0
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x410bc9
push str.InprocServer32
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 8]
pop edi
cmp edx, 8
jb 0x410c00
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410bf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410c10
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret 4
call fcn.004cf6b9
int3
Function at 0x4113b0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51df58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5269e0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040b4a0
push 0x24
push str.A72BE049_F7B9_418B_922E_F2DCF91D247B
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040b840
push 1
push 0x526a34
lea ecx, [ebp - 0x28]
call fcn.0040b840
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4114aa
push 0x525840
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.AppID
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.InprocServer32
push dword [ebp - 0x2c]
call edi
push 0x526a38
push dword [ebp - 0x2c]
call edi
push str.Programmable
push dword [ebp - 0x2c]
call edi
push str.TypeLib
push dword [ebp - 0x2c]
call edi
push str.VersionIndependentProgID
push dword [ebp - 0x2c]
call edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4114ef
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4114e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41150c
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret 4
call fcn.004cf6b9
int3
Function at 0x411520
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x55d184]
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
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x38], ebx
push 0x5269e0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040b4a0
push 0x24
push str.1AAA06A7_B8EB_44B6_9372_B85FD8BD332F
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040b840
push 1
push 0x526a34
lea ecx, [ebp - 0x28]
call fcn.0040b840
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call ebx
test eax, eax
jne 0x41166e
lea eax, [ebp - 0x2c]
push eax
push 0xf013f
push 0
push 0x526ae4
push dword [ebp - 0x34]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41164e
lea eax, [ebp - 0x30]
push eax
push 0xf013f
push 0
push 0x525e40
push dword [ebp - 0x2c]
call ebx
test eax, eax
jne 0x41162b
push str.win32
push dword [ebp - 0x30]
call esi
push str.win64
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call edi
push 0x525e40
push dword [ebp - 0x2c]
call esi
push str.FLAGS
push dword [ebp - 0x2c]
call esi
push str.HELPDIR
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x2c]
call edi
push 0x526ae4
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x34]
call edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4116a4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41169a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116c2
push edx
push ecx
call fcn.0049bb5c
add esp, 8
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.0049be04
mov esp, ebp
pop ebp
ret 4
call fcn.004cf6b9
int3
Function at 0x4116d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51df58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5269e0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040b4a0
push 0x24
push str.C961B1D2_637B_4660_83A2_D2F8730B1E7D
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040b840
push 1
push 0x526a34
lea ecx, [ebp - 0x28]
call fcn.0040b840
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4117b2
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.InprocServer32
push dword [ebp - 0x2c]
call esi
push str.Programmable
push dword [ebp - 0x2c]
call esi
push str.TypeLib
push dword [ebp - 0x2c]
call esi
push str.Version
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4117e8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4117de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411805
push edx
push ecx
call fcn.0049bb5c
add esp, 8
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.0049be04
mov esp, ebp
pop ebp
ret 4
call fcn.004cf6b9
int3
Function at 0x411810
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x55d184]
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
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x38], ebx
push 0x5269e0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040b4a0
push 0x24
push str.0FE36CAB_B745_42A3_8968_11815E5240FD
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040b840
push 1
push 0x526a34
lea ecx, [ebp - 0x28]
call fcn.0040b840
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call ebx
test eax, eax
jne 0x41195e
lea eax, [ebp - 0x2c]
push eax
push 0xf013f
push 0
push 0x526ae4
push dword [ebp - 0x34]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41193e
lea eax, [ebp - 0x30]
push eax
push 0xf013f
push 0
push 0x525e40
push dword [ebp - 0x2c]
call ebx
test eax, eax
jne 0x41191b
push str.win32
push dword [ebp - 0x30]
call esi
push str.win64
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call edi
push 0x525e40
push dword [ebp - 0x2c]
call esi
push str.FLAGS
push dword [ebp - 0x2c]
call esi
push str.HELPDIR
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x2c]
call edi
push 0x526ae4
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x34]
call edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x411994
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41198a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119b2
push edx
push ecx
call fcn.0049bb5c
add esp, 8
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.0049be04
mov esp, ebp
pop ebp
ret 4
call fcn.004cf6b9
int3