joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147f0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x414816
pop edi
pop esi
add esp, 0x10
ret
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x414842
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x414842
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x41484b
pop ebp
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
cmp dword [esp + 0x30], 0
mov edi, dword [esp + 0x24]
jne 0x41486f
push edi
call fcn.00414750
add esp, 4
test eax, eax
je 0x41486f
pop ebp
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
push ebx
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, 0xffffffff
je 0x4148bb
cmp dword [esp + 0x38], 0
je 0x414983
push 0x1000
call fcn.0041aea6
mov esi, eax
add esp, 4
xor edi, edi
test esi, esi
jne 0x4148c5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
test ebp, ebp
jbe 0x414966
mov ebx, dword [esp + 0x14]
mov eax, 0x1000
sub eax, ebx
mov dword [esp + 0x1c], eax
lea esp, [esp]
add eax, ebx
cmp eax, ebp
ja 0x414930
push 0x1000
push ebx
push esi
call fcn.0041a2b0
push 0x42
push 0x1000
push esi
call fcn.004147c0
mov eax, dword [esp + 0x28]
add esp, 0x18
push 0
lea edx, [esp + 0x1c]
push edx
push 0x1000
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, 0x1000
add ebx, 0x1000
cmp edi, ebp
jae 0x414962
mov eax, dword [esp + 0x1c]
jmp 0x4148e0
mov ecx, dword [esp + 0x14]
mov ebx, ebp
sub ebx, edi
push ebx
add edi, ecx
push edi
push esi
call fcn.0041a2b0
push 0x42
push ebx
push esi
call fcn.004147c0
mov eax, dword [esp + 0x28]
add esp, 0x18
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [esp + 0x10]
push esi
call fcn.0041af0b
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop ebp
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop ebp
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
Function at 0x414b60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov eax, 4
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
lea edi, [esi + 0x28]
push edi
lea ecx, [esp + 0x14]
push ecx
push str.fAdvOptionDeepScan
push str.SOFTWAREBkav
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 0x24], 0
mov dword [edi], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edx, dword [edi]
push edx
push str.DeepScan:__d
call fcn.0040e750
add esp, 8
cmp dword [edi], 1
jne 0x414c12
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push str.BKAV_WQ_COM_SERVER
mov ecx, esi
call fcn.00419e40
mov ecx, esi
test eax, eax
je 0x414c00
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0
push 0
push 0
push 0
push 2
call edx
push eax
push str.ConnectToServer_success__Init:__d
mov dword [esi + 0x24], eax
call fcn.0040e750
mov eax, dword [esi + 0x24]
add esp, 8
pop edi
pop esi
add esp, 8
ret
call fcn.00414aa0
push str.ConnectToServer_false
call fcn.0040e750
add esp, 4
mov eax, dword [esi + 0x24]
pop edi
pop esi
add esp, 8
ret

Function at 0x414cb0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
mov dword [esp + 0x28], 0
push str..BkavSDF
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414d14
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 2
sete dl
pop esi
mov eax, edx
add esp, 0x10
ret 8
push edi
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push 8
lea edx, [esp + 0x24]
push edx
push 0x226022
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
pop edi
jne 0x414d54
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x32
mov eax, 1
je 0x414d58
mov eax, dword [esp + 4]
pop esi
add esp, 0x10
ret 8
Function at 0x414f70
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0xa0
push 0xfffffffffffffffe
push 0x43c5e8
push 0x41c330
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4417c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x9c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
push 0x9c
push edi
lea eax, [ebp]
push eax
call fcn.0041a230
add esp, 0xc
mov dword [ebp], 0x9c
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 4], 6
jb 0x41505d
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0xa8]
push edx
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, edi
jne 0x415020
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x4417c0
call fcn.0041c4bc
add esp, 0xc
jmp 0x415064
push esi
call fcn.00414d60
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], edi
call fcn.00415045
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
jmp 0x415066
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.0041a7bc
add ebp, 0xa0
mov esp, ebp
pop ebp
ret

Function at 0x4150a0
Capabilities:
Acquire debug privileges

Disassembly:
cmp dword [0x48760c], 0
jne 0x4150f4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.SeDebugPrivilege
call esi
push eax
call fcn.004179c0
add esp, 8
push str.SeBackupPrivilege
call esi
push eax
call fcn.004179c0
push 0
push 1
push 3
push str.BkavForceDel
push str.ForceDel.sys
call fcn.00416db0
add esp, 0x1c
pop esi
test eax, eax
jne 0x4150f6
mov dword [0x48760c], 1
xor eax, eax
ret

Function at 0x415100
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x2004
call fcn.0041bfd0
mov eax, dword [0x4417c0]
xor eax, esp
mov dword [esp + 0x2000], eax
cmp dword [0x48760c], 0
je 0x415175
push str.BkavForceDel
call fcn.00416fa0
add esp, 4
push 0x800
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.ForceDel.sys
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x1008]
push str._sdrivers_s
push edx
call fcn.0041c953
add esp, 0x10
lea eax, [esp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [0x48760c], 0
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0041a7bc
add esp, 0x2004
ret
Function at 0x415950
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4323ab
mov eax, dword fs:[0]
push eax
mov eax, 0x4028
call fcn.0041bfd0
mov eax, dword [0x4417c0]
xor eax, esp
mov dword [esp + 0x4024], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4417c0]
xor eax, esp
push eax
lea eax, [esp + 0x403c]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.004196e0
add esp, 4
test eax, eax
je 0x4159a7
xor eax, eax
jmp 0x415b8f
mov eax, dword [esp + 0x404c]
lea edx, [esp + 0x38]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4159b4
lea edi, [esp + 0x38]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4159d0
push 0
mov ecx, 9
mov esi, str.RkModuleExport.xls
rep movsd dword es:[edi], dword [esi]
push 0x80
push 4
push 0
push 0
push 0x10000000
lea ecx, [esp + 0x50]
push ecx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4159a0
lea ecx, [esp + 0x28]
call fcn.00417e20
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x20]
push edx
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
mov dword [esp + 0x4058], 0
mov dword [esp + 0x34], 0xfeff
call ebp
lea ecx, [esp + 0x2038]
push str.Image_Base_tImage_Size_tFile_Path_tFull_path_n
push ecx
call fcn.0041c953
lea eax, [esp + 0x2040]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415a60
sub eax, edx
push 0
sar eax, 1
lea edx, [esp + 0x20]
push edx
add eax, eax
push eax
lea ecx, [esp + 0x2044]
push ecx
push ebx
call ebp
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004197e0
add esp, 0xc
test eax, eax
jne 0x415b62
mov edx, dword [esp + 0x18]
cmp dword [edx + 0xc], 0
je 0x415aca
mov edx, dword [edx + 0xc]
push 0x800
lea ecx, [esp + 0x103c]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00418480
mov edx, dword [esp + 0x18]
jmp 0x415ad4
xor eax, eax
mov word [esp + 0x1038], ax
mov esi, dword [edx + 4]
mov eax, esi
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415ae0
sub eax, edi
sar eax, 1
je 0x415b46
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x1038]
push ecx
mov ecx, dword [edx + 8]
push eax
push ecx
push esi
lea edx, [esp + 0x2048]
push str._s_t_s_t_s_t_s_n
push edx
call fcn.0041c953
lea eax, [esp + 0x2050]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415b21
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x2044]
push eax
push ebx
call ebp
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.004197e0
add esp, 0xc
test eax, eax
je 0x415aa0
lea eax, [esp + 0x14]
push eax
call fcn.004198f0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov dword [esp + 0x4044], 0xffffffff
call fcn.00417e30
mov eax, 1
mov ecx, dword [esp + 0x403c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4024]
xor ecx, esp
call fcn.0041a7bc
add esp, 0x4034
ret
Function at 0x415c70
Capabilities:
Acquire debug privileges

Disassembly:
cmp dword [0x48a614], 0
jne 0x415cc4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.SeDebugPrivilege
call esi
push eax
call fcn.004179c0
add esp, 8
push str.SeBackupPrivilege
call esi
push eax
call fcn.004179c0
push 0
push 1
push 3
push str.BkavFCDrv
push str.FCDrv.sys
call fcn.00416db0
add esp, 0x1c
pop esi
test eax, eax
jne 0x415cc6
mov dword [0x48a614], 1
xor eax, eax
ret

Function at 0x415cd0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x2004
call fcn.0041bfd0
mov eax, dword [0x4417c0]
xor eax, esp
mov dword [esp + 0x2000], eax
push str.BkavFCDrv
call fcn.00416fa0
add esp, 4
push 0x800
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.FCDrv.sys
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x1008]
push str._sdrivers_s
push edx
call fcn.0041c953
add esp, 0x10
lea eax, [esp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x2000]
xor ecx, esp
mov dword [0x48a614], 0
call fcn.0041a7bc
add esp, 0x2004
ret

Function at 0x415d60
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x415dee
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push edi
lea ecx, [esp + 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call esi
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call edi
lea ecx, [esp + 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call esi
mov eax, dword [esp + 8]
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call edi
pop edi
pop esi
add esp, 0x14
ret
Function at 0x415eb0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x42c
mov eax, dword [0x4417c0]
xor eax, esp
mov dword [esp + 0x428], eax
push esi
mov esi, dword [esp + 0x434]
push edi
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x416056
lea ecx, [esp + 0x28]
push str.netapi32.dll
push ecx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x415f42
push str.netapi.dll
push str.NetpwPathCanonicalize
push esi
call fcn.00415e00
add esp, 0xc
test eax, eax
je 0x415f42
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0041a7bc
add esp, 0x42c
ret
lea edx, [esp + 0x28]
push str.ntdll.dll
push edx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x415f6f
push str.ntdll.dll
push str.ZwQueryInformationProcess
push esi
call fcn.00415e00
add esp, 0xc
test eax, eax
jne 0x415f1f
lea eax, [esp + 0x28]
push str.dnsapi.dll
push eax
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x415f9c
push str.dnsapi.dll
push str.DnsQuery_A
push esi
call fcn.00415e00
add esp, 0xc
test eax, eax
jne 0x415f1f
lea ecx, [esp + 8]
push ecx
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x416056
nop
lea edx, [esp + 0x28]
push str.netapi32.dll
push edx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x415fe1
push str.netapi32.dll
push str.NetpwPathCanonicalize
push esi
call fcn.00415e00
add esp, 0xc
test eax, eax
jne 0x415f1f
lea eax, [esp + 0x28]
push str.ntdll.dll
push eax
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x416012
push str.ntdll.dll
push str.ZwQueryInformationProcess
push esi
call fcn.00415e00
add esp, 0xc
test eax, eax
jne 0x415f1f
lea ecx, [esp + 0x28]
push str.dnsapi.dll
push ecx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x416043
push str.dnsapi.dll
push str.DnsQuery_A
push esi
call fcn.00415e00
add esp, 0xc
test eax, eax
jne 0x415f1f
lea edx, [esp + 8]
push edx
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x415fb0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0041a7bc
add esp, 0x42c
ret
Function at 0x416190
Capabilities:
Enumerate services

Disassembly:
sub esp, 0x818
mov eax, dword [0x4417c0]
xor eax, esp
mov dword [esp + 0x814], eax
mov eax, dword [esp + 0x81c]
push ebp
push esi
xor ebp, ebp
push 4
push ebp
push ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, ebp
je 0x41625f
push ebx
push edi
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push 0x800
lea ecx, [esp + 0x38]
push ecx
push 3
push 0x3b
push ebp
push esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x44], ebp
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x41620d
cmp dword [esp + 0x1c], ebp
je 0x41620d
xor ebx, ebx
jmp 0x416212
mov ebx, 1
cmp dword [esp + 0x14], ebp
je 0x41624c
xor edi, edi
cmp dword [esp + 0x10], ebp
jbe 0x41624c
lea esi, [esp + 0x24]
mov edx, dword [esp + 0x830]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call fcn.00416070
add esp, 0xc
test eax, eax
je 0x416252
inc edi
add esi, 0x2c
cmp edi, dword [esp + 0x10]
jb 0x416224
mov esi, dword [esp + 0x18]
cmp ebx, ebp
je 0x4161d1
jmp 0x416256
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
mov ecx, dword [esp + 0x81c]
pop esi
pop ebp
xor ecx, esp
call fcn.0041a7bc
add esp, 0x818
ret

Function at 0x416280
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push str.Disable_autorun...
call fcn.004199f0
add esp, 4
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4162fe
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push eax
push str.NoDriveTypeAutoRun
push edx
mov dword [esp + 0x20], 0xdf
mov dword [esp + 0x24], 0xffc
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.NoDriveAutoRun
push ecx
call esi
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0xc
ret
Function at 0x416af0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4417c0]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
xor esi, esi
call fcn.00415d60
push str.Conficker_scan_start...
call fcn.004199f0
add esp, 4
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 8], 0x22c
cmp edi, 0xffffffff
je 0x416d36
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x416bec
lea ecx, [esp + 0x2c]
push str.services.exe
push ecx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x416b7b
mov eax, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
push eax
call fcn.00415eb0
add esp, 8
test eax, eax
je 0x416bec
push str.Found_hook_at_services.exe
jmp 0x416bdf
lea ecx, [esp + 0x2c]
push str.svchost.exe
push ecx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x416bae
mov eax, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
push eax
call fcn.00415eb0
add esp, 8
test eax, eax
je 0x416bec
push str.Found_hook_at_svchost.exe
jmp 0x416bdf
lea ecx, [esp + 0x2c]
push str.explorer.exe
push ecx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x416bec
mov eax, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
push eax
call fcn.00415eb0
add esp, 8
test eax, eax
je 0x416bec
push str.Found_hook_at_explorer.exe
call fcn.004199f0
add esp, 4
mov esi, 1
lea ecx, [esp + 8]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x416cb7
nop
lea edx, [esp + 0x2c]
push str.services.exe
push edx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x416c33
mov ecx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push ecx
call fcn.00415eb0
add esp, 8
test eax, eax
je 0x416ca4
push str.Found_hook_at_services.exe
jmp 0x416c97
lea edx, [esp + 0x2c]
push str.svchost.exe
push edx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x416c66
mov ecx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push ecx
call fcn.00415eb0
add esp, 8
test eax, eax
je 0x416ca4
push str.Found_hook_at_svchost.exe
jmp 0x416c97
lea edx, [esp + 0x2c]
push str.explorer.exe
push edx
call fcn.0041c8c0
add esp, 8
test eax, eax
jne 0x416ca4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push ecx
call fcn.00415eb0
add esp, 8
test eax, eax
je 0x416ca4
push str.Found_hook_at_explorer.exe
call fcn.004199f0
add esp, 4
mov esi, 1
lea edx, [esp + 8]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x416c00
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x416d24
push str.Scan_all_services...
call fcn.004199f0
mov esi, dword [esp + 0x240]
push esi
push 0x416ad0
call fcn.00416190
add esp, 0xc
cmp dword [0x48a618], 0
je 0x416d31
cmp esi, 1
jne 0x416d31
push str.Clean_autorun_files_and_restore_system_services...
call fcn.004199f0
call fcn.004164b0
push str.BkavFCDrv
call fcn.004163b0
add esp, 8
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0041a7bc
add esp, 0x230
ret
push str.Conficker_not_found_on_your_system.
call fcn.004199f0
add esp, 4
call fcn.00415cd0
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0041a7bc
add esp, 0x230
ret
Function at 0x416d50
Capabilities:
Delete file
Get common file path

Disassembly:
call fcn.00415c70
mov eax, dword [esp + 4]
push eax
call fcn.004167f0
add esp, 4
jmp fcn.00415cd0

Function at 0x416d70
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.004199b0
call fcn.00415c70
push 0
call fcn.00416af0
add esp, 8
jmp fcn.00415cd0

Function at 0x416db0
Capabilities:
Copy file
Create service
Delete file
Get common file path
Modify service
Start service

Disassembly:
mov eax, 0x4008
call fcn.0041bfd0
mov eax, dword [0x4417c0]
xor eax, esp
mov dword [esp + 0x4004], eax
mov eax, dword [esp + 0x401c]
push ebx
mov ebx, dword [esp + 0x4014]
push ebp
mov ebp, dword [esp + 0x4014]
push esi
push edi
lea ecx, [esp + 0x2014]
push ecx
push 0x800
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, ebp
mov edx, ebp
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416e00
lea edi, [esp + 0x2014]
sub eax, edx
add edi, 0xfffffffe
jmp 0x416e20
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x416e20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x800
lea edx, [esp + 0x1018]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebp
lea eax, [esp + 0x1018]
push eax
lea ecx, [esp + 0x301c]
push str._sdrivers_s
push ecx
call fcn.0041c953
add esp, 0x10
push 0
lea edx, [esp + 0x3018]
push edx
lea eax, [esp + 0x201c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x2014]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x416f1a
push ebp
lea edx, [esp + 0x18]
push str.SystemRoot_system32drivers_s
push edx
call fcn.0041c953
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4030]
add esp, 0xc
push 0
push 0
push 0
push 0
push ebp
lea eax, [esp + 0x28]
push eax
push 1
push ecx
push 1
push 0xf01ff
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x416f44
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x431
jne 0x416f91
push 0xf01ff
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x416f22
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x416f78
mov eax, dword [esp + 0x4024]
push ebx
push 0
push 0
push 0
push 0
push ebp
lea edx, [esp + 0x2c]
push edx
push 1
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
cmp dword [esp + 0x4028], 0
je 0x416f6a
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x416f6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x416f78
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
xor eax, eax
mov ecx, dword [esp + 0x4014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041a7bc
add esp, 0x4008
ret
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
jmp 0x416f78