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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61e088]
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.00430680
add esp, 0xc
call fcn.004111eb
test al, al
je 0x4027ed
pop edi
pop edi
push esp
pop esp
pop edx
pop esi
pop ebx
pop ebx
push edi
push eax
pop esi
pop edx
pop ebx
pop ecx
push ebx
pop edi
pop ebx
pop esi
pop esi
push ebx
pop edx
pop ecx
push ecx
push esi
pop ebp
push eax
call fcn.004118a8
test al, al
je 0x402807
pop ebx
pop ebp
push esi
push eax
pop edi
push ecx
pop esi
pop edx
pop edx
push ebx
pop esi
push ebp
pop ebp
pop ebx
pop esi
pop ebx
pop edi
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x402843
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.00433f6c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00402923
call fcn.00411680
test al, al
je 0x402865
pop esp
push eax
push esp
push ebx
pop edx
pop ebp
pop ebp
pop edx
pop ebp
pop esi
push edx
pop ebp
pop edx
push ebx
pop ebx
push ebx
push ecx
pop ecx
pop eax
pop edx
pop esp
pop ebp
pop eax
push ebx
push esp
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410350
mov esp, ebp
pop ebp
ret

Function at 0x402876
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61e088]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00430680
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.004116c5
test al, al
je 0x4028ea
push edx
push edi
pop edi
pop ebp
push ebp
pop ebx
pop esp
pop ebx
push eax
pop ebp
push ebx
push esi
pop edi
pop eax
push esi
push esp
push eax
pop ebx
push ecx
push esi
pop edx
pop esi
pop esp
pop edx
push eax
push eax
push esi
pop eax
push ecx
pop ebx
mov esi, dword [ebp - 0x210]
call fcn.00411230
test al, al
je 0x402904
push edi
pop edi
push esi
push esp
pop ecx
push edx
push ebx
pop ebx
push ebp
push edx
pop edi
push esi
pop ebp
pop edx
push esp
push eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00402923
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410350
mov esp, ebp
pop ebp
ret
Function at 0x402a3c
Capabilities:
Delete directory
Get common file path

Disassembly:
push 0x434
mov eax, 0x595838
call fcn.004103bb
mov dword [ebp - 0x43c], ecx
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.00430680
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00430680
add esp, 0x18
call fcn.004110d7
test al, al
je 0x402a9d
pop esp
pop ebx
push edx
pop ebx
pop ecx
push edx
push eax
push ebx
pop eax
pop edi
pop edi
push esi
push esp
push edx
push ecx
pop ecx
push ebx
pop edi
pop ebx
push esp
pop ebp
pop esi
pop eax
pop esp
push eax
pop eax
push edx
pop eax
push ebp
call fcn.004116c5
test al, al
je 0x402abf
pop eax
pop ecx
push eax
pop ebp
push edx
push ebp
pop eax
pop esp
pop ebp
push edi
pop ebx
pop ebx
pop edi
push ecx
push ebp
push esp
push eax
push esp
pop eax
pop edi
pop ebx
pop edi
push esi
push edx
pop esi
call fcn.00411275
test al, al
je 0x402ae4
pop eax
pop ecx
pop ebp
pop ecx
pop ecx
push ebx
pop eax
pop edx
pop edx
push esi
pop eax
pop esi
pop ebx
pop esp
pop eax
push ebx
pop ebp
push esi
pop ebp
push edi
push edx
pop edi
pop ecx
push ebp
push esp
push esi
pop edi
push ebp
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
cmp dword [ebp + 8], ebx
je 0x402af6
push 0x17
jmp 0x402af8
push 2
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x402ba0
xor eax, eax
mov dword [ebp - 0x424], 7
mov esi, 0x59a618
mov dword [ebp - 0x428], ebx
push esi
mov word [ebp - 0x438], ax
call fcn.00433f51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.00401c7b
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov dword [ebp - 4], ebx
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x59a630
push eax
call fcn.0040351f
push ecx
push ecx
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.00401680
mov ecx, dword [ebp - 0x43c]
call fcn.00403136
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00401b31
call fcn.00410376
ret 4
Function at 0x402ba8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61e088]
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.00430680
add esp, 0xc
call fcn.004116c5
test al, al
je 0x402bfd
push eax
push ebp
push ebp
push edi
push esp
push esp
push edx
push esp
pop eax
pop esi
push esp
push edi
pop eax
push esi
pop ebp
pop edi
push ebp
push ecx
push eax
push esp
push esi
push ebx
push ebx
push edx
push ecx
pop ebp
call fcn.004115b1
test al, al
je 0x402c1b
push esi
pop edi
push eax
push ecx
push esi
push esi
pop ecx
push esi
pop ecx
push eax
push edx
push eax
pop ebp
pop esi
push eax
pop ecx
pop esp
pop edi
push eax
pop edx
pop edx
push 0
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x402cb1
call fcn.004110d7
test al, al
je 0x402c58
pop esp
pop ebx
push edx
pop ebx
pop ecx
push edx
push eax
push ebx
pop eax
pop edi
pop edi
push esi
push esp
push edx
push ecx
pop ecx
push ebx
pop edi
pop ebx
push esp
pop ebp
pop esi
pop eax
pop esp
push eax
pop eax
push edx
pop eax
push ebp
call fcn.004116c5
test al, al
je 0x402c7a
pop eax
pop ecx
push eax
pop ebp
push edx
push ebp
pop eax
pop esp
pop ebp
push edi
pop ebx
pop ebx
pop edi
push ecx
push ebp
push esp
push eax
push esp
pop eax
pop edi
pop ebx
pop edi
push esi
push edx
pop esi
call fcn.00411275
test al, al
je 0x402c9f
pop eax
pop ecx
pop ebp
pop ecx
pop ecx
push ebx
pop eax
pop edx
pop edx
push esi
pop eax
pop esi
pop ebx
pop esp
pop eax
push ebx
pop ebp
push esi
pop ebp
push edi
push edx
pop edi
pop ecx
push ebp
push esp
push esi
pop edi
push ebp
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00402923
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410350
mov esp, ebp
pop ebp
ret
Function at 0x403b29
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
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 0x403b85
call fcn.004113ce
test al, al
je 0x403b6e
push edi
pop ecx
push edi
push edi
push esi
push ebp
pop ebp
push ebx
push eax
pop eax
pop eax
push edx
pop esp
pop edi
push edx
pop edi
pop edi
pop eax
pop edi
pop edi
push str.AiDoo
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x403e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
call fcn.004117d9
test al, al
je 0x403e6a
push edi
pop edi
push esp
push edi
push edx
pop eax
push eax
pop edx
pop ebx
pop ecx
pop ebx
push edx
push ecx
pop eax
push esp
pop edi
push esp
pop esi
push edi
push ebx
pop ebp
pop edi
push eax
pop esi
pop esp
pop esp
push edx
push ebp
pop esp
push ebp
push edx
pop esi
call fcn.00411230
test al, al
je 0x403e8a
push ebx
pop esi
push edx
pop edx
pop esi
pop ecx
push eax
pop esp
pop ecx
pop edi
push eax
push esi
push edi
push edx
push ebx
push esp
push eax
pop esp
push ecx
push eax
pop ebp
pop ebx
pop esi
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403fe6
call fcn.00411863
test al, al
je 0x403ecb
pop eax
push ebx
pop ecx
push ebx
pop ebp
push edx
pop ebp
pop edx
pop edi
pop eax
pop esp
push edi
push ecx
push edx
push ebx
push eax
push esp
pop esi
pop ecx
push edx
push esp
call fcn.0041111c
test al, al
je 0x403ee6
pop edi
push ebp
push edx
pop esp
push esp
pop esi
pop ebx
pop ebp
pop eax
pop ebx
pop esp
pop edi
pop edx
pop edx
pop ebx
pop ebx
push ebx
push ebp
call fcn.004118a8
test al, al
je 0x403f0d
pop esi
push edi
pop edi
pop edi
pop ebx
push eax
push ebx
pop edi
push edi
push esi
push eax
pop ebx
push ebp
push ecx
push ebp
push ebp
push ecx
pop ecx
pop edx
pop ebp
pop eax
pop eax
pop edx
push edi
push ebx
push eax
push edx
push ecx
pop esp
push edi
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.AiDoo
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403fe6
call fcn.004113ce
test al, al
je 0x403f4b
push edi
pop ecx
push edi
push edi
push esi
push ebp
pop ebp
push ebx
push eax
pop eax
pop eax
push edx
pop esp
pop edi
push edx
pop edi
pop edi
pop eax
pop edi
pop edi
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]
call fcn.004114e2
test al, al
je 0x403f8f
push eax
pop esi
pop edi
pop esp
push esi
pop edi
pop ecx
pop ebp
push ebx
pop ebp
push ecx
push ecx
push eax
push edi
push ebx
pop esi
pop eax
pop edx
push esi
push esp
push edi
pop ecx
pop ebx
push ecx
pop ebx
push edx
pop edx
pop esp
pop edx
call fcn.0041111c
test al, al
je 0x403fae
push ebp
pop ecx
push esp
pop edx
push ecx
push ebx
push edi
push esp
pop ebx
pop eax
pop edx
pop edx
push ebx
pop esi
pop ecx
push ebx
push esi
pop ecx
push ebx
push edx
push ebp
pop edi
call fcn.004112ff
test al, al
je 0x403fc8
push edi
pop esp
pop edx
push eax
push edx
pop ebp
push ebx
push esp
push esp
pop esi
pop esp
pop eax
push ebx
push ecx
push esp
push esp
pop ecx
cmp dword [ebp - 4], 0
je 0x403fd7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x403fe6
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40573d
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 0x405779
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 0x4057b1
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 0x405d0a
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 0x405d7d
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x59a724
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x405d5f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x405d7d
push str.AppInfo
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 0x405d83
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x595e34
call fcn.004103bb
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 0x405e39
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push 0x59ac1c
push dword [ebp - 0x30]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x405e34
xor eax, eax
mov dword [ebp - 0x14], 7
mov edi, 0x59a724
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.00433f51
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00401c7b
mov edi, 0x59ac28
mov dword [ebp - 4], ebx
push edi
call fcn.00433f51
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00402595
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.00401b31
push dword [ebp - 0x30]
call esi
call fcn.00410376
ret
Function at 0x4062bd
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x595e34
call fcn.004103bb
xor eax, eax
mov dword [ebp - 0x14], 7
mov esi, 0x59a724
mov word [ebp - 0x28], ax
xor edi, edi
push esi
mov dword [ebp - 0x18], edi
call fcn.00433f51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401c7b
mov esi, str.RunOne
mov dword [ebp - 4], edi
push esi
call fcn.00433f51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402595
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 0x406386
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push 0x59ac1c
push dword [ebp - 0x2c]
call esi
test eax, eax
je 0x406361
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
push edi
push edi
push edi
push 0x59ac24
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x406386
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.00401b31
call fcn.00410376
ret

Function at 0x4067a3
Capabilities:
Terminate process

Disassembly:
push 0x1c
mov eax, 0x595bdf
call fcn.004103bb
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push esi
call fcn.00401680
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], edi
je 0x4067e6
push esi
call fcn.0041d378
pop ecx
test eax, eax
jle 0x4067e6
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4067e6
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401b31
call fcn.00410376
ret 4
Function at 0x406a4f
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0x2a0
mov eax, 0x595cf4
call fcn.004103bb
mov edi, ecx
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.00401658
mov esi, 0x59a694
mov byte [ebp - 4], 1
push esi
call fcn.00433f51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00402595
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 0x406bd0
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x406bd0
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x406aaf
cmp word [ebp - 0x27a], 0
je 0x406aaf
cmp word [ebp - 0x27a], ax
jne 0x406aee
cmp word [ebp - 0x278], 0
je 0x406aaf
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
cmp word [ebp - 0x27c], ax
jne 0x406b0b
mov eax, ebx
jmp 0x406b18
lea eax, [ebp - 0x27c]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401c7b
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x406b84
call fcn.00401658
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.004024f6
push 0x59a69c
call fcn.00433f51
pop ecx
push eax
push 0x59a69c
lea ecx, [ebp - 0x28]
call fcn.00402595
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00401658
mov ecx, edi
call fcn.00406a4f
jmp 0x406bb1
call fcn.00401658
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.004024f6
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00401658
mov ecx, edi
call fcn.00406c20
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401b31
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401b31
jmp 0x406aaf
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 0x406c02
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.00401b31
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00401b31
call fcn.00410376
ret 0x18

Function at 0x406c6f
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
call fcn.004062bd
mov ecx, esi
call fcn.00406c9b
mov ecx, esi
call fcn.00406cb6
mov ecx, esi
call fcn.00405d83
mov ecx, esi
call fcn.00405d0a
mov ecx, esi
pop esi
jmp fcn.004057ba
Function at 0x407ab0
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x595e34
call fcn.004103bb
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.004115b1
test al, al
je 0x407af8
pop ebx
push ebx
push ecx
pop ecx
push eax
pop edi
push edi
pop ebx
pop edx
push edx
pop ebp
pop edi
pop esp
push eax
push esp
pop esi
push esp
pop esp
push ecx
push esi
push ebx
pop ebx
push edi
pop esp
pop ebx
pop edi
pop esp
call fcn.00411230
test al, al
je 0x407b11
pop ebx
pop eax
push esp
push esi
push eax
pop esp
push ebx
push edx
push ebp
pop ebx
push edi
pop edi
push esi
pop ecx
pop edx
pop edi
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push esi
call fcn.00433f51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401c7b
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 esi, eax
mov dword [ebp - 0x30], esi
call fcn.00411863
test al, al
je 0x407b6e
push edi
pop esi
push eax
pop esi
push esp
push ebp
push ebp
push esp
push eax
pop edi
pop ebx
push ebp
push eax
push esi
push esp
push edi
push edx
push ebx
push edx
pop edx
mov esi, dword [ebp - 0x30]
call fcn.0041163b
test al, al
je 0x407b87
pop ebp
push ebx
pop edi
push ecx
push ebx
pop ebp
push ebx
pop edi
push ecx
push ebp
pop edi
push esp
pop ebx
pop esp
push esp
push eax
test esi, esi
jne 0x407ba2
push str.ED262B91_1251_40D8_AA54_414196DABA43
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.00401b31
call fcn.00410376
ret
Function at 0x407bb4
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x595e34
call fcn.004103bb
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov esi, str.ED262B91_1251_40D8_AA54_414196DABA43
xor eax, eax
mov dword [ebp - 0x2c], ebx
push esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.00433f51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401c7b
mov dword [ebp - 4], ebx
call fcn.004113ce
test al, al
je 0x407c0f
push ebp
pop ebx
push eax
push eax
pop ecx
pop ebx
pop ebp
push ebp
push eax
push edx
push esp
pop edi
pop esp
push ebx
push ebx
pop ebp
push esp
push esp
call fcn.004112ba
test al, al
je 0x407c2b
push eax
push ebp
push ebx
push edi
pop eax
push ecx
push esp
push ecx
push ecx
push edx
pop ebx
pop esi
push eax
pop esp
push edx
pop edi
pop ebx
pop ebp
pop ebp
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0xf013f
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x2c], 0
je 0x407cb6
call fcn.00411794
test al, al
je 0x407c74
push ebx
pop esi
push edx
push ecx
push ebp
pop esp
pop ebp
pop edx
pop ecx
pop edi
push esp
pop ebp
pop edi
push esi
pop ecx
pop esi
push ecx
pop ebp
pop eax
push eax
pop ebp
pop ecx
push ebx
push eax
push edi
call fcn.0041111c
test al, al
je 0x407c8e
push edx
pop edx
push eax
pop edi
pop eax
pop esp
pop esi
push eax
push edi
pop edi
pop ebp
pop eax
pop ecx
push eax
push edi
push esp
push ebx
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 ebx
call esi
call fcn.004117d9
test al, al
je 0x407cdf
push edi
pop edi
push esp
push edi
push edx
pop eax
push eax
pop edx
pop ebx
pop ecx
pop ebx
push edx
push ecx
pop eax
push esp
pop edi
push esp
pop esi
push edi
push ebx
pop ebp
pop edi
push eax
pop esi
pop esp
pop esp
push edx
push ebp
pop esp
push ebp
push edx
pop esi
call fcn.00411230
test al, al
je 0x407cff
push ebx
pop esi
push edx
pop edx
pop esi
pop ecx
push eax
pop esp
pop ecx
pop edi
push eax
push esi
push edi
push edx
push ebx
push esp
push eax
pop esp
push ecx
push eax
pop ebp
pop ebx
pop esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401b31
call fcn.00410376
ret 4