joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4222d0
Capabilities:
List user accounts

Disassembly:
sub esp, 0x234
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
push str.Start:_SendUsernameListToDriver
call fcn.00404c20
xor edi, edi
add esp, 4
push edi
push edi
push 3
push edi
push 1
push 0xc0000000
push str..FwDrv0
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x422346
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Open_device_error:__d
call fcn.00404c20
add esp, 8
jmp 0x42244a
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea esp, [esp]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
push 2
push edi
push edi
call sub.NETAPI32.dll_NetUserEnum
mov dword [esp + 0x28], eax
cmp eax, edi
je 0x422391
cmp eax, 0xea
je 0x422391
push eax
push str.A_system_error_has_occurred:__d
call fcn.00404c20
add esp, 8
jmp 0x422415
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x42242b
cmp dword [esp + 0x18], 0
jbe 0x422419
test esi, esi
je 0x422408
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x3a]
push edx
mov word [esp + 0x3c], cx
call fcn.004416b0
mov eax, dword [esi]
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
push 0x104
push ecx
call fcn.0043efc3
add esp, 0xc
push 0
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0x208
lea eax, [esp + 0x44]
push eax
push 0x22e05d
push ebx
call ebp
test eax, eax
je 0x422463
inc dword [esp + 0x1c]
inc edi
add esi, 4
cmp edi, dword [esp + 0x18]
jb 0x4223a4
jmp 0x422415
push str.An_access_violation_has_occurred
call fcn.00404c20
add esp, 4
mov esi, dword [esp + 0x14]
xor edi, edi
cmp esi, edi
je 0x42242b
push esi
call sub.NETAPI32.dll_NetApiBufferFree
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x28], 0xea
je 0x422350
cmp esi, edi
je 0x422443
push esi
call sub.NETAPI32.dll_NetApiBufferFree
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e4c7
add esp, 0x234
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeviceIoControl_error:__d
call fcn.00404c20
add esp, 8
jmp 0x422443
Function at 0x4232b0
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x489f08
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2af4
call fcn.0044e2b0
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov word [ebp - 0xaf4], ax
push 0x8c6
push eax
lea ecx, [ebp - 0xaf2]
push ecx
call fcn.004416b0
xor edx, edx
mov word [ebp - 0x22c], dx
push 0x206
push edx
lea eax, [ebp - 0x22a]
push eax
call fcn.004416b0
xor ecx, ecx
mov word [ebp - 0x2b08], cx
xor eax, eax
mov dword [ebp - 0x2b06], eax
mov dword [ebp - 0x2b02], eax
mov dword [ebp - 0x2afe], eax
mov word [ebp - 0x2afa], ax
lea edx, [ebp + 0xc]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
push 0x1000
lea ecx, [ebp - 0x2af4]
push ecx
call fcn.0043ee66
add esp, 0x2c
lea edi, [esi + 0x820]
push 0
push 0x80
push 3
push 0
push 1
push bind
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4233b2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
cmp eax, 0x500000
jbe 0x4233ac
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4233b2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2af4]
lea edx, [eax + 2]
jmp 0x4233c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4233c0
sub eax, edx
sar eax, 1
mov ebx, eax
je 0x4234cf
cmp ebx, 0x400
ja 0x4234cf
push 0x482e8c
push edi
call fcn.0043fb0d
add esp, 8
mov esi, eax
mov dword [ebp - 0x2af8], esi
test esi, esi
je 0x4234cf
lea edx, [ebp - 0x2b08]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x2b08]
call fcn.00408de0
mov dword [ebp - 4], 0
mov ecx, 0x457d64
lea eax, [ebp - 0x2af4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423457
test dx, dx
je 0x423453
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423457
add eax, 4
add ecx, 4
test dx, dx
jne 0x423431
xor eax, eax
jmp 0x42345c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [ebp - 0xaf4]
jne 0x42347b
push 0x457d64
push 0x464
push eax
call fcn.0043ed50
add esp, 0xc
jmp 0x4234ae
lea ecx, [ebp - 0x2af4]
lea edx, [ebp - 0x22c]
push ecx
push edx
cmp word [ebp + ebx*2 - 0x2af6], 0xa
je 0x42349b
push str.__s___s_r_n
jmp 0x4234a0
push 0x457d54
push 0x464
push eax
call fcn.0043ed50
add esp, 0x14
lea ecx, [ebp - 0xaf4]
push ecx
push 0x479110
push esi
call fcn.00440c66
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
call fcn.004234f1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
Function at 0x423b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x489ee8
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 0xdc4]
mov eax, dword [edi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x423b8f
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.00401710
mov edi, dword [edi]
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x423c72
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add dword [esi + 0xdb0], ecx
mov edx, dword [ebp + 0x10]
add dword [esi + 0xdb4], edx
push 0
push 0
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call ebx
push 0
lea eax, [ebp - 0x20]
push eax
push 0xc
lea ecx, [esi + 0xda0]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
mov edx, dword [esi + 0xdbc]
push edx
push edi
call ebx
push 0
lea eax, [ebp - 0x20]
push eax
push 0xc
lea ecx, [esi + 0xdac]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0xfffffffe
call fcn.00423c8c
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x34]
imul eax, eax, 0x64
movzx ecx, word [ebp - 0x32]
add eax, ecx
imul eax, eax, 0x64
movzx edx, word [ebp - 0x2e]
add eax, edx
cmp eax, dword [esi + 0xdc0]
je 0x423c72
mov dword [esi + 0xdc0], eax
add dword [esi + 0xdbc], 0xc
inc dword [esi + 0xda4]
mov dword [esi + 0xdac], eax
xor eax, eax
mov dword [esi + 0xdb0], eax
mov dword [esi + 0xdb4], eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423f05
Capabilities:
Delete file

Disassembly:
cmp ebx, 0xffffffff
je 0x423f11
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], edi
jne 0x423f3b
lea ebx, [esi + 0xdc4]
mov eax, dword [ebx]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x423f32
mov eax, dword [eax + 4]
push eax
mov ecx, ebx
call fcn.00401710
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

Function at 0x423f90
Capabilities:
Check if file exists
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push esi
push edi
push str.SystemFirewallBkavFirewallEngine.dll
push 0x496778
push 0x47903c
lea eax, [esp + 0x5c]
push 0x104
push eax
call fcn.0043ed50
add esp, 0x14
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4240d1
lea edx, [esp + 0x50]
push edx
push str.szBkavFwEngine_:__s
call fcn.00404c20
add esp, 8
push 0
push 0
push 3
push 0
push 3
push bind
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4240d1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x40
jb 0x4240ca
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x40
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
test eax, eax
je 0x4240ca
cmp dword [esp + 0xc], 0x40
jne 0x4240ca
mov eax, 0x5a4d
cmp word [esp + 0x10], ax
jne 0x4240ca
mov ecx, dword [esp + 0x4c]
push 0
push 0
push ecx
push esi
call edi
cmp eax, 0xffffffff
je 0x4240ca
push 0
lea edx, [esp + 0x10]
push edx
push 0x200
lea eax, [esp + 0x27c]
push eax
push esi
call ebx
test eax, eax
je 0x4240ca
cmp dword [esp + 0x270], 0x4550
jne 0x4240ca
push 1
push 0
push 0
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x474]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
Function at 0x4240f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareBkav
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], 4
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4241a8
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.fFirewallEnable
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x424180
mov eax, dword [esp + 8]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push str.fFirewallEnable
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x18
ret
mov ecx, dword [esp + 0xc]
push ecx
push str.dwEnableFw_:__d
call fcn.00404c20
mov eax, dword [esp + 0x10]
xor edx, edx
add esp, 8
cmp dword [esp + 0xc], edx
push eax
setne dl
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x18
ret

Function at 0x424280
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x228
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push edi
push str.Start_InjectDllPreVista
call fcn.00404c20
add esp, 4
call fcn.00425280
push str.BkavFirewallEngine.dll
push 0x496980
mov ebx, 0x104
lea edi, [esp + 0x14]
mov ebp, eax
call fcn.0040def0
add esp, 8
test eax, eax
jle 0x424307
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424307
call fcn.00405e80
cmp eax, 1
je 0x4242f1
cmp eax, 4
je 0x4242f1
mov edx, esi
mov ecx, ebp
call fcn.00426310
jmp 0x4242f8
mov ecx, esi
call fcn.004265a0
test eax, eax
jne 0x424307
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.00409ef0
mov ecx, dword [esp + 0x230]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0043e4c7
add esp, 0x228
ret
Function at 0x424330
Capabilities:
Initialize winsock library
Query or enumerate registry value
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3bc
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1c2]
push ecx
mov word [esp + 0x1c4], ax
call fcn.004416b0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.szServerName
push str.SOFTWAREBkavBSPC
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4243cc
push str.SHGetValue_fail_n
call fcn.00404c20
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x28]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x424404
push str.WSAStartup_fail_n
call fcn.00404c20
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
lea ebx, [esp + 0x1b8]
call fcn.0040e010
mov edi, eax
test edi, edi
jne 0x424433
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
push str.gethostbyname_n
call fcn.00404c20
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
push edi
mov esi, eax
call fcn.0043efb8
add esp, 4
test esi, esi
je 0x424416
movsx eax, word [esi + 0xa]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push eax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00441730
mov esi, dword [esp + 0x28]
add esp, 0xc
push esi
push str.Add:__d_n
call fcn.00404c20
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x3c4]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
Function at 0x4252f0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [0x496750]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004416b0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 6]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.szBkavDir
push str.SoftwareBkav
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x425376
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0043e4c7
add esp, 0x21c
ret
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42535d
cmp dword [esi + 0x41c], 0
mov ax, word [esp + 0x10]
lea edi, [esi + 0x20e]
mov word [edi], ax
push 0x104
jne 0x4253ad
push str.:Program_FilesBluPro
jmp 0x4253b2
push str.:Program_Files__x86_BluPro
add esi, 0x210
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
push str.m_szBluPro:__ws_n
call fcn.00404c20
mov ecx, dword [esp + 0x224]
add esp, 8
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043e4c7
add esp, 0x21c
ret

Function at 0x4253f0
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ecx
push edi
mov edi, eax
mov eax, dword [edi + 0x244c]
test eax, eax
je 0x425522
cmp dword [edi + 0x2448], 0
je 0x425522
push esi
lea ecx, [esp + 8]
push ecx
call eax
mov edx, dword [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 1
push bind
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [edi + 0x2448]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call ecx
cmp esi, 0xffffffff
je 0x425466
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
jne 0x42546f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
or eax, 0xffffffff
pop edi
pop ecx
ret 4
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4254a0
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x425499
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
je 0x4254b5
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop esi
or eax, 0xffffffff
pop edi
pop ecx
ret 4
movzx ecx, word [ecx + 0x18]
mov edx, 0x10b
push eax
cmp cx, dx
jne 0x4254e1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop esi
mov eax, 1
pop edi
pop ecx
ret 4
mov edx, 0x20b
cmp cx, dx
jne 0x425508
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop esi
mov eax, 2
pop edi
pop ecx
ret 4
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop esi
xor eax, eax
pop edi
pop ecx
ret 4
mov eax, 1
pop edi
pop ecx
ret 4
Function at 0x425530
Capabilities:
Get disk information

Disassembly:
sub esp, 0x318
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x314], eax
mov eax, dword [esp + 0x31c]
mov ecx, dword [0x483690]
mov dx, word [0x483694]
push esi
mov dword [esp + 4], eax
lea esi, [esp + 0x10]
mov eax, esi
push eax
push 0x80
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x425594
pop esi
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.0043e4c7
add esp, 0x318
ret 4
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x4255b0
mov cx, word [esi]
push 0x104
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x18]
push eax
mov word [esp + 0x1c], cx
call edi
test eax, eax
je 0x4255e0
lea ecx, [esp + 0x118]
push ecx
push ebx
call ebp
test eax, eax
jne 0x42560c
nop
mov dx, word [esi]
add esi, 2
test dx, dx
jne 0x4255e0
cmp word [esi], dx
jne 0x4255b0
xor eax, eax
mov ecx, dword [esp + 0x320]
pop edi
pop ebp
pop esi
xor ecx, esp
call fcn.0043e4c7
add esp, 0x318
ret 4
lea eax, [esp + 0x118]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425616
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
lea eax, [ebx + eax*2]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x457c24
push edx
call fcn.0043ecb8
xor ecx, ecx
add esp, 0x10
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x4255f2

Function at 0x425650
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x414
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4256bc
push ebx
lea edx, [esp + 0x20c]
push edx
lea ebx, [esp + 8]
call fcn.00425530
pop ebx
test eax, eax
je 0x4256bc
lea eax, [esp + 0x208]
push eax
mov eax, esi
call fcn.004253f0
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0043e4c7
add esp, 0x414
ret 4
mov ecx, dword [esp + 0x410]
xor ecx, esp
or eax, 0xffffffff
call fcn.0043e4c7
add esp, 0x414
ret 4
Function at 0x4256e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x878
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x874], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x496750]
push esi
push edi
push eax
push str.BkavSystemUtil64.exe
push str.System
add ecx, 6
push ecx
push str.__s_s_s___f__d
lea edx, [esp + 0x74]
push 0x400
push edx
call fcn.0043ed50
add esp, 0x1c
lea eax, [esp + 0x60]
push eax
push str.Inject64_szCmdLine__s
call fcn.00404c20
push 0x44
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.004416b0
add esp, 0x14
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x425798
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 8]
push eax
call edi
mov eax, esi
mov ecx, dword [esp + 0x87c]
pop edi
pop esi
xor ecx, esp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret
Function at 0x4257b0
Capabilities:
Check if file exists
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48b1f8
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x484], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x480], eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425879
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x474], eax
push 0x22c
push 0
lea eax, [ebp - 0x470]
push eax
call fcn.004416b0
add esp, 0xc
push ebx
call fcn.00425ac0
call fcn.00425ec0
xor ecx, ecx
cmp dword [ebx + 0x418], 1
sete cl
mov dword [ebp - 0x488], ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x47c], esi
cmp esi, 0xffffffff
je 0x425879
mov dword [ebp - 0x470], 0x22c
lea edx, [ebp - 0x470]
push edx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x425880
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x425a0a
mov eax, dword [ebp - 0x468]
cmp eax, 4
jbe 0x4259dd
cmp dword [ebp - 0x474], eax
je 0x4259dd
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4258e6
push 0x21c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.004416b0
add esp, 0xc
lea esi, [ebp - 0x240]
call fcn.00406850
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
call fcn.00407c40
test eax, eax
jne 0x4259dd
cmp dword [ebp - 0x488], 0
jne 0x42590b
push 0x478fa0
lea ecx, [ebp - 0x44c]
push ecx
call fcn.0043ec25
add esp, 8
test eax, eax
jne 0x4259dd
mov edx, dword [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x474]
call fcn.00426170
test eax, eax
je 0x4259bc
mov eax, dword [ebp - 0x468]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x478], edi
test edi, edi
je 0x4259dd
push edi
mov esi, ebx
call fcn.00425650
cmp eax, 2
jne 0x42596e
mov ecx, dword [ebp - 0x468]
push ecx
call fcn.004256e0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4259dd
mov dword [ebp - 4], 0
lea edx, [ebp - 0x44c]
push edx
push str.Inject_same_owner_szExeFile_s
call fcn.00404c20
add esp, 8
mov eax, dword [ebp - 0x480]
push eax
push ebx
mov esi, edi
call fcn.00425f50
mov dword [ebp - 4], 0xfffffffe
call fcn.004259b2
jmp 0x4259dd
lea ecx, [ebp - 0x44c]
push ecx
push str.Inject_different_owners_szExeFile_s
call fcn.00404c20
add esp, 8
mov ecx, dword [ebp - 0x468]
mov edx, ebx
call fcn.00425f90
lea edx, [ebp - 0x470]
push edx
mov esi, dword [ebp - 0x47c]
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x425880
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov dword [ebx + 0x2444], eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret 4