joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dfb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48b802
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.004834fa
mov esi, dword [eax + 4]
mov ebx, 1
cmp dword [esi + 0x104], ebx
jne 0x42dfec
push 0x4af518
jmp 0x42dff1
push 0x4af50c
push 0x4b8
mov ecx, ebp
call fcn.0047b5e7
cmp dword [esi + 0xfc], ebx
jne 0x42e00c
push 0x4af504
jmp 0x42e011
push 0x4af4f8
push 0x4b9
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [0x4b20c8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xd4]
lea ecx, [esp + 0x18]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x140], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42e1ae
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push str.Adware_Scan_Day
push edx
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42e190
lea eax, [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x14]
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push 0xa
push edx
call fcn.00475d5b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 2
call fcn.0047c22c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
lea eax, [esp + 0x24]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00475cdf
mov esi, eax
push 2
lea ecx, [esp + 0x24]
push 5
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 3
call fcn.00475c49
mov edi, eax
lea edx, [esp + 0x14]
push 4
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 4
call fcn.00475d5b
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4af4e8
push ecx
mov byte [esp + 0x14c], 5
call fcn.0047617b
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 4
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 3
call fcn.0047c0f3
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
mov edx, dword [esp + 0x18]
mov ecx, ebp
push edx
push 0x4ba
call fcn.0047b5e7
mov eax, dword [esp + 0x1c]
pop edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42e1bf
push 0x4af4d8
push 0x4ba
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42e1bf
push 0x4af4d8
push 0x4ba
mov ecx, ebp
call fcn.0047b5e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x12c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x431290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48bd68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4b20c8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
mov bl, 2
push eax
mov ecx, 0x4b61ac
mov byte [esp + 0x28], bl
call fcn.00456fb0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.0047c22c
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.0047c0f3
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4b61ac
call fcn.00457560
push eax
lea edx, [esp + 0x14]
push 0x4ad5e8
push edx
mov byte [esp + 0x30], 4
call fcn.0047c3fc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 5
call fcn.0047c50b
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.0047c0f3
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0047c0f3
lea eax, [esp + 0x14]
mov ecx, 0x4b61ac
push eax
call fcn.00457490
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 6
call fcn.0047c22c
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0047c0f3
mov ecx, dword [esp + 8]
push 0x4b61a0
push ecx
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x431393
push 0x4b00dc
lea ecx, [esp + 0xc]
call fcn.0047c27c
mov edx, dword [esp + 8]
push 0x4b61a0
push edx
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x4313b7
push 0x4b00dc
lea ecx, [esp + 0xc]
call fcn.0047c27c
mov eax, dword [esp + 8]
mov ecx, esi
push eax
push 0x50e
call fcn.0047b5e7
mov ecx, dword [esp + 0xc]
push ecx
push 0x50f
mov ecx, esi
call fcn.0047b5e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.0047c0f3
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.0047c0f3
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4316b0
Capabilities:
Get disk information
Get file system object information

Disassembly:
sub esp, 0x368
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, ecx
push esi
push 0
mov eax, dword [ebp + 0x2a4]
push 0
push 0x14b
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [esp + 0x20]
lea esi, [esp + 0x20]
test al, al
je 0x43176b
push edi
push esi
lea edx, [esp + 0x14]
push 0x4ad12c
push edx
call fcn.00463fac
mov al, byte [esp + 0x1c]
add esp, 0xc
cmp al, 0x42
jle 0x431752
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x431752
push 0x200
lea ecx, [esp + 0x21c]
push 0x160
push ecx
lea edx, [esp + 0x1c]
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp + 0x2a4]
lea eax, [esp + 0x224]
push eax
push 0
push 0x143
push ecx
call ebx
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esi + ecx + 1]
lea esi, [esi + ecx + 1]
test al, al
jne 0x4316f0
pop edi
mov edx, dword [ebp + 0x2a4]
push 0
push 0
push 0x14e
push edx
call ebx
mov ecx, ebp
call fcn.00431420
pop esi
pop ebp
pop ebx
add esp, 0x368
ret
Function at 0x4317a0
Capabilities:
Access peb ldr_data
Get memory capacity
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48bde0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4b20c8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0xc], eax
mov eax, 0x20
xor ecx, ecx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x5c], 2
lea edi, [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
shr ecx, 0x14
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
fild qword [esp + 0x24]
fstp qword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
push str._.1f
push ecx
call fcn.0047617b
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.0047621c
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
shr edx, 0x14
mov dword [esp + 0x24], edx
lea edx, [esp + 0x10]
fild qword [esp + 0x24]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push str._.1f
push edx
call fcn.0047617b
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0047621c
fld qword [esp + 0x1c]
fsub qword [esp + 0x24]
sub esp, 8
lea eax, [esp + 0x14]
fstp qword [esp]
push str._.1f
push eax
call fcn.0047617b
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.0047621c
mov ecx, dword [0x4b20c8]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov dword [esp + 0x28], ebx
sub edx, ecx
mov byte [esp + 0x58], 3
mov dword [esp + 0x24], edx
fild qword [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
fmul qword [0x495718]
fild qword [esp + 0x24]
fdivp st(1)
call fcn.004643bc
mov edi, eax
lea eax, [esp + 0x14]
push edi
push 0x4b0140
push eax
call fcn.0047617b
add esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0047be68
lea ecx, [esi + 0x108]
call fcn.0044ae20
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0047be68
lea ecx, [esi + 0xa8]
call fcn.0044ae20
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0047be68
lea ecx, [esi + 0x364]
call fcn.0044ae20
push edi
lea ecx, [esi + 0x314]
mov dword [esi + 0x35c], 0x64
call fcn.00457780
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 2
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 1
call fcn.0047c0f3
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], bl
call fcn.0047c0f3
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4319c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48be32
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.004834fa
mov esi, dword [eax + 4]
mov ebx, 1
cmp dword [esi + 0x104], ebx
jne 0x4319fc
push 0x4af518
jmp 0x431a01
push 0x4af50c
push 0x4d8
mov ecx, ebp
call fcn.0047b5e7
cmp dword [esi + 0xfc], ebx
jne 0x431a1c
push 0x4af504
jmp 0x431a21
push 0x4af4f8
push 0x4d9
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [0x4b20c8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xd4]
lea ecx, [esp + 0x18]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x140], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x431bbe
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push str.Adware_Scan_Day
push edx
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431ba0
lea eax, [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x14]
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push 0xa
push edx
call fcn.00475d5b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 2
call fcn.0047c22c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
lea eax, [esp + 0x24]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00475cdf
mov esi, eax
push 2
lea ecx, [esp + 0x24]
push 5
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 3
call fcn.00475c49
mov edi, eax
lea edx, [esp + 0x14]
push 4
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 4
call fcn.00475d5b
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4af4e8
push ecx
mov byte [esp + 0x14c], 5
call fcn.0047617b
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 4
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 3
call fcn.0047c0f3
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
mov edx, dword [esp + 0x18]
mov ecx, ebp
push edx
push 0x4db
call fcn.0047b5e7
mov eax, dword [esp + 0x1c]
pop edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431bcf
push 0x4af4d8
push 0x4db
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431bcf
push 0x4af4d8
push 0x4db
mov ecx, ebp
call fcn.0047b5e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x12c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x4356b0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48c240
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov esi, ecx
call fcn.004834fa
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x204c]
mov ebp, 0
sub ecx, eax
mov dword [esi + 0x204c], ecx
jns 0x4356f4
mov dword [esi + 0x204c], ebp
push 0xffffffffffffffff
push ebp
push 4
mov ecx, esi
call fcn.00437c80
mov ecx, dword [esi + 0x1f94]
call fcn.0040fa20
cmp dword [esi + 0x207c], ebp
je 0x435899
cmp dword [esi + 0x2084], ebp
jne 0x4357a9
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4b61a0
call fcn.0047c161
push ecx
mov dword [esp + 0x28], ebp
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4b02a4
call fcn.0047c161
mov ecx, dword [esi + 0x1f94]
push 1
mov dword [esp + 0x2c], 0xffffffff
call fcn.00411d00
push ecx
add edi, 0x118
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.0047be68
mov ecx, dword [esi + 0x1f94]
call fcn.0040b9a0
cmp dword [esi + 0x204c], ebp
jne 0x4358e6
mov ecx, esi
mov dword [esi + 0x2078], ebp
call fcn.00437f70
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
push ecx
lea edx, [edi + 0x118]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0047be68
mov ecx, dword [esi + 0x1f94]
call fcn.0040b9a0
add edi, 0xd0
push str.PCClearPlusR.exe_pcclear
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.0047c388
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 1
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
mov eax, dword [edx - 8]
push eax
push eax
call fcn.0047c523
push eax
mov eax, dword [esp + 0x14]
push 1
push ebp
push str.PCClearPlus
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4af448
call fcn.0047c161
push ecx
mov byte [esp + 0x28], 2
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4af41c
call fcn.0047c161
mov ecx, dword [esi + 0x1f94]
push 3
mov byte [esp + 0x2c], 1
call fcn.00411d00
cmp eax, 1
jne 0x435874
mov ecx, dword [esi + 0x1f94]
call fcn.0040bb00
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
cmp dword [esi + 0x204c], ebp
jne 0x4358a7
mov dword [esi + 0x2078], ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4b61a0
call fcn.0047c161
push ecx
mov dword [esp + 0x28], 3
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4b02a4
call fcn.0047c161
mov ecx, dword [esi + 0x1f94]
push 1
mov dword [esp + 0x2c], 0xffffffff
call fcn.00411d00
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 4
Function at 0x446b10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48e0e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebp
mov ebp, ecx
call fcn.004834fa
mov ecx, dword [0x4b20c8]
mov eax, dword [eax + 4]
mov dword [esp + 4], ecx
mov dword [esp + 0x12c], 0
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0xd4]
lea ecx, [esp + 0x10]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x138], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x446ccd
lea edx, [esp + 0x1c]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.Virus_Scan_Day
push edx
mov dword [esp + 0x34], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x446caf
push esi
lea eax, [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x10]
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push 0xa
push edx
call fcn.00475d5b
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 2
call fcn.0047c22c
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 1
call fcn.0047c0f3
lea eax, [esp + 0x20]
push 2
push eax
lea ecx, [esp + 0x14]
call fcn.00475cdf
mov esi, eax
push 2
lea ecx, [esp + 0x20]
push 5
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 3
call fcn.00475c49
mov edi, eax
lea edx, [esp + 0x10]
push 4
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 4
call fcn.00475d5b
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4af4e8
push ecx
mov byte [esp + 0x148], 5
call fcn.0047617b
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 4
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 3
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 1
call fcn.0047c0f3
mov edx, dword [esp + 0x14]
mov ecx, ebp
push edx
push 0x46a
call fcn.0047b5e7
mov eax, dword [esp + 0x18]
pop edi
pop esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x446cde
push 0x4af4d8
push 0x46a
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x446cde
push 0x4af4d8
push 0x46a
mov ecx, ebp
call fcn.0047b5e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 0
call fcn.0047c0f3
lea ecx, [esp + 4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x124]
pop ebp
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x4494d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48e5c2
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.004834fa
mov esi, dword [eax + 4]
mov ebx, 1
cmp dword [esi + 0x104], ebx
jne 0x44950c
push 0x4af518
jmp 0x449511
push 0x4af50c
push 0x459
mov ecx, ebp
call fcn.0047b5e7
cmp dword [esi + 0xfc], ebx
jne 0x44952c
push 0x4af504
jmp 0x449531
push 0x4af4f8
push 0x45a
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [0x4b20c8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xd4]
lea ecx, [esp + 0x18]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x140], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4496ce
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push str.Virus_Scan_Day
push edx
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4496b0
lea eax, [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x14]
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push 0xa
push edx
call fcn.00475d5b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 2
call fcn.0047c22c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
lea eax, [esp + 0x24]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00475cdf
mov esi, eax
push 2
lea ecx, [esp + 0x24]
push 5
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 3
call fcn.00475c49
mov edi, eax
lea edx, [esp + 0x14]
push 4
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 4
call fcn.00475d5b
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4af4e8
push ecx
mov byte [esp + 0x14c], 5
call fcn.0047617b
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 4
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 3
call fcn.0047c0f3
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
mov edx, dword [esp + 0x18]
mov ecx, ebp
push edx
push 0x45b
call fcn.0047b5e7
mov eax, dword [esp + 0x1c]
pop edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4496df
push 0x4af4d8
push 0x45b
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4496df
push 0x4af4d8
push 0x45b
mov ecx, ebp
call fcn.0047b5e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x12c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x44b540
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ea30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x4ad99c
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 1
call fcn.0047c4cf
mov eax, dword [esp + 0x18]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44b5be
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], esi
call fcn.0047c0f3
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x20]
mov edi, eax
push 0
mov eax, dword [ecx - 8]
add eax, edi
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 8]
push 0
push ecx
mov eax, dword [edx - 8]
lea ecx, [esp + 0x28]
push eax
push 0
call fcn.0047c523
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x20]
push 0
mov eax, dword [edx - 8]
add eax, edi
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x44bbc0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48eaf8
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
push 2
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x10]
jae 0x44bc16
call fcn.0047c0f3
xor al, al
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 4
call fcn.0047c0f3
mov ecx, dword [esp]
mov al, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 4