joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423860
Capabilities:
Copy file
Delete file
Delete registry key
Get common file path

Disassembly:
sub esp, 0xa3c
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0xa34], eax
push esi
push edi
mov edi, ecx
xor eax, eax
test edi, edi
je 0x423aa4
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00476ef0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea esi, [edi + 0x208]
push esi
lea edx, [esp + 0x18]
push str._s__04d
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x10
test eax, eax
jge 0x4238dc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa34]
xor ecx, esp
call fcn.00471eba
add esp, 0xa3c
ret
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x83a]
push ecx
mov word [esp + 0x83c], ax
call fcn.00476ef0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x436]
push eax
mov word [esp + 0x438], dx
call fcn.00476ef0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x84c]
push str.SystemCurrentControlSetServices_s
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x24
test eax, eax
jl 0x4238c3
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x424]
push str.RegistryMachineSystemCurrentControlSetServices_s
push ecx
mov ecx, 0x104
call fcn.00404a10
add esp, 0xc
test eax, eax
jl 0x4238c3
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x632]
push eax
mov word [esp + 0x634], dx
call fcn.00476ef0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x62c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4238c3
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x222]
push eax
mov word [esp + 0x224], dx
call fcn.00476ef0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x638]
push edx
lea eax, [esp + 0x22c]
push str._sdrivers_s.sys
push eax
mov ecx, 0x104
call fcn.00404a10
add esp, 0x1c
test eax, eax
jl 0x4238c3
push 0
lea ecx, [esp + 0x21c]
push ecx
lea edx, [edi + 0x618]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4238c3
push edi
lea ecx, [esp + 0x14]
call fcn.00424270
xor eax, eax
mov dword [esp + 0xa], eax
mov word [esp + 0xe], ax
lea eax, [esp + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423a25
sub eax, edx
sar eax, 1
add eax, eax
mov word [esp + 8], ax
lea eax, [esp + 8]
mov ecx, 0x208
lea edx, [esp + 0x420]
push eax
mov word [esp + 0xe], cx
mov dword [esp + 0x10], edx
call dword [0x513b18]
lea ecx, [esp + 0x830]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x423a8e
lea ecx, [esp + 0x218]
call fcn.00424810
test edi, edi
jl 0x4238c3
lea edi, [esp + 0x10]
call fcn.00423c50
mov eax, 1
mov ecx, dword [esp + 0xa3c]
pop edi
pop esi
xor ecx, esp
call fcn.00471eba
add esp, 0xa3c
ret
Function at 0x423ac0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x62c
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
mov ebx, dword [esp + 0x634]
push esi
xor eax, eax
push edi
test ebx, ebx
je 0x423c36
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00476ef0
lea esi, [ebx + 0x208]
add esp, 0xc
lea edi, [esp + 0x18]
mov ecx, esi
call fcn.00423d40
test eax, eax
je 0x423b24
xor edx, edx
cmp eax, 2
sete dl
mov eax, edx
jmp 0x423c36
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x432]
push ecx
mov word [esp + 0x434], ax
call fcn.00476ef0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x236]
push eax
mov word [esp + 0x238], dx
call fcn.00476ef0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x444]
push str.SystemCurrentControlSetServices_s
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x24
test eax, eax
jge 0x423b88
xor eax, eax
jmp 0x423c36
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x224]
push str.RegistryMachineSystemCurrentControlSetServices_s
push ecx
mov ecx, 0x104
call fcn.00404a10
add esp, 0xc
test eax, eax
jl 0x423b81
push ebx
lea ecx, [esp + 0x1c]
call fcn.00424270
xor eax, eax
mov dword [esp + 0x12], eax
mov word [esp + 0x16], ax
lea eax, [esp + 0x220]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423bd0
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov word [esp + 0x10], dx
lea edx, [esp + 0x10]
mov eax, 0x208
lea ecx, [esp + 0x220]
push edx
mov word [esp + 0x16], ax
mov dword [esp + 0x18], ecx
call dword [0x513b14]
mov edi, eax
lea eax, [esp + 0x428]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test edi, edi
jge 0x423c2c
cmp edi, 0xc0000034
jne 0x423b81
call fcn.00423e40
mov eax, 1
mov ecx, dword [esp + 0x634]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00471eba
add esp, 0x62c
ret 4

Function at 0x423c50
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00476ef0
push esi
lea edx, [esp + 0x14]
push str._s_SavedBase
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x18
test eax, eax
jl 0x423cf6
lea eax, [esp]
push eax
push 2
push 0
push str.SYSTEMCurrentControlSetServices360bpsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423cf6
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423cc0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp]
push ecx
push edi
push 1
push 0
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x423d0d
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00471eba
add esp, 0x210
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, 1
call fcn.00471eba
add esp, 0x210
ret
Function at 0x423d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00476ef0
push esi
lea edx, [esp + 0x20]
push str._s_SavedBase
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x18
test eax, eax
jge 0x423da5
mov eax, 0x6f
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00471eba
add esp, 0x218
ret
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetServices360bpsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423e28
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
push edi
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423e26
cmp dword [esp + 8], 1
jne 0x423e26
xor eax, eax
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00471eba
add esp, 0x218
ret
mov eax, esi
mov ecx, dword [esp + 0x218]
pop esi
xor ecx, esp
call fcn.00471eba
add esp, 0x218
ret

Function at 0x423e40
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00476ef0
push esi
lea edx, [esp + 0x14]
push str._s_SavedBase
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x18
test eax, eax
jl 0x423edb
lea eax, [esp]
push eax
push 3
push 0
push str.SYSTEMCurrentControlSetServices360bpsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423edb
mov edx, dword [esp]
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423ed1
mov ecx, dword [esp]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00471eba
add esp, 0x210
ret
Function at 0x4245e0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00476ef0
push esi
lea edx, [esp + 0x14]
push str.SystemCurrentControlSetServices_s
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x18
test eax, eax
jge 0x424640
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00471eba
add esp, 0x210
ret 4
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42468f
push 4
lea edx, [esp + 0x218]
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push str.Type
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, 1
call fcn.00471eba
add esp, 0x210
ret 4

Function at 0x4246b0
Capabilities:
Check os version
Get common file path
Set registry value

Disassembly:
sub esp, 0x334
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
mov ebx, dword [esp + 0x33c]
push 0x11c
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x10], 1
call fcn.00476ef0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4247e7
cmp dword [esp + 0x14], 5
jne 0x4247e7
cmp dword [esp + 0x18], 1
jne 0x4247e7
push 0x104
lea edx, [esp + 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4247e7
push esi
mov ecx, 0x104
lea eax, [esp + 0x130]
xor esi, esi
cmp word [eax], si
je 0x424752
add eax, 2
sub ecx, 1
jne 0x424743
jmp 0x42475a
test ecx, ecx
jne 0x4247ff
mov esi, 0x80070057
xor edx, edx
mov eax, esi
test esi, esi
pop esi
jl 0x424785
push SysReAllocString
mov ecx, 0x104
sub ecx, edx
push str._ntoskrnl.exe
lea edx, [esp + edx*2 + 0x134]
call fcn.00404a70
test eax, eax
jne 0x4247e7
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x134]
push edx
call fcn.00424f50
add esp, 0xc
test eax, eax
je 0x4247e7
cmp dword [esp + 8], 0x50001
jne 0x4247e7
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0xffff0000
cmp ecx, 0xa280000
jne 0x4247e7
movzx edx, ax
cmp edx, 0xc35
jb 0x4247e7
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push str.CompFlag
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x334]
pop ebx
xor ecx, esp
call fcn.00471eba
add esp, 0x334
ret 4
mov edx, 0x104
sub edx, ecx
jmp 0x424761
Function at 0x424810
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x218
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
xor eax, eax
push 0x210
mov esi, ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00476ef0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0047547d
call fcn.0047548f
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, 0x104
push edx
push esi
lea edx, [esp + 0x10]
push str._s._03d
push edx
call fcn.00404a10
add esp, 0x14
push 1
lea eax, [esp + 8]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call esi
push 4
push 0
lea ecx, [esp + 0xc]
push ecx
call esi
mov ecx, dword [esp + 0x218]
pop esi
xor ecx, esp
call fcn.00471eba
add esp, 0x218
ret

Function at 0x424c30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x499f58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push str.Installed
push str.SYSTEMCurrentControlSetServices360bpsvc
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x424cf0
cmp dword [esp + 8], esi
je 0x424cf0
push 0x517d60
mov dword [esp + 0x18], 0x517d60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], esi
call fcn.00424a90
test eax, eax
je 0x424cc8
mov eax, dword [esp + 0x28]
push eax
call fcn.00424990
test eax, eax
je 0x424cc8
mov esi, 1
mov dword [esp + 0x20], 0xffffffff
push 0x517d60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4
Function at 0x424d10
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4947d8
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1c4]
mov eax, dword [esp + 0x1c0]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x424e79
cmp eax, ebx
je 0x424e79
push 0x103
lea eax, [esp + 0xa9]
push ebx
push eax
mov byte [esp + 0xb0], bl
call fcn.00476ef0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call fcn.00425340
mov dword [esp + 0x1b8], ebx
push 3
lea edx, [esp + 0x24]
push esi
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edx
call fcn.0040bdc0
mov byte [esp + 0x1b8], 1
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jne 0x424dc7
xor eax, eax
jmp 0x424dd9
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424dd0
sub eax, esi
mov edi, eax
push edx
lea eax, [esp + 0x18]
call fcn.00425510
mov byte [esp + 0x1b8], bl
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x424e01
push eax
call fcn.00472c50
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.0041ddf0
add esp, 4
lea esi, [esp + 0x1c]
lea ecx, [esp + 0xa4]
call fcn.0041de90
lea eax, [esp + 0xa4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424e57
sub eax, edx
cmp eax, ebp
jbe 0x424ea3
mov dword [esp + 0x1b8], 0xffffffff
lea edx, [esp + 0x14]
push edx
call fcn.004253f0
xor eax, eax
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00471eba
add esp, 0x1a8
ret
mov edi, dword [esp + 0x18]
xor esi, esi
lea esp, [esp]
movzx eax, byte [esp + esi + 0xa4]
push eax
push 0x4a7b60
mov ecx, ebp
call fcn.0040ca80
inc esi
add esp, 8
add edi, 2
cmp esi, 0x10
jl 0x424eb0
mov dword [esp + 0x1b8], 0xffffffff
lea ecx, [esp + 0x14]
push ecx
call fcn.004253f0
mov eax, 1
jmp 0x424e7b
Function at 0x424f50
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push esi
lea eax, [esp + 0xc]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x424f70
pop esi
pop ebx
add esp, 0xc
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push esi
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x424f92
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
mov esi, eax
test esi, esi
je 0x424fdf
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x4a5a68
push edi
mov dword [esp + 0x20], 0
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
test esi, esi
je 0x424fdf
mov eax, dword [esp + 0x10]
test eax, eax
je 0x424fdf
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x24]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
push edi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x425000
Capabilities:
Get disk information

Disassembly:
sub esp, 0x90
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
mov ebx, dword [esp + 0x98]
push esi
mov esi, ecx
xor ecx, ecx
push 0x7e
xor eax, eax
push ecx
lea edx, [esp + 0x1e]
push edx
mov dword [esp + 0x14], esi
mov word [esp + 0x18], ax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
mov word [esp + 0x20], cx
call fcn.00476ef0
add esp, 0xc
test ebx, ebx
je 0x4250ff
test esi, esi
je 0x4250ff
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push edi
mov edi, 0x41
push 0x40
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
mov eax, 0x3a
push edx
mov word [esp + 0x20], di
mov word [esp + 0x22], ax
call ebp
test eax, eax
je 0x4250b4
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425090
sub eax, edx
sar eax, 1
mov esi, eax
push esi
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.00475304
add esp, 0xc
test eax, eax
je 0x4250d6
inc edi
cmp di, 0x5a
jb 0x425067
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00471eba
add esp, 0x90
ret
mov eax, dword [esp + 0x10]
lea ecx, [ebx + esi*2]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x4a7580
push 0xffffffffffffffff
push 0x104
push eax
call fcn.0047231e
add esp, 0x18
mov eax, 1
jmp 0x4250bd
mov ecx, dword [esp + 0x94]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00471eba
add esp, 0x90
ret
Function at 0x425120
Capabilities:
Accept command line arguments
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.00476ef0
push esi
lea edx, [esp + 0x228]
push str.SYSTEMCurrentControlSetServices_s
push edx
mov ecx, 0x104
call fcn.00404a10
add esp, 0x18
test eax, eax
jl 0x425201
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00476ef0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.ImagePath
lea edx, [esp + 0x228]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x425201
cmp ax, word [esp + 0x10]
je 0x425201
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x425201
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
test eax, eax
jne 0x425219
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00471eba
add esp, 0x420
ret
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x420]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00471eba
add esp, 0x420
ret
Function at 0x4261e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x495e38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
jne 0x426316
mov esi, 7
xor eax, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], ax
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0xc]
call fcn.0040ccf0
test eax, eax
jne 0x426273
mov dword [esp + 0x34], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x42625d
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], dx
xor eax, eax
jmp 0x426316
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x426282
lea eax, [esp + 0x10]
push eax
lea esi, [edi + 0x18]
push str._s360Protect.dat
push esi
mov ecx, 0x104
call fcn.00404a10
add esp, 0xc
cmp eax, ebx
jge 0x4262d5
xor eax, eax
mov word [esi], ax
mov dword [esp + 0x34], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x4262be
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00471eaf
add esp, 4
xor edx, edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], dx
xor eax, eax
jmp 0x426316
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x4262fa
xor eax, eax
mov word [esi], ax
mov dword [esp + 0x34], 0xffffffff
lea esi, [esp + 0xc]
call fcn.00428ca0
xor eax, eax
jmp 0x426316
mov dword [edi], 1
mov dword [esp + 0x34], 0xffffffff
lea esi, [esp + 0xc]
call fcn.00428ca0
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00471eba
add esp, 0x2c
ret
Function at 0x426340
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x497e15
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x154]
push 0x512dc0
push 0x3e4
xor ebp, ebp
call fcn.004754b1
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14c], ebp
cmp eax, ebp
je 0x4263b8
lea ecx, [ebx + 0x18]
push ecx
mov esi, eax
call fcn.004272e0
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x4263be
mov dword [esp + 0x18], ebp
mov edi, ebp
mov dword [esp + 0x14c], 0xffffffff
test edi, edi
je 0x42651f
push edi
call fcn.004278f0
test eax, eax
jne 0x4263ea
add ebx, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42650b
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.00427960
mov dword [esp + 0x1c], eax
test eax, eax
je 0x42650b
mov esi, dword [esp + 0x20]
cmp esi, 0x64000
ja 0x42650b
lea edi, [esi + 1]
push 0x512dc0
push edi
call fcn.00472b75
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x426507
push edi
push 0
push ebp
call fcn.00476ef0
mov eax, dword [esp + 0x28]
add esp, 0xc
push esi
push eax
push esi
push ebp
call fcn.00472007
add esp, 0x10
lea esi, [ebx + 0x354]
push esi
mov eax, ebp
call fcn.00427ad0
test eax, eax
je 0x426507
push 0x4a7c28
push str.general
mov ecx, esi
call fcn.00427ed0
push 0x114
lea ecx, [esp + 0x2c]
push 0
push ecx
mov dword [ebx + 8], eax
mov dword [esp + 0x30], 0
call fcn.00476ef0
mov esi, dword [esp + 0x24]
add esi, 0xb8
mov ecx, 0x46
lea edi, [esp + 0x30]
lea eax, [ebx + 0x220]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x4264cb
mov ecx, dword [eax + 0x50]
cmp edx, ecx
ja 0x4264c4
jne 0x4264cb
cmp esi, dword [eax + 0x10]
jbe 0x4264cb
mov edi, 1
jmp 0x4264cd
xor edi, edi
lea eax, [esp + 0x38]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x10], esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4264e0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x3c]
push edx
lea esi, [ebx + 0x338]
call fcn.00402bd0
test edi, edi
je 0x426507
mov dword [ebx + 4], edi
mov edi, dword [esp + 0x18]
mov esi, edi
call fcn.00426550
test ebp, ebp
je 0x42651f
push ebp
call fcn.00472eb2
add esp, 4
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00471eba
add esp, 0x13c
ret 4