joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402100
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4021e6
push 0x3c
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00416ee0
push esi
lea eax, [ebp - 0x108]
push str._s__u___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov dword [ebp - 0x144], 0x3c
lea eax, [ebp - 0x108]
mov dword [ebp - 0x140], 0x40
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x144]
mov dword [ebp - 0x13c], 0
push eax
mov dword [ebp - 0x138], str.open
mov dword [ebp - 0x134], str.regsvr32.exe
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0x3a98
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041559f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0041559f
mov esp, ebp
pop ebp
ret

Function at 0x4022b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x43c968
call fcn.00401000
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0041bee1
mov eax, dword [0x43c4f8]
add esp, 0x1c
push 0x43c968
test eax, eax
je 0x402302
push eax
call fcn.00402250
push dword [0x43c4f8]
call fcn.0041c164
add esp, 0xc
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x402bf0
Capabilities:
Accept command line arguments
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x43c3e4], 0
push ebx
push esi
push edi
je 0x402cbf
call fcn.00402ac0
call fcn.004028e0
mov esi, eax
cmp esi, 1
jne 0x402c8c
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor esi, esi
push 0x2000
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x402c7d
push str._OnInstall
push str.K7TSecurity.exe
push 0x43c3f0
push str._s_s__s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
call fcn.0040df00
test eax, eax
je 0x402c62
mov edx, edi
call fcn.00405450
jmp 0x402c6c
push 0
push 4
push edi
call fcn.00414350
push edi
push 0
mov esi, 1
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, 1
jne 0x402c8c
call fcn.00402e20
call fcn.00403180
push 0
push 0x435f14
push 0x80000002
call fcn.004140a0
mov edi, eax
test edi, edi
je 0x402cb6
push str.FirstStartPending
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 4], 0
call ebx
push str._parent
push eax
call fcn.00416370
add esp, 8
test eax, eax
je 0x402cf5
lea ecx, [ebp - 4]
add eax, 8
push ecx
push 0x436598
push eax
call fcn.00402280
add esp, 0xc
call fcn.00402ac0
mov esi, dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x50
push 0x54d
push esi
call edi
call ebx
push str._autoreg
push eax
call fcn.00416370
add esp, 8
test eax, eax
jne 0x402d48
call fcn.0040a430
mov ebx, eax
test ebx, ebx
je 0x402d48
mov ecx, dword [ebx]
push str._OnInstall
push 0
push esi
push ebx
call dword [ecx + 0x78]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x10]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push 0
push 0x55
push 0x54d
push esi
call edi
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x402dfb
push str._OnInstall
push str.K7TSecurity.exe
push 0x43c3f0
push str._s_s__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
call fcn.0040df00
test eax, eax
je 0x402da2
mov edx, ebx
call fcn.00405450
jmp 0x402dac
push 0
push 4
push ebx
call fcn.00414350
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push 0x5a
push 0x54d
push esi
call edi
call fcn.004028e0
cmp eax, 1
jne 0x402dfb
push 0
push 0x61
push 0x54d
push esi
call edi
call fcn.00402e20
push 0
push 0x62
push 0x54d
push esi
call edi
call fcn.00403180
mov ebx, 1
jmp 0x402dfe
mov ebx, dword [ebp - 4]
push 0
push 0x63
push 0x54d
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403360
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Query environment variable
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, 1
call fcn.0041c1d6
cmp dword [eax], esi
jle 0x40339c
call fcn.0041c1dc
push 8
push str._inssvc
mov eax, dword [eax]
push dword [eax + esi*4]
call fcn.0041c1e2
add esp, 0xc
test eax, eax
je 0x4033a3
inc esi
call fcn.0041c1d6
cmp esi, dword [eax]
jl 0x403375
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041c1dc
mov eax, dword [eax]
mov esi, dword [eax + esi*4]
add esi, 8
je 0x40339c
cmp byte [esi], 0
je 0x40339c
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x1000
push 0
mov dword [ebp - 4], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4034b1
push esi
push str.SYSTEMCurrentControlSetServices
lea edi, [ebx + 0x400]
push 0x436114
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4034ab
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x400
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
push str.ImagePath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4034ab
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x400
push edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4034ab
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push esi
call fcn.004148b0
cmp dword [ebp - 8], 4
jne 0x403484
push esi
call fcn.00414c50
push esi
call fcn.00414d00
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4034ab
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4034bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x4034cf
push ebx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4045d0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push 0x2000
mov dword [ebp - 4], ebx
call fcn.0041957c
mov edi, eax
add esp, 4
test edi, edi
je 0x40476c
lea esi, [edi + 0x44]
mov ebx, esi
add esi, 0x10
mov dword [ebp - 8], esi
add esi, 0x400
push 0
push 0x435f14
push 0x80000002
lea eax, [esi + 0x400]
mov dword [ebp - 0x10], eax
call fcn.00413e50
mov dword [ebp - 0xc], eax
test eax, eax
je 0x404643
push 0x104
push dword [ebp - 8]
push str.DirProductBase
push eax
call fcn.004141c0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.iscminst.exe
push str.SecureWeb
push dword [ebp - 8]
push 0x4360e8
push esi
call fcn.004014f0
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40476a
push edi
mov dword [edi], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x436a1c
push esi
mov esi, dword [ebp - 0x10]
push str.__s___s
push esi
call fcn.004014f0
add esp, 0x10
push ebx
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40476a
push 0x927c0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4046cf
push 0xdeaddead
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebx]
call esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAECCB6D0_E9A0_4184_8010_99FE8602D27A
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40476a
mov edx, dword [0x43c4fc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404708
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push str.ParentKeyName
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40476a
mov edx, dword [0x43c4fc]
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404740
sub ecx, ebx
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push str.ParentDisplayName
push dword [ebp - 4]
call esi
xor ebx, ebx
mov ecx, 1
test eax, eax
cmove ebx, ecx
jmp 0x40476c
xor ebx, ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x40477a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x404787
push edi
call fcn.004194d4
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push str.Kernel32.dll
mov dword [ebp - 0xc], edx
mov dword [0x43d16c], 0
mov dword [0x43d174], 0
mov dword [0x43d168], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x4054a1
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4054b6
push str.WTSGetActiveConsoleSessionId
push esi
call edi
push 0x436c3c
push esi
mov dword [0x43d16c], eax
call edi
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4054d8
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4054f2
push str.WTSQuerySessionInformationA
push esi
call edi
push str.WTSFreeMemory
push esi
mov dword [0x43d174], eax
call edi
mov dword [0x43d168], eax
mov dword [0x43d170], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x405597
call fcn.00414e20
cmp al, 1
jne 0x40551f
mov dword [0x43d170], 1
jmp 0x405579
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinLogon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405570
mov eax, dword [ebp - 4]
test eax, eax
je 0x405570
lea ecx, [ebp - 8]
mov dword [ebp - 8], 4
push ecx
push 0x43d170
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.AllowMultipleTSSessions
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x43d170], 1
jne 0x405597
mov eax, dword [0x43d16c]
test eax, eax
je 0x40558b
cmp dword [0x43d174], 0
jne 0x40559c
mov dword [0x43d170], 0
jmp 0x40559c
mov eax, dword [0x43d16c]
test eax, eax
je 0x4055f4
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x4055f4
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push 5
push esi
push 0
call dword [0x43d174]
test eax, eax
je 0x4055f4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4055f4
cmp byte [eax], 0
push eax
jne 0x4055e0
call dword [0x43d168]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [0x43d168]
mov edx, dword [ebp - 0xc]
push ecx
mov ecx, esi
call fcn.00405250
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406470
Capabilities:
Delete file
Move file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc04
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.K7UI.dll_Ordinal_1
call fcn.004140a0
mov esi, eax
test esi, esi
je 0x4064ad
push str.K7NfyUnst
push esi
call fcn.00414050
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x804]
mov byte [ebp - 0x804], 0
push eax
call fcn.00414f50
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x804]
add esp, 4
push 0x435f5c
push eax
call esi
push str.K7Uninstall
lea eax, [ebp - 0x804]
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x804]
push 0x436e18
push eax
lea eax, [ebp - 0xc04]
push 0x436114
push eax
call esi
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0x404]
push str._s._08X.dat
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x404]
push 4
push 0
push eax
call esi
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x404]
push 0x2e
push eax
call fcn.00420f66
add esp, 8
test eax, eax
je 0x40659d
push str..dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push 0
lea eax, [ebp - 0x804]
push eax
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041559f
mov esp, ebp
pop ebp
ret
Function at 0x406f60
Capabilities:
Print debug messages
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x406fed
push 0xf003f
push str.K7CrvSvc
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x406fe6
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x406fdf
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x406fdf
cmp eax, 3
je 0x406fdf
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push 0
mov edx, 0x7ea
mov ecx, str..pipeK7RTScanPipeV1
call fcn.00401be0
push 0
push 1
mov edx, 0x7ee
mov ecx, str..pipeK7MailProxyV1
call fcn.00401be0
push 1
push 0
mov edx, 0x7ee
mov ecx, str..pipeK7FWSrvPipeV1
call fcn.00401be0
push 0
push 0
mov edx, 0x7e8
mov ecx, str..pipeK7PrivacyPipeV1
call fcn.00401be0
push 0xffffffffffffffff
push 0
mov edx, 0x7ee
mov ecx, str..pipeK7MailProxyV1
call fcn.00401be0
add esp, 0x28
mov ecx, str.K7RTScan.exe
call fcn.00401b10
mov ecx, str.K7EmlPxy.exe
call fcn.00401b10
mov ecx, str.K7PSSrvc.exe
call fcn.00401b10
mov ecx, str.K7FWSrvc.exe
call fcn.00401b10
mov ecx, str.K7CrvSvc.exe
call fcn.00401b10
mov ecx, str.K7SpmSrc.exe
call fcn.00401b10
call fcn.00401930
push str.K7TSStart::OnUninstall::UninstallK7TSMngr_Start.._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x84
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00416ee0
movq xmm0, qword [str.K7TSMngr]
add esp, 0xc
mov al, byte [0x436418]
movq qword [ebp - 0xa4], xmm0
mov byte [ebp - 0x9c], al
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
mov dword [ebp - 0x10], 0x84
lea eax, [ebp - 0xa8]
mov ecx, 0x10052
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xac]
push eax
jns 0x407100
lea eax, [ebp - 0x14]
push eax
call fcn.0040e700
add esp, 8
jmp 0x407117
lea eax, [ebp - 0xb0]
push eax
push 0
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0040e470
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041559f
mov esp, ebp
pop ebp
ret
Function at 0x4079d0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54c
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x43720c
mov edi, ecx
lea eax, [ebp - 0x408]
push edi
push 0x436114
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x548]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407aae
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
nop dword [eax + eax]
cmp byte [ebp - 0x51c], 0x2e
je 0x407a79
lea eax, [ebp - 0x51c]
push eax
push edi
lea eax, [ebp - 0x408]
push 0x436114
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test byte [ebp - 0x548], 0x10
je 0x407a6c
lea ecx, [ebp - 0x408]
call fcn.004079d0
jmp 0x407a79
push 4
push 0
lea eax, [ebp - 0x408]
push eax
call esi
lea eax, [ebp - 0x548]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407a30
push 4
push eax
push edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041559f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041559f
mov esp, ebp
pop ebp
ret
Function at 0x408730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
push 0x1000
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x408822
push esi
lea eax, [ebp - 4]
mov byte [ebx], 0
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
lea esi, [ebx + 0x400]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4087a7
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x400
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
push str.ProgramFilesDir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebx], 0
je 0x40880d
push str.MpClient.dll
push str.Windows_Defender
push ebx
push 0x4360e8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x43d17c], eax
test eax, eax
je 0x40880d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WDStatus
push eax
call esi
push str.WDEnable
push dword [0x43d17c]
mov dword [0x43d178], eax
call esi
mov dword [0x43d180], eax
cmp dword [0x43d178], edi
je 0x40880d
test eax, eax
mov ecx, 1
cmovne edi, ecx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
test edi, edi
jne 0x40883c
mov eax, dword [0x43d17c]
test eax, eax
je 0x40883c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x43d17c], 0
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408890
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x10], ecx
push 6
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
cmp ebx, 0x80010106
je 0x4088bb
test ebx, ebx
js 0x408948
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 0x437638
push 1
push 0
push 0x437628
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x408902
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x408902
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x40890f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x40891c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
js 0x408947
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
mov esi, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
mov dword [esi], edi
call dword [ecx + 0x20]
test eax, eax
js 0x408947
cmp word [ebp - 4], di
je 0x408942
mov dword [esi], 1
mov edi, 1
pop esi
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x408955
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
test ebx, ebx
js 0x40895f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408970
Capabilities:
Check for time delay via gettickcount
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x110], eax
mov edi, dword [ebp - 0x110]
nop dword [eax + eax]
push 0
push str.SoftwareK7_ComputingK7TotalSecurityCommonInfoFeatureStatus
xor bl, bl
push 0x80000002
mov byte [ebp - 0x109], bl
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x4089e6
lea eax, [ebp - 0x114]
push eax
push str.K7FireWallService
push esi
call fcn.00414170
cmp eax, 1
movzx ebx, bl
mov eax, 1
push esi
cmove ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.K7FireWallService
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
mov ecx, str._s_FeatureInfo1.0
mov eax, str.Global_s_FeatureInfo1.0
cmovne eax, ecx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004014f0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x408a54
push 4
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x408a4d
mov edi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp - 0x109], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x408a79
cmp byte [ebp - 0x109], 0
je 0x408a79
cmp edi, 1
jne 0x408a7c
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041559f
mov esp, ebp
pop ebp
ret
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x110]
cmp eax, 0x1d4c0
jbe 0x4089a0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041559f
mov esp, ebp
pop ebp
ret