joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [0x496760]
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
test ebx, ebx
jne 0x435d15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateEvent_pipe_report
call fcn.00404c20
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea esi, [esp + 0x18]
mov dword [esp + 0x28], ebx
call fcn.00435be0
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFileEx]
mov esi, eax
jmp 0x435d30
push 1
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x435d64
cmp eax, 0xc0
je 0x435d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WaitForSingleObjectEx___d_
call fcn.00404c20
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x435d81
mov edx, dword [edi]
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x435dfd
push 0x4e40
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x435e11
mov eax, dword [edi]
push 0x435ea0
push esi
push 0x2710
lea ecx, [esi + 0x18]
push ecx
mov edx, eax
push edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x4e3c], 0
call ebp
test eax, eax
jne 0x435dee
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
jne 0x435ddd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DisconnectNamedPipe_failed_with__d
call fcn.00404c20
add esp, 8
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
lea esi, [esp + 0x18]
call fcn.00435be0
jmp 0x435d29
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ConnectNamedPipe___d_
call fcn.00404c20
add esp, 8
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436640
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x453cc5
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e050]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov eax, dword [esp + 0x250]
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
xor edi, edi
xor ebx, ebx
call fcn.004364b0
mov ebp, eax
test ebp, ebp
je 0x43674a
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebp
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x4366c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x485f14
call fcn.00404c20
jmp 0x436735
push esi
push str.szVirusName:__s
call fcn.00404c20
push 0x491d7c
push 0x14
call fcn.004412eb
add esp, 0x10
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x248], esi
cmp eax, esi
je 0x4366f9
push eax
call fcn.00432250
mov esi, eax
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24c], 0xffffffff
mov edi, esi
call fcn.00432430
call fcn.00432530
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.00432570
push eax
push str.nRet:__d
call fcn.00404c20
mov ebx, 1
add esp, 8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x43674a
mov esi, edi
call fcn.00436780
mov eax, ebx
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0043e4c7
add esp, 0x238
ret 4
Function at 0x436b00
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x6a4
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x6a0], eax
mov eax, dword [esp + 0x6a8]
push ebx
push ebp
push esi
xor esi, esi
push 0x24c
lea ecx, [esp + 0x20]
push esi
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
call fcn.004416b0
add esp, 0xc
push edi
push str._s.
lea edx, [esp + 0x490]
push 0x104
push edx
mov dword [esp + 0x20], esi
call fcn.0043ed50
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x48c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x436b78
xor eax, eax
jmp 0x436be6
test byte [esp + 0x18], 0x10
jne 0x436bc1
lea edx, [esp + 0x44]
push edx
push edi
push 0x47903c
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.0043ed50
lea ebx, [esp + 0x27c]
add esp, 0x14
mov esi, ebx
call fcn.00436a30
mov ecx, dword [esp + 0x14]
push ecx
mov edx, ebx
push edx
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x436bd3
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x436b78
jmp 0x436bdb
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x6ac]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e4c7
add esp, 0x6a4
ret 4

Function at 0x436c00
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x436c55
push esi
push 7
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x436c4b
push ebx
lea edi, [esp + 0xc]
call fcn.00436b00
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test esi, esi
jne 0x436c8a
push 0
push 0x1e
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x436c8a
push ebx
lea edi, [esp + 0xc]
call fcn.00436b00
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x22c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0043e4c7
mov esp, ebp
pop ebp
ret 4
Function at 0x4371d0
Capabilities:
Get common file path
Persist via winlogon helper dll registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x428]
sub esp, 0x428
push 0xfffffffffffffffe
push 0x48a1b0
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x424], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, 1
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov esi, 0xf003f
xor eax, eax
mov word [ebp], ax
push 0x206
push ebx
lea ecx, [ebp + 2]
push ecx
call fcn.004416b0
add esp, 0xc
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0x208
call fcn.00420be0
test eax, eax
je 0x437256
mov esi, 0xf013f
lea edx, [ebp - 0x20]
push edx
push esi
push ebx
push 0x486498
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437289
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RestoreUserInitKey_RegOpenKeyEx_error:__d
call fcn.00404c20
add esp, 8
jmp 0x4373b0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp - 0x28]
push edx
push ebx
push str.Userinit
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4372c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RestoreUserInitKey_RegQueryValueEx_error:__d
call fcn.00404c20
add esp, 8
jmp 0x4373b0
lea ecx, [ebp + 0x208]
push ecx
push str.RestoreUserInitKey_szValue:__s
call fcn.00404c20
add esp, 8
cmp dword [ebp - 0x28], edi
jne 0x4373b0
push 0x104
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x4373b0
push str.Userinit.exe_
push 0x104
lea eax, [ebp]
push eax
call fcn.0043f083
push str.Userinit.exe
lea ecx, [ebp + 0x208]
push ecx
call fcn.0043ec25
add esp, 0x14
test eax, eax
je 0x4373ad
lea edx, [ebp]
push edx
lea eax, [ebp + 0x208]
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x4373ad
mov dword [ebp - 0x1c], ebx
push str.Userinit.exe
push 0x479110
lea edx, [ebp + 0x208]
call fcn.004047d0
add esp, 8
lea eax, [ebp + 0x208]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437363
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x24], ecx
lea edx, [ebp + 0x208]
push edx
push str.RestoreUserInitKey_RegSetValueEx:__s
call fcn.00404c20
add esp, 8
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp + 0x208]
push ecx
push edi
push ebx
push str.Userinit
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4373b0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.004373e6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x424]
xor ecx, ebp
call fcn.0043e4c7
add ebp, 0x428
mov esp, ebp
pop ebp
ret
Function at 0x437a00
Capabilities:
Check if file exists
Delete file

Disassembly:
sub esp, 0x7c0
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x7bc], eax
push ebp
mov ebp, dword [esp + 0x7c8]
push esi
push edi
xor eax, eax
push 0x21a
mov esi, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov edi, edx
mov word [esp + 0x18], ax
call fcn.004416b0
push 0x5a0
lea edx, [esp + 0x238]
push 0
push edx
call fcn.004416b0
add esp, 0x18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437a6f
push str.RemoveFile_File_not_Exists
call fcn.00404c20
add esp, 4
xor eax, eax
jmp 0x437bc7
push esi
call fcn.00406e10
add esp, 4
test eax, eax
je 0x437a90
push str.RemoveFile_IsFileInWindowsCatalog
call fcn.00404c20
add esp, 4
xor eax, eax
jmp 0x437bc7
call fcn.00405540
test eax, eax
je 0x437aad
push str.RemoveFile_IsFileInBkavWhiteList
call fcn.00404c20
add esp, 4
xor eax, eax
jmp 0x437bc7
test byte [esp + 0x7d4], 8
je 0x437ac8
push esi
mov ecx, str.Susp.SafeRemoving
test edi, edi
je 0x437ac3
mov ecx, edi
call fcn.00436640
call fcn.004371d0
test eax, eax
jne 0x437ae5
push str.RestoreUserInitKey_error
call fcn.00404c20
add esp, 4
xor eax, eax
jmp 0x437bc7
call fcn.00436ec0
test eax, eax
jne 0x437b02
push str.RestoreShellKey_error
call fcn.00404c20
add esp, 4
xor eax, eax
jmp 0x437bc7
call fcn.00437400
test eax, eax
jne 0x437b1f
push str.RestoreAssociationKey_error
call fcn.00404c20
add esp, 4
xor eax, eax
jmp 0x437bc7
cmp dword [esp + 0x7d8], 0
je 0x437b83
push ebx
push esi
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.0043efc3
push edi
lea ecx, [esp + 0x23c]
push 0x64
push ecx
call fcn.0043efc3
push str.CLEANED_SUCCESS__
lea edx, [esp + 0x310]
push 0x64
push edx
call fcn.0043efc3
lea ebx, [esp + 0x3e0]
lea ecx, [esp + 0x34]
call fcn.0040a630
lea eax, [esp + 0x5e8]
push eax
lea eax, [esp + 0x38]
call fcn.0040e750
add esp, 0x28
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x437be1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteFile_error:__d
call fcn.00404c20
add esp, 8
push esi
call fcn.00436d80
mov esi, eax
test esi, esi
je 0x437bc5
cmp dword [esp + 0x7d8], 0
je 0x437bc5
lea ecx, [esp + 0xc]
push ecx
lea edi, [ebp + 8]
call fcn.00439980
mov eax, esi
mov ecx, dword [esp + 0x7c8]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043e4c7
add esp, 0x7c0
ret 0xc
mov esi, 1
jmp 0x437bae
Function at 0x437ea0
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test bl, 1
je 0x437efd
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x437efd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x437ee7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x437efd
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.TerminateProcess_success
call fcn.00404c20
add esp, 4
pop esi
test bl, 2
je 0x437f19
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ecx
push ebx
push edx
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.00437a00
test bl, 4
je 0x437f28
mov eax, dword [esp]
push eax
push edi
call fcn.00437bf0
mov eax, 1
pop ecx
ret 0xc

Function at 0x437f40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x489b68
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 ebx, edx
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp + 8], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x438006
cmp dword [ebp + 0xc], esi
je 0x438006
cmp eax, reloc.WS2_32.dll_accept
jne 0x437fd3
lea eax, [ebp - 0x20]
push eax
push ecx
call sub.WTSAPI32.dll_WTSQueryUserToken
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x438006
lea eax, [ebp + 8]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov eax, dword [ebp + 8]
test eax, eax
je 0x438006
jmp 0x437fd6
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0xf003f
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438006
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x438006
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0043802f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438070
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x489b48
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x24], esi
xor edi, edi
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp + 8], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x43811d
cmp eax, reloc.WS2_32.dll_accept
jne 0x4380ff
lea eax, [ebp - 0x1c]
push eax
push ecx
call sub.WTSAPI32.dll_WTSQueryUserToken
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x43811d
lea eax, [ebp + 8]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov eax, dword [ebp + 8]
test eax, eax
je 0x43811d
jmp 0x438102
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
add eax, 1
je 0x43811d
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.00438149
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452af0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x48e050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push esi
lea ecx, [ebp - 0x18]
push ecx
push ebx
push str.SOFTWAREBkavRP
mov dword [ebp - 4], esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
call edi
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x438fef
cmp eax, 0xea
je 0x438fef
lea ecx, [ebp - 0x2c]
call fcn.0043f100
push 0x489b34
lea edx, [ebp - 0x2c]
push edx
call fcn.00441ea5
mov eax, dword [ebp - 0x14]
add eax, 0x14
push eax
mov dword [ebp - 0x14], eax
call fcn.0043e793
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x439020
lea ecx, [ebp - 0x38]
call fcn.0043f100
push 0x489b34
lea eax, [ebp - 0x38]
push eax
call fcn.00441ea5
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push esi
call fcn.004416b0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push str.SOFTWAREBkavRP
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x43907c
push eax
push str.ShGetValue2_fail__d_n
call fcn.00404c20
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.0043f100
push 0x489b34
lea ecx, [ebp - 0x44]
push ecx
call fcn.00441ea5
mov eax, 0x439076
ret
mov edx, dword [ebp + 8]
mov dword [edx], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4390a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48a110
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 eax, dword [ebp + 0xc]
mov esi, edx
xor edx, edx
mov dword [ebp - 0x1c], edx
cmp esi, edx
je 0x43913a
cmp ecx, edx
je 0x43913a
cmp eax, edx
je 0x43913a
mov dword [ebp - 4], edx
push eax
push ecx
mov eax, dword [ebp + 8]
push eax
push esi
push str.SOFTWAREBkavRP
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, eax
mov dword [ebp - 0x1c], edi
push edi
push esi
push str.SHSetValue__ws_return__d_n
call fcn.00404c20
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
call fcn.00439139
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43a1b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48a0f0
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x450
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 edi, ecx
mov esi, edx
xor ebx, ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x458], 0x140
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x448], ebx
push 0x424
push ebx
lea eax, [ebp - 0x444]
push eax
call fcn.004416b0
add esp, 0xc
mov dword [ebp - 4], ebx
mov eax, dword [edi]
test eax, eax
je 0x43a36b
lea ecx, [ebp - 0x458]
push ecx
push esi
mov edx, dword [ebp + 0xc]
push edx
mov edi, dword [ebp + 8]
push edi
call eax
add esp, 0x10
mov dword [esi + 0x5640], eax
test eax, eax
jle 0x43a36b
cmp eax, 0x28
jl 0x43a266
mov dword [esi + 0x5640], 0x28
mov eax, dword [esi + 0x5640]
push eax
push str.pCallStackInfo__nTotalEntry:__d
call fcn.00404c20
add esp, 8
push edi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x44c], eax
cmp eax, 0xffffffff
jne 0x43a2a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateToolhelp32Snapshot_error:__d
call fcn.00404c20
add esp, 8
jmp 0x43a36b
mov dword [ebp - 0x448], 0x428
lea ecx, [ebp - 0x448]
push ecx
push eax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x43a2da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Module32First_error:__d
call fcn.00404c20
add esp, 8
jmp 0x43a36b
xor edi, edi
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x454], edi
cmp edi, dword [esi + 0x5640]
jge 0x43a346
mov edx, dword [ebp - 0x430]
add edx, eax
mov ecx, dword [esi + edi*8]
cmp ecx, eax
jb 0x43a343
cmp ecx, edx
ja 0x43a343
mov dword [esi + edi*4 + 0x140], eax
lea eax, [ebp - 0x228]
push eax
push 0x104
mov ecx, edi
imul ecx, ecx, 0x21c
lea edx, [ecx + esi + 0x1e0]
push edx
call fcn.0043efc3
add esp, 0xc
inc ebx
mov dword [ebp - 0x460], ebx
cmp ebx, dword [esi + 0x5640]
jge 0x43a346
mov eax, dword [ebp - 0x42c]
inc edi
jmp 0x43a2e2
lea eax, [ebp - 0x448]
push eax
mov ecx, dword [ebp - 0x44c]
push ecx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x43a2da
mov dword [ebp - 0x450], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0043a39b
mov eax, dword [ebp - 0x450]
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 8

Function at 0x43a730
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.fEnable
push str.SYSTEMCurrentControlSetServicesBkavSPParameters
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43a776
xor eax, eax
add esp, 0xc
ret
xor eax, eax
cmp dword [esp], eax
setne al
add esp, 0xc
ret
Function at 0x43a790
Capabilities:
Check if file exists
Create thread
Query or enumerate registry value

Disassembly:
sub esp, 0x230
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push edi
mov edi, dword [0x496768]
lea eax, [esp + 0x10]
push eax
lea esi, [edi + 8]
push esi
lea ecx, [esp + 0x14]
push ecx
push str.szBkavDir
push str.SoftwareBkav
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x21c
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43a7fe
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0043e4c7
add esp, 0x230
ret
push esi
push str._sSystemAntiLeakBkavAlManager.dll
lea edx, [esp + 0x1c]
push 0x104
push edx
call fcn.0043ed50
add esp, 0x10
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a7e4
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43a7e4
push str.GetStack
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi], eax
test eax, eax
je 0x43a7e4
mov ecx, str.BkavSP
call fcn.004082f0
test eax, eax
je 0x43a8ac
call fcn.0043a730
test eax, eax
je 0x43a8ac
call fcn.00407be0
test eax, eax
jne 0x43a8d8
push str.CStackTracing_IsRunningNewDesign
call fcn.00404c20
add esp, 4
push 0x234
call fcn.0043ef53
add esp, 4
test eax, eax
je 0x43a88d
mov esi, eax
call fcn.00405030
jmp 0x43a88f
xor eax, eax
push 0
push 0x43a900
push str.BkavTSPort
xor ebx, ebx
mov esi, eax
mov dword [edi + 0x224], eax
call fcn.00405080
jmp 0x43a8d8
push str.CStackTracing_SDTraceStackThread
call fcn.00404c20
add esp, 4
push 0
push 0
push edi
push 0x43a720
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x43a8d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0043e4c7
add esp, 0x230
ret