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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
push 0
push eax
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00415854
test al, al
je 0x4036d9
push ecx
push ebp
pop esp
pop ebx
push ebx
push esi
pop eax
pop edi
pop edi
pop eax
pop esp
pop ecx
pop ebp
pop esi
push edi
push ebp
push eax
pop ecx
pop ebp
pop eax
push edi
pop ecx
push ecx
pop ecx
call fcn.004155a2
test al, al
je 0x4036fb
push esp
push ebx
push ecx
push esp
push edi
push ebx
push ecx
pop eax
pop edx
push ebp
pop edi
push ecx
push ecx
push esp
pop ebx
pop esi
push eax
pop edx
push esi
push esp
pop ebp
pop eax
pop ebp
pop esi
push edx
call fcn.00415404
test al, al
je 0x403716
pop edx
push esi
pop edi
push esp
pop esi
pop esi
pop esi
pop ebx
push ecx
pop ebx
push esi
push esi
push ebp
push ebp
push edi
pop ebx
pop edx
pop eax
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00403739
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret

Function at 0x40382f
Capabilities:
Delete directory
Get common file path

Disassembly:
push 0x430
mov eax, 0x59694c
call fcn.00410ff3
mov ebx, ecx
mov dword [ebp - 0x43c], ebx
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.00431720
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00431720
add esp, 0x18
call fcn.00415671
test al, al
je 0x40389a
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
mov ebx, dword [ebp - 0x43c]
call fcn.00415ac1
test al, al
je 0x4038b5
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
xor edi, edi
lea eax, [ebp - 0x218]
push edi
cmp dword [ebp + 8], edi
je 0x4038c7
push 0x17
jmp 0x4038c9
push 2
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40396d
xor eax, eax
mov dword [ebp - 0x424], 7
mov esi, 0x59baf0
mov dword [ebp - 0x428], edi
push esi
mov word [ebp - 0x438], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00401f62
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov dword [ebp - 4], edi
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x59bb00
push eax
call fcn.00402189
push ecx
push ecx
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.0040135f
mov ecx, ebx
call fcn.00403e84
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edi
push 1
lea ecx, [ebp - 0x438]
call fcn.00401bfd
call fcn.00410fae
ret 4
Function at 0x403975
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
push 0
push eax
call fcn.00431720
add esp, 0xc
call fcn.00415b06
test al, al
je 0x4039c1
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
call fcn.00415785
test al, al
je 0x4039e7
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
push 0
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x403a53
call fcn.00415671
test al, al
je 0x403a26
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
call fcn.00415ac1
test al, al
je 0x403a41
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00403739
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret
Function at 0x4047de
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404879
call fcn.0041555d
test al, al
je 0x404822
push ebx
push edx
pop edi
pop esp
push esp
pop eax
push edx
pop edi
pop ebp
push esi
push edi
push edi
push edi
push ebp
pop esi
pop ebp
pop esi
call fcn.00415a37
test al, al
je 0x404848
push edx
pop esi
push esp
pop ebx
pop eax
push edi
push ebp
push eax
pop ebx
pop esp
push edi
push esp
pop edx
pop edx
push edi
push edx
push esi
pop ecx
pop eax
pop ebx
pop eax
push esp
pop edi
push ecx
pop esp
pop ebp
pop esp
pop ebp
push esi
call fcn.00415ac1
test al, al
je 0x404862
pop edi
pop esi
push edx
push esp
pop eax
push esp
pop edx
push ebp
push edx
push edx
push edx
push edi
pop ebp
push esp
pop eax
pop esi
pop esp
push str.ddf4be5eb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406092
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4060ce
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406106
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
Function at 0x4066b3
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
mov edi, 0xf013f
mov dword [ebp - 4], esi
push edi
push esi
push str.SOFTWARE
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406726
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x59baf0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x406708
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406726
push str.GDsftinf
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40672c
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x596f6a
call fcn.00410ff3
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
mov edi, 0xf003f
xor ebx, ebx
push edi
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4067e2
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push 0x59bf64
push dword [ebp - 0x30]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4067dd
xor eax, eax
mov dword [ebp - 0x14], 7
mov edi, 0x59baf0
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.00434fd1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00401f62
mov edi, 0x59bf70
mov dword [ebp - 4], ebx
push edi
call fcn.00434fd1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00401cf3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
call esi
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
push dword [ebp - 0x30]
call esi
call fcn.00410fae
ret
Function at 0x406c66
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x596f6a
call fcn.00410ff3
xor eax, eax
mov dword [ebp - 0x14], 7
mov esi, 0x59baf0
mov word [ebp - 0x28], ax
xor edi, edi
push esi
mov dword [ebp - 0x18], edi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f62
mov esi, str.RunOne
mov dword [ebp - 4], edi
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401cf3
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0xf003f
mov dword [ebp - 0x2c], edi
push ebx
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x30], edi
call esi
test eax, eax
jne 0x406d2f
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push 0x59bf64
push dword [ebp - 0x2c]
call esi
test eax, eax
je 0x406d0a
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push edi
push edi
push edi
push 0x59bf6c
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x406d2f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2c]
call esi
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
call fcn.00410fae
ret

Function at 0x40717c
Capabilities:
Terminate process

Disassembly:
push 0x1c
mov eax, 0x596d3b
call fcn.00410ff3
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push esi
call fcn.0040135f
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], edi
je 0x4071bf
push esi
call fcn.00414b07
pop ecx
test eax, eax
jle 0x4071bf
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4071bf
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
call fcn.00410fae
ret 4
Function at 0x4073ae
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0x2a0
mov eax, 0x596dc2
call fcn.00410ff3
mov edi, ecx
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.00402647
mov esi, 0x59bb64
mov byte [ebp - 4], 1
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00401cf3
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40752f
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40752f
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x40740e
cmp word [ebp - 0x27a], 0
je 0x40740e
cmp word [ebp - 0x27a], ax
jne 0x40744d
cmp word [ebp - 0x278], 0
je 0x40740e
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
cmp word [ebp - 0x27c], ax
jne 0x40746a
mov eax, ebx
jmp 0x407477
lea eax, [ebp - 0x27c]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401f62
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x4074e3
call fcn.00402647
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c54
push 0x59bb6c
call fcn.00434fd1
pop ecx
push eax
push 0x59bb6c
lea ecx, [ebp - 0x28]
call fcn.00401cf3
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00402647
mov ecx, edi
call fcn.004073ae
jmp 0x407510
call fcn.00402647
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c54
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00402647
mov ecx, edi
call fcn.0040757f
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401bfd
jmp 0x40740e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x407561
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401bfd
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00401bfd
call fcn.00410fae
ret 0x18

Function at 0x4075ce
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
call fcn.00406c66
mov ecx, esi
call fcn.004075fa
mov ecx, esi
call fcn.00407614
mov ecx, esi
call fcn.0040672c
mov ecx, esi
call fcn.004066b3
mov ecx, esi
pop esi
jmp fcn.0040610c
Function at 0x4083cb
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x596f6a
call fcn.00410ff3
xor ecx, ecx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
call fcn.00415449
test al, al
je 0x408410
push esi
push eax
push edi
push eax
push ebp
push esp
pop esi
pop esp
pop ebx
pop esp
pop ecx
push ebx
pop edx
pop ebp
push esp
push edx
push ecx
push edi
push eax
push edx
push eax
push eax
pop esp
push ecx
call fcn.004155a2
test al, al
je 0x40842d
pop edx
pop esp
pop esp
push eax
pop esi
pop ecx
push ebx
pop esp
push esp
push esp
pop ebx
push esp
push edi
push esp
pop edi
push edx
push edx
pop ecx
push esp
pop ebp
call fcn.004156fb
test al, al
je 0x408451
pop esp
push eax
push esp
pop ecx
push esi
pop eax
pop eax
push ecx
pop ebx
pop edx
pop esp
pop ebp
push ecx
push esp
push ebx
push ecx
push eax
pop ebp
push edx
pop esi
pop edi
push edi
push ecx
pop edx
push ecx
pop eax
pop eax
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f62
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 reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov dword [ebp - 0x30], ebx
call fcn.00415671
test al, al
je 0x4084af
push ebp
pop esi
pop edi
pop eax
push esp
pop edx
push ecx
pop ecx
pop ebx
push ecx
push eax
push esi
push esp
push ebp
push ebp
push edx
push edi
push edi
pop ecx
push esi
push esi
mov ebx, dword [ebp - 0x30]
call fcn.00415740
test al, al
je 0x4084c8
pop eax
pop edi
pop ecx
push esp
push esp
push edi
push edi
pop esp
pop eax
pop esi
pop esi
pop ebp
pop esi
pop edi
push edi
pop esi
test ebx, ebx
jne 0x4084e3
push str.99DBFBB4_9D93_4F50_94F7_74A39CBBEE52
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
call fcn.00410fae
ret
Function at 0x4084f5
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x596f6a
call fcn.00410ff3
mov eax, dword [ebp + 8]
mov esi, str.99DBFBB4_9D93_4F50_94F7_74A39CBBEE52
and dword [ebp - 0x2c], 0
and dword [ebp - 0x18], 0
mov dword [ebp - 0x30], eax
xor eax, eax
push esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f62
and dword [ebp - 4], 0
call fcn.00415854
test al, al
je 0x40855b
pop eax
pop esi
pop edx
pop ebp
pop eax
push ebx
pop ebx
push eax
push ecx
push esp
pop edi
push edi
push edx
pop edx
push eax
push edi
push ebx
push edx
pop edx
push ebp
pop eax
push edx
pop esi
push esi
pop ebp
push ebx
push eax
push esp
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 dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x2c], 0
je 0x4085cf
call fcn.00415923
test al, al
je 0x4085a5
push esi
push esp
push ecx
pop ebp
push ecx
pop ecx
pop edi
push edx
pop edx
push ecx
pop esi
push ecx
push esp
push ecx
push esp
pop ebx
push esp
push ebp
pop ebx
push esi
pop esi
pop eax
push eax
push ebp
push ebp
push edx
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.InprocServer32
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 dword [ebp - 0x30]
call esi
call fcn.00415ac1
test al, al
je 0x4085f6
push esi
pop esi
pop eax
pop ecx
push ecx
pop esi
pop eax
push esi
push esp
push ebp
pop ebx
push eax
push edi
push esp
pop ebx
pop esp
pop edx
push edi
pop esp
push esi
push edx
push ebx
pop edi
push eax
pop ecx
push esp
pop ecx
push ecx
pop esi
push ebx
call fcn.004154d3
test al, al
je 0x408618
pop esi
push eax
push esi
push edx
push ebx
pop edx
push edx
pop esi
pop esp
push ebx
pop edx
push edx
pop edi
pop edx
pop esp
push ebp
pop esi
push ebx
push ebx
push esp
pop edx
push edi
push ebp
push edi
push esp
call fcn.004155a2
test al, al
je 0x40863a
pop eax
push ebp
pop ebp
push ebp
push edi
push eax
pop esp
push ecx
push edi
push esi
push edx
pop ebx
push ebp
pop ebp
pop edx
pop ebp
push esp
pop ebx
push ecx
push eax
pop ecx
pop ebp
push eax
pop esp
push esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
call fcn.00410fae
ret 4
Function at 0x408ec5
Capabilities:
Delete registry key

Disassembly:
push 0x2c
mov eax, 0x597e00
call fcn.00410ff3
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x38], ebx
mov esi, 0x59c388
mov dword [ebp - 0x34], edi
push esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f62
mov esi, str.652BAB5A_6425_4D0E_B769_B35D98E18F32
mov dword [ebp - 4], edi
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401cf3
mov esi, 0x59c3dc
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401cf3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0xf013f
push edi
push eax
push ebx
call esi
test eax, eax
jne 0x409024
lea eax, [ebp - 0x2c]
push eax
push 0xf013f
push edi
push 0x59c4ac
push dword [ebp - 0x34]
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x408fd8
lea eax, [ebp - 0x30]
push eax
push 0xf013f
push edi
push 0x59c4b4
push dword [ebp - 0x2c]
call esi
test eax, eax
jne 0x408fb1
push 0x59c4b8
push dword [ebp - 0x30]
call ebx
push str.win64
push dword [ebp - 0x30]
call ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x59c4b4
push dword [ebp - 0x2c]
call ebx
push str.FLAGS
push dword [ebp - 0x2c]
call ebx
push str.HELPDIR
push dword [ebp - 0x2c]
call ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004155e7
test al, al
je 0x409000
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
xor edi, edi
push 0x59c4ac
push dword [ebp - 0x34]
call ebx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call ebx
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
call fcn.00410fae
ret 4
Function at 0x409037
Capabilities:
Delete registry key

Disassembly:
push 0x20
mov eax, 0x59691c
call fcn.00410ff3
and dword [ebp - 0x2c], 0
call fcn.0041555d
test al, al
je 0x409067
push esi
push edx
push edx
push ecx
pop eax
push ebp
push esp
pop edx
pop edi
push eax
push edx
pop ecx
pop ecx
push edi
push ebx
pop edx
pop esi
push esi
push edi
pop edx
pop eax
push eax
push eax
call fcn.004155a2
test al, al
je 0x409087
pop esi
push ebp
pop ebx
push ecx
pop esp
pop ebx
push esi
push ecx
pop ebp
pop esi
pop edi
pop ebp
push esp
pop esi
pop edx
push ebp
push esp
push ecx
pop edx
pop esi
pop esp
pop eax
pop ebx
call fcn.00415968
test al, al
je 0x4090a3
pop esi
push eax
pop edx
pop esp
push edi
push ebp
push eax
push esp
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebx
pop eax
pop eax
pop edi
pop ebx
push esi
and dword [ebp - 0x18], 0
xor eax, eax
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers_
mov dword [ebp - 0x14], 7
push esi
mov word [ebp - 0x28], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f62
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 0xf013f
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40913e
mov esi, 0x59c590
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401f62
mov esi, str.GDOVL751697B0Zipcls
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401cf3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00415854
test al, al
je 0x40915d
pop ecx
pop esp
push eax
push esp
push ebx
push ecx
push esp
push ebx
pop esi
pop edi
pop ebp
pop edi
pop edi
pop ebx
push edi
pop edx
pop ebx
pop eax
pop esi
pop esi
push ecx
push ebx
call fcn.00415740
test al, al
je 0x40917c
pop esi
push ebp
pop ecx
pop eax
pop esi
push edx
pop edi
push ecx
push edx
pop esp
push esp
pop esi
pop esp
push edi
push eax
pop ecx
push ebx
pop ebx
pop esi
push edi
pop ebx
pop esi
call fcn.004155a2
test al, al
je 0x40919f
push ebp
push eax
push esp
pop edx
pop edx
pop eax
pop esi
pop edi
pop edi
push ebx
push edx
pop ebp
pop ecx
push esi
push eax
push esp
pop ecx
pop ebx
pop ebp
pop ebx
pop edx
pop esi
pop esi
pop esp
push esi
pop ebx
call fcn.0041555d
test al, al
je 0x4091bd
pop ebx
pop ebp
pop edi
pop eax
pop ebp
pop edx
pop ebp
push eax
push esp
push eax
push ebx
push esp
pop esp
pop edi
pop ebp
pop edx
push esp
push ebx
push eax
pop esi
pop esi
call fcn.00415854
test al, al
je 0x4091e5
pop edx
pop ebp
pop edx
pop edx
pop esp
pop ebx
push esi
push ebx
push edx
pop esi
push eax
pop edx
pop esp
push edi
pop ebx
pop esi
pop esp
pop edx
pop ecx
push esp
pop ebp
push edx
push edx
push ecx
pop edi
push ebp
push edx
push ecx
pop eax
push esi
pop ebx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
call fcn.00410fae
ret