joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac050
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46aa73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d1411
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4d7610
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x4d7558
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [fcn.0046c040]
push eax
mov ecx, edi
call fcn.004d6a5f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004d7f7b
test eax, eax
je 0x4ac16c
mov ecx, dword [esp + 0x3c]
call fcn.004d6a8c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.0046c4e0]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4ac130
push edi
mov ecx, esi
call fcn.004d40f9
mov ecx, esi
call fcn.004ac320
cmp dword [esp + 0x38], 1
jne 0x4ac165
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d4234
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4ae350
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4ae383
push esi
call fcn.004b14c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4ae37c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4ae409
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4ae3f2
mov eax, dword [esi + 8]
test eax, eax
je 0x4ae3a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4ae3ee
cmp eax, 2
je 0x4ae3f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4ae39a
cmp eax, 3
je 0x4ae3cd
cmp eax, 1
jne 0x4ae39a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4ae39a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4ae39a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004ae430
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4ae418
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004ae430
add esp, 4
pop esi
ret
Function at 0x4020e4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x40210c
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x84]
xor ecx, ecx
sub eax, ecx
je 0x402140
dec eax
je 0x402120
dec eax
je 0x402132
jmp 0x402108
cmp dword [ebp - 0x8c], ecx
jne 0x40212c
push 4
jmp 0x402142
jbe 0x402132
push 5
jmp 0x402142
cmp dword [ebp - 0x90], 5
sbb eax, eax
add eax, 7
leave
ret
push 3
pop eax
leave
ret

Function at 0x404d46
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0x14], esi
jle 0x404d78
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
push 4
pop ebx
lea ecx, [eax + esi]
mov eax, esi
cdq
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx + edi]
inc esi
cmp esi, dword [ebp + 0x14]
mov byte [ecx], al
jl 0x404d59
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x405360
Capabilities:
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x45b9ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], method.CWinApp.virtual_0
mov ecx, dword [0x47aa70]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x14c], ebx
je 0x4053a3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [0x47aa74]
mov dword [0x47aa70], ebx
cmp eax, ebx
je 0x405405
push ebp
push esi
push ebx
push ebx
push 0x4676cc
call fcn.0045584a
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x34]
mov esi, 2
cmp eax, esi
je 0x40542e
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push ebx
push 6
call esi
test eax, eax
jne 0x4053f8
push ebx
push 6
call esi
test eax, eax
je 0x4053ef
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
pop ebp
mov ecx, edi
mov dword [esp + 0x14c], 0xffffffff
call fcn.00459207
mov ecx, dword [esp + 0x144]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret
mov ebx, dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], 0x94
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xc8], esi
jne 0x4054b0
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x405440
lea ecx, [esp + 0x18]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x405440
mov eax, dword [esp + 0x10]
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
push 0
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], esi
call edi
test eax, eax
je 0x405440
push 0
push 6
call ebx
test eax, eax
je 0x405440
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x405440
Function at 0x42a0b0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x104]
test eax, eax
je 0x42a0c6
mov eax, 1
pop esi
ret 4
mov dword [esi + 0x104], 1
mov eax, dword [esp + 8]
push 0
push 0
push 0
push 0
test eax, eax
mov dword [0x467714], 0
push esi
je 0x42a0f2
push 0x4284c0
jmp 0x42a0f7
push 0x429660
call fcn.0044c45f
test eax, eax
mov dword [esi + 0x108], eax
jne 0x42a11a
mov dword [esi + 0x104], eax
mov dword [0x467714], 1
pop esi
ret 4
mov eax, dword [eax + 0x28]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 8]
pop esi
ret 4

Function at 0x42a590
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov dword [esp], 1
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42a5bd
xor eax, eax
pop ecx
ret
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push esi
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x42b64c
Capabilities:
Get disk size

Disassembly:
sub esp, 0x11c
lea edx, [esp + 0x18]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x84]
mov dword [esi + 0x78], 0x200
add al, 0x43
movsx ecx, al
push ecx
push str._c:_
push edx
call fcn.00431959
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x42b6a8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, 0x14
call fcn.00431e10
mov dword [esi + 0x7c], eax
xor ebp, ebp
jmp 0x42b6ad
xor ebp, ebp
mov dword [esi + 0x7c], ebp
cmp dword [esi + 0x7c], ebp
jbe 0x42b6db
lea ecx, [esi + 0x74]
lea edx, [esi + 0x70]
lea edi, [esi + 0x6c]
push ecx
lea ebx, [esi + 0x68]
push edx
push edi
lea eax, [esp + 0x34]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x42b6db
mov ecx, dword [ebx]
imul ecx, dword [edi]
mov dword [esi + 0x78], ecx
jmp 0x42b6de
mov dword [esi + 0x7c], ebp
mov edx, dword [esi + 0x60]
mov dword [esi + 0x80], ebp
mov dword [edx], ebp
mov eax, dword [esi + 0x5c]
mov dword [eax + 0x248], ebp
mov eax, dword [esi + 0x5c]
mov ebp, 1
cmp dword [eax + 0x250], ebp
jl 0x42b78f
xor ecx, ecx
mov edx, dword [ecx + eax + 0x24c]
mov edi, dword [esi + 0x1d0]
test edi, edx
je 0x42b76b
mov edx, dword [ecx + eax + 0x244]
test edx, edx
je 0x42b759
mov edi, dword [ecx + eax + 0x254]
mov ebx, dword [esi + 0x78]
mov eax, edi
xor edx, edx
div ebx
mov eax, edi
test edx, edx
je 0x42b741
xor edx, edx
div ebx
inc eax
jmp 0x42b745
xor edx, edx
div ebx
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x6c]
imul eax, dword [esi + 0x68]
imul eax, dword [esi + 0x74]
add dword [esi + 0x80], eax
mov eax, dword [esi + 0x60]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
mov edx, dword [esi + 0x5c]
mov dword [edx + ecx + 0x248], ebp
mov eax, dword [esi + 0x5c]
add ecx, 0x258
mov dword [eax + ecx + 0x248], 0
mov eax, dword [esi + 0x5c]
cmp dword [ecx + eax + 0x250], ebp
jge 0x42b708
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x28]
push ecx
push str._12u
push edx
call fcn.00431959
add esp, 0xc
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 0x3f0
call fcn.0044ffa3
mov ecx, eax
call fcn.00450093
mov ecx, dword [esi + 0x80]
lea edx, [esp + 0x28]
push ecx
push str._12u
push edx
call fcn.00431959
add esp, 0xc
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 0x3f1
call fcn.0044ffa3
mov ecx, eax
call fcn.00450093
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
Function at 0x42c2b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0xffffffffffffffff
push 0x45c01a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
cmp eax, 1
mov dword [esp + 0x38], eax
jge 0x42c2fa
mov dword [esp + 0x38], 1
xor ebp, ebp
xor ebx, ebx
push 8
call fcn.0044d161
add esp, 4
mov dword [esp + 0x10], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x2c], edi
je 0x42c32b
mov ecx, ebp
and ecx, 0xff
shl ecx, 0x10
push ecx
mov ecx, eax
call fcn.004545c5
mov edi, eax
cmp ebp, 0xff
mov dword [esp + 0x2c], 0xffffffff
jge 0x42c35a
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x38]
lea edx, [ebx + eax]
add edx, ecx
mov ecx, dword [esi + 8]
push edx
lea edx, [ebx + eax]
mov eax, dword [esi]
push ecx
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
jmp 0x42c372
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
mov edx, dword [esi]
push eax
mov eax, dword [esi + 4]
mov ecx, ebx
add ecx, eax
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
test edi, edi
jne 0x42c380
xor eax, eax
jmp 0x42c383
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_FillRect]
test edi, edi
je 0x42c3a4
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
inc ebp
add ebx, ecx
cmp ebp, 0x100
jl 0x42c2fe
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x42c3d0
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45c059
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebp
push esi
push edi
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x170], esi
call fcn.0044aa13
push 0x47a94c
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 1
call fcn.00450529
mov ecx, dword [esp + 0x178]
lea eax, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x178], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jne 0x42c475
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004504bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.0044aa46
mov dword [esp + 0x170], 0xffffffff
jmp 0x42c5c5
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x1c]
call fcn.0044aaa6
mov eax, dword [esp + 0x178]
cmp dword [eax - 8], esi
jle 0x42c4fa
mov al, byte [esi + eax]
cmp al, 0x5c
je 0x42c4a8
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.00450798
jmp 0x42c4c9
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044abef
push 0x474f8c
lea ecx, [esp + 0x10]
call fcn.00450771
mov eax, dword [esp + 0x178]
mov ecx, dword [eax - 8]
dec ecx
cmp esi, ecx
jne 0x42c4f2
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0044abef
mov eax, dword [esp + 0x178]
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jl 0x42c48d
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call ebp
mov eax, dword [esp + 0x1c]
mov esi, 1
cmp eax, esi
jle 0x42c56e
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042c630
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 3
call fcn.004505a8
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 2
call fcn.004504bb
mov edx, dword [esp + 0xc]
push 0
push edx
call edi
test eax, eax
je 0x42c565
mov eax, dword [esp + 0xc]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x42c516
or esi, 0xffffffff
lea ecx, [esp + 0x14]
push esi
push 0
call fcn.0044aaa6
mov edx, dword [esp + 0x178]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [esp + 0x28]
push eax
cmp ecx, 0x10
jne 0x42c5d8
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004504bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.0044aa46
mov dword [esp + 0x170], esi
lea ecx, [esp + 0x178]
call fcn.004504bb
mov eax, 1
jmp 0x42c611
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004504bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.0044aa46
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], esi
call fcn.004504bb
xor eax, eax
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x168
ret
Function at 0x42d410
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x460e60
push 1
push 0
push 0x460e50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x42d43e
xor eax, eax
add esp, 0x210
ret 0xc
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
mov edx, dword [esp + 0x21c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x460e70
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x42d484
xor eax, eax
add esp, 0x210
ret 0xc
mov ecx, dword [esp + 0x218]
lea eax, [esp + 8]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
add esp, 0x210
ret 0xc
Function at 0x42d4e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xe4
lea eax, [esp + 0x1c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
push esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersion
mov esi, ecx
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x2c]
push str.Uninstall_
push ecx
call edi
lea edx, [esi + 0x1f8]
lea eax, [esp + 0x2c]
push edx
push eax
call edi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0xf003f
lea eax, [esi + 0xcc]
push 0
push eax
lea ecx, [esp + 0x44]
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42d57c
mov edx, dword [esp + 0xf8]
push 0x10010
add esi, 0x284
push 0x4763e0
push esi
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe4
ret 4
lea eax, [esp + 0x18]
push str.DisplayName
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [esi + 0x162]
push edi
call ebp
mov edx, dword [esp + 0x10]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
lea ecx, [esp + 0x24]
push 0
push ecx
push edx
call edi
test eax, eax
je 0x42d5ec
mov eax, dword [esp + 0xf8]
push 0x10010
add esi, 0x25c
push 0x4763e0
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe4
ret 4
lea edx, [esp + 0x18]
push str.UninstallString
push edx
call ebx
mov edx, dword [esi + 0x438]
lea eax, [esi + 0x1c6]
lea ecx, [esi + 0x444]
push eax
push ecx
push edx
lea eax, [esp + 0x38]
push str._c:_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [esp + 0x2c]
push ecx
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push eax
push edx
push 1
lea eax, [esp + 0x24]
push 0
push eax
push ecx
call edi
test eax, eax
je 0x42d67a
mov edx, dword [esp + 0xf8]
push 0x10010
add esi, 0x25c
push 0x4763e0
push esi
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe4
ret 4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xe4
ret 4
Function at 0x42e3d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
lea edx, [esi + 0xcc]
push 0
push edx
lea eax, [esi + 4]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42e430
mov ecx, dword [esp + 0x24]
push 0x10010
add esi, 0x284
push 0x4763e0
push esi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 4
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
lea ebx, [esi + 0x43c]
push edx
lea eax, [esp + 0x1c]
push ebx
push eax
push 0
mov ebp, 4
push str.Installation
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call edi
test eax, eax
jne 0x42e4ad
cmp dword [ebx], 0
jne 0x42e482
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x14]
lea ebp, [esi + 0x438]
push edx
lea eax, [esp + 0x1c]
push ebp
push eax
push 0
push str.Target_drive
push ecx
call edi
test eax, eax
je 0x42e4e0
mov edx, dword [esp + 0x24]
push 0x10010
add esi, 0x2ac
push 0x4763e0
push esi
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea ebx, [esi + 0x444]
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
push 0
push str.Target_directory
push eax
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x30], 1
call edi
test eax, eax
je 0x42e546
mov ecx, dword [esp + 0x24]
push 0x10010
add esi, 0x2ac
push 0x4763e0
push esi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp]
lea edi, [esi + 0x858]
add esi, 0x1c6
push esi
push ebx
push ecx
push str._c:_s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x42ea7a
Capabilities:
Check os version
Delete file
Get common file path
Persist via run registry key

Disassembly:
sub esp, 0x29c
lea eax, [esp]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esi]
lea eax, [esp + 0x98]
push 0x103
push eax
push str.Startup
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
mov ecx, esi
call dword [edx]
test eax, eax
jne 0x42eb65
lea ecx, [esp + 0x19c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x42eb20
mov eax, dword [esp + 8]
cmp eax, 5
jb 0x42eaf3
movsx eax, byte [esp + 0x19c]
mov edx, dword [esp + 0x2a8]
push edx
push eax
push str._c:Documents_and_SettingsAll_Users_
jmp 0x42eb0d
cmp eax, 4
jb 0x42eb3c
mov edx, dword [esp + 0x2a8]
lea eax, [esp + 0x19c]
push edx
push eax
push str._sProfilesAll_Users_
lea ecx, [esp + 0xa4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x42eb8c
cmp eax, 1
jne 0x42eb3c
mov edx, dword [esp + 0x2a8]
lea eax, [esp + 0x19c]
push edx
push eax
push str._sStart_MenuPrograms_
jmp 0x42eb0d
mov edx, dword [esp + 0x2a4]
push 0x10010
push 0x4763e0
push str.Windows_3.X
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
add esp, 0x29c
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x98]
push 0x474f8c
push eax
call esi
mov ecx, dword [esp + 0x2a8]
lea edx, [esp + 0x98]
push ecx
push edx
call esi
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
add esp, 0x29c
ret 8