joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483cb0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 0
push 0
push 3
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], edx
push 0
mov dword [ebp - 0x18], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 0xc0000000
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x483d3a
nop word [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x483d35
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x483d00
jmp 0x483d3a
cmp esi, 0xffffffff
je 0x483d99
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x483d8a
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 4
lea eax, [ebp - 4]
push eax
push 0x14
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x483d8a
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
cmp dword [ebp - 8], 4
cmovne eax, ecx
mov dword [ebp - 4], eax
jmp 0x483d8d
mov eax, dword [ebp - 4]
cmp esi, 0xffffffff
je 0x483d9c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x484860
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x10c], edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
test eax, eax
jns 0x484892
push str._s_FeatureInfo1.0
jmp 0x4848a4
cmp byte [ebp + 0xc], 0
je 0x48489f
push str.Global_s_FeatureInfo1.0
jmp 0x4848a4
push str.Local_s_FeatureInfo1.0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
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 0x48492e
push edi
push ebx
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4848fa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
push ebx
push edi
push dword [ebp - 0x10c]
call fcn.0049f810
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d307
mov esp, ebp
pop ebp
ret
Function at 0x485fc0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 0x4000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x486130
push esi
lea esi, [edi + 0x14]
mov dword [edi], 0x2b47
push str.K7PwdMgr_MasterPasswordState
mov dword [edi + 8], esi
push dword [ebp - 4]
push str.getpmsetting.htm_t_u_n_s_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
push 9
push dword [edi + 8]
mov dword [edi + 4], eax
call fcn.0049f5a0
add esp, 0x18
mov dword [ebp - 8], 0
inc esi
mov dword [ebp - 0xc], 2
mov byte [eax], 0
mov eax, dword [edi + 4]
push 0
push 0
push 3
push 0
add eax, esi
mov dword [edi + 0xc], 0x2000
push 0
push 0xc0000000
mov dword [edi + 0x10], eax
push str..pipeK7SiteRatePipeV1
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4860b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x4860b3
push 0xffffffffffffffff
push str..pipeK7SiteRatePipeV1
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeK7SiteRatePipeV1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x486076
jmp 0x4860b8
cmp esi, 0xffffffff
je 0x4860f7
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4860eb
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [edi + 0xc]
push dword [edi + 0x10]
push 0x4000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
cmp esi, 0xffffffff
je 0x4860f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0xc], 0
pop esi
jbe 0x486115
mov eax, dword [edi + 0x10]
cmp byte [eax], 0
je 0x486115
push 0xa
push 0
push eax
call fcn.004cd831
add esp, 0xc
mov dword [ebx], eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4872e0
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
mov dword [ebp - 0x50], edx
push ebx
push ebx
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x4874a3
push ebx
push ebx
push str.FltMgr
push ebx
push str.FSFilter_Infrastructure
push edi
push 1
push ebx
push 2
push 0xf01ff
push str.K7AntiVirus_MiniFilter_Driver
push 0x506d08
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x48749c
cmp dword [ebp - 0x50], 0
mov ebx, 1
je 0x487495
push 0
push str.SystemCurrentControlSetServicesK7Sentry
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00499480
mov esi, eax
test esi, esi
je 0x487492
push 0
push str.Config
push esi
call fcn.004991f0
push 0
push str.Instances
push esi
mov dword [ebp - 0x50], eax
call fcn.004991f0
mov edi, eax
mov dword [ebp - 0x54], edi
test edi, edi
je 0x48748f
push str.Inst1
push str.DefaultInstance
push edi
call fcn.00499920
push 0
push str.Inst1
push edi
call fcn.004991f0
mov edi, eax
test edi, edi
je 0x48748f
push str.321100
push str.Altitude
push edi
call fcn.00499920
push 0
push str.Flags
push edi
call fcn.004998f0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4873f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SystemCurrentControlSetServicesK7SentryConfig
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00499480
mov esi, eax
test esi, esi
je 0x48748f
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0049ef70
add esp, 0xc
mov dword [ebp - 0x44], 0x40
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x487464
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x487464
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call dword [0x4f56a4]
call edi
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
shrd ecx, eax, 0xa
push ecx
push str.PhysicalMemoryInKB
push esi
call fcn.004998f0
push dword [ebp - 0x40]
push str.MemoryLoad
push esi
call fcn.004998f0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d307
mov esp, ebp
pop ebp
ret
Function at 0x488ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0048ad80
cmp eax, 4
jne 0x488af8
pop edi
mov eax, 0xc
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x488b0d
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
push esi
call fcn.00485700
cmp eax, 2
jne 0x488c1d
push 0
push str.SoftwareK7_ComputingK7TotalSecurity
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x108], 0
call fcn.004991c0
mov esi, eax
test esi, esi
je 0x488b58
push 0x104
lea eax, [ebp - 0x108]
push eax
push str.DirProductBase
push esi
call fcn.004996b0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.K7SysMon.Exe
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x118]
mov dword [ebp - 0x15c], 0x44
push eax
lea eax, [ebp - 0x15c]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x108]
movlpd qword [ebp - 0x158], xmm0
push eax
push 0
movlpd qword [ebp - 0x150], xmm0
movlpd qword [ebp - 0x148], xmm0
movlpd qword [ebp - 0x140], xmm0
movlpd qword [ebp - 0x138], xmm0
movlpd qword [ebp - 0x130], xmm0
movlpd qword [ebp - 0x128], xmm0
movlpd qword [ebp - 0x120], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x488c07
push 0x1d4c0
push dword [ebp - 0x118]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x118]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x488c1d
pop esi
pop edi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, 0x3ed
call fcn.004841a0
add esp, 4
push str.wndClassK7SysMonVer1
push str.wndClassK7SysMonVer1
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x488c44
or eax, 0xffffffff
jmp 0x488c5c
push dword [ebp + 8]
not edi
and edi, 1
push 0
add edi, 0x601
push edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x4b37
je 0x488c6d
xor eax, eax
jmp 0x488c70
movzx eax, ax
add eax, 3
cmp eax, 5
ja case.0x488c78.0
jmp dword [eax*4 + 0x488d04]
pop esi
pop edi
mov eax, 5
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
pop esi
pop edi
mov eax, 8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
pop esi
pop edi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
pop esi
pop edi
mov eax, 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
pop esi
pop edi
mov eax, 3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0049d307
mov esp, ebp
pop ebp
ret
Function at 0x48aa50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], ebx
mov byte [ebp - 0x108], bl
call fcn.004991c0
mov edi, eax
test edi, edi
je 0x48aad8
push 0x104
lea eax, [ebp - 0x108]
push eax
push str.PackageComponents
push edi
call fcn.004996b0
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
jne 0x48aad8
cmp byte [ebp - 0x108], bl
je 0x48aad8
lea eax, [ebp - 0x108]
push 0x5143f4
push eax
call fcn.0049f330
add esp, 8
test eax, eax
setne bl
test eax, eax
je 0x48abdf
push 0
push str.SoftwareK7_ComputingK7TotalSecurityCommonInfoFeatureStatus
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0
call fcn.004991c0
mov edi, eax
test edi, edi
je 0x48ab52
push 0x3f7
lea eax, [ebp - 0x108]
push str.FSUpsInfo_08X
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.00499660
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
jne 0x48ab52
cmp dword [ebp - 0x210], 0
je 0x48ab52
pop edi
lea eax, [esi + 3]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
push str.AMSI
push str.AntiVirus
push str.Products
push str.SoftwareK7_ComputingK7TotalSecurity
lea eax, [ebp - 0x20c]
push str._s_s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004991c0
mov esi, eax
test esi, esi
je 0x48abdf
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0
push str.ProviderId
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48abc0
cmp dword [ebp - 0x214], 0
mov eax, 1
cmovne ebx, eax
neg ebx
push esi
sbb ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
lea eax, [ebx + 2]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 3
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d307
mov esp, ebp
pop ebp
ret

Function at 0x48cca0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], 0x47455456
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp byte [0x52e6b7], 0
mov ebx, eax
jne 0x48ccdb
call fcn.0048d950
mov esi, dword [0x52ee48]
test esi, esi
jne 0x48ccf2
push str._r_ngm_fpProcessIdToSessionId_IS_null
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x48cd01
lea eax, [ebp - 4]
mov ecx, esi
push eax
push ebx
call dword [0x4f56a4]
call esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x10]
mov edx, 0x10031
push 8
push eax
call fcn.0048dfc0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d950
Capabilities:
Check os version
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Kernel32.dll
mov dword [0x52ee48], 0
mov dword [0x52ee58], 0
mov dword [0x52ee50], 0
mov dword [0x52ee54], 0
mov dword [0x52ee24], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x48d9b8
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x48d9da
push 0x506c2c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x506c4c
push esi
mov dword [0x52ee58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52ee48], eax
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x48d9fc
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x48da40
push str.WTSEnumerateSessionsA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x506c74
push esi
mov dword [0x52ee50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51473c
push esi
mov dword [0x52ee4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x506c90
push esi
mov dword [0x52ee24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52ee54], eax
mov dword [0x52ee5c], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
pop esi
test eax, eax
js 0x48db27
push 0x98
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0049ef70
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x48da9f
cmp dword [ebp - 0x9c], 6
jb 0x48da9f
mov dword [0x52ee5c], 1
jmp 0x48db0b
lea eax, [ebp - 0xa4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinLogon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48db02
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x48db02
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 4
push ecx
push 0x52ee5c
lea ecx, [ebp - 0xac]
push ecx
push 0
push str.AllowMultipleTSSessions
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x52ee5c], 1
jne 0x48db27
cmp dword [0x52ee58], 0
je 0x48db1d
cmp dword [0x52ee50], 0
jne 0x48db27
mov dword [0x52ee5c], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [0x52e6b7], 1
call fcn.0049d307
mov esp, ebp
pop ebp
ret
Function at 0x48e560
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004991c0
mov ebx, eax
test ebx, ebx
je 0x48e67c
push edi
push 0x8000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x48e674
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x8000
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push str.UserInfo
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48e664
cmp dword [ebp - 0xc], 3
jne 0x48e664
mov eax, dword [ebp - 4]
cmp eax, 0xfc
jb 0x48e664
mov ecx, dword [edi]
lea edx, [edi + 4]
add eax, edi
mov dword [ebp - 8], edx
mov esi, eax
xor edx, edx
sub esi, dword [ebp - 8]
add esi, 3
shr esi, 2
cmp dword [ebp - 8], eax
lea eax, [edi + 4]
cmova esi, edx
test esi, esi
je 0x48e611
xor dword [eax], ecx
lea eax, [eax + 4]
inc edx
add ecx, 7
cmp edx, esi
jb 0x48e604
cmp dword [edi + 4], 0x4b375249
jne 0x48e664
push 0x40
lea esi, [edi + 8]
push esi
push 0x528180
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x50
lea eax, [esi + 0x40]
push eax
push 0x5293f0
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x3c
lea eax, [esi + 0x90]
push eax
push 0x5207b0
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x28
lea eax, [esi + 0xcc]
push eax
push 0x528390
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004991c0
mov esi, eax
test esi, esi
je 0x48e723
push 0x30
push 0x528360
push str.UserPCName
push esi
call fcn.004996b0
push 0x40
push 0x523e80
push str.UserVendorId
push esi
call fcn.004996b0
push 0x20
push 0x521174
push str.UserTelephone
push esi
call fcn.004996b0
push 0x80
push 0x520830
push str.UserCountry
push esi
call fcn.004996b0
push 0x80
push 0x525f80
push str.UserState
push esi
call fcn.004996b0
push 0x80
push 0x5280e8
push str.UserCity
push esi
call fcn.004996b0
push 0x521d98
push str.UserInMails
push esi
call fcn.00499660
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48e800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, edx
call fcn.004991c0
mov esi, eax
test esi, esi
jne 0x48e825
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x48e838
push eax
push str.ProxyEnabled
push esi
call fcn.00499660
test edi, edi
je 0x48e848
push edi
push str.ConnectIdFirst
push esi
call fcn.00499660
mov eax, dword [ebp + 8]
test eax, eax
je 0x48e85b
push eax
push str.ConnectIdSecond
push esi
call fcn.00499660
cmp dword [ebp + 0x10], 0
jne 0x48e871
cmp dword [ebp + 0x14], 0
jne 0x48e871
cmp dword [ebp + 0x18], 0
je 0x48e98f
push 0x1d0
call fcn.0049da45
push 0x1d0
mov edi, eax
push 0
push edi
call fcn.0049ef70
add esp, 0x10
push 0x1d0
push edi
push str.ProxyInfo
push esi
call fcn.004995c0
cmp eax, 1
jne 0x48e981
movd xmm0, dword [edi + 8]
lea eax, [edi + 0xc]
push ebx
lea ebx, [edi + 8]
pshufd xmm1, xmm0, 0
movd xmm0, dword [edi + 4]
lea ecx, [edi + 4]
pshufd xmm2, xmm0, 0
lea edx, [eax + 0x1c0]
mov dword [ebp - 4], edx
cmp eax, ecx
ja 0x48e8d9
xor edx, edx
cmp dword [ebp - 4], ecx
jae 0x48e93b
cmp eax, ebx
ja 0x48e8e9
lea ecx, [eax + 0x1c0]
xor edx, edx
cmp ecx, ebx
jae 0x48e93b
mov ecx, 7
nop
movups xmm0, xmmword [eax]
pxor xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [eax], xmm0
movups xmm0, xmmword [eax + 0x10]
pxor xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
pxor xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
pxor xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [eax + 0x30], xmm0
add eax, 0x40
sub ecx, 1
jne 0x48e8f0
mov edx, 0xffffff90
add edx, 0x71
nop
mov ecx, dword [ebx]
lea eax, [eax + 4]
xor dword [eax - 4], ecx
mov ecx, dword [edi + 4]
xor dword [eax - 4], ecx
sub edx, 1
jne 0x48e940
lea eax, [edi + 0xc]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [edi + 0x110]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [edi + 0x190]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop ebx
push 0x1d0
push edi
call fcn.0049da37
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493030
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x51a448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeK7AGNT0623F4BA_EB94_42c8_A95E_5D1ADA983484
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4930a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x4930d5
push 0x2710
push str..pipeK7AGNT0623F4BA_EB94_42c8_A95E_5D1ADA983484
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeK7AGNT0623F4BA_EB94_42c8_A95E_5D1ADA983484
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x493065
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebx + 0xc]
push eax
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x4930eb
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
jne 0x4930a3
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d307
mov esp, ebp
pop ebp
ret
mov dword [edi], 0x4b374147
mov dword [edi + 4], 3
mov dword [edi + 8], ebx
test ebx, ebx
je 0x49310f
push ebx
push dword [ebp - 0x14]
lea eax, [edi + 0xc]
push eax
call fcn.0049f810
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x49312d
xor ebx, ebx
jmp 0x493153
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
cmp esi, 0xffffffff
je 0x49315f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0049d307
mov esp, ebp
pop ebp
ret