joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52a090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61735e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x52a0e3
mov eax, dword [ebx]
jmp 0x52a0e5
mov eax, ebx
mov esi, dword [ebp + 8]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.00434d60
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x24]
mov eax, dword [esi + 0x18]
lea edx, [esi + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov al, byte [esi + 0x20]
mov byte [ebx + 0x20], al
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x52a12f
mov eax, dword [ecx]
jmp 0x52a131
mov eax, ecx
push 0xffffffffffffffff
xor edi, edi
push edi
push edx
mov word [eax], di
call fcn.00434d60
lea eax, [esi + 0x3c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x3c]
call fcn.0052a2b0
xor eax, eax
mov byte [ebp - 4], 2
push 0xffffffffffffffff
lea edi, [esi + 0x78]
mov dword [ebx + 0x8c], 7
lea esi, [ebx + 0x78]
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
push edi
mov dword [ebp - 0x14], esi
mov word [esi], ax
call fcn.00434d60
movzx eax, byte [edi + 0x18]
mov ecx, dword [ebp + 8]
mov byte [esi + 0x18], al
movzx eax, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0xa8]
mov dword [ebx + 0xa8], eax
mov eax, dword [ecx + 0xac]
mov dword [ebx + 0xac], eax
mov eax, dword [ecx + 0xb0]
mov dword [ebx + 0xb0], eax
mov eax, ebx
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 0x52a1f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp esi, edi
je 0x52a209
push 0xffffffffffffffff
push 0
push edi
call fcn.00434d60
mov eax, dword [edi + 0x18]
lea ecx, [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov al, byte [edi + 0x20]
mov byte [esi + 0x20], al
lea eax, [edi + 0x24]
cmp ecx, eax
je 0x52a22f
push 0xffffffffffffffff
push 0
push eax
call fcn.00434d60
lea eax, [edi + 0x3c]
push eax
lea ecx, [esi + 0x3c]
call fcn.0052a3a0
lea ebx, [edi + 0x78]
lea ecx, [esi + 0x78]
cmp ecx, ebx
je 0x52a252
push 0xffffffffffffffff
push 0
push ebx
call fcn.00434d60
lea ecx, [esi + 0x78]
movzx eax, byte [ebx + 0x18]
mov byte [ecx + 0x18], al
movzx eax, byte [ebx + 0x19]
mov byte [ecx + 0x19], al
mov eax, dword [ebx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0xa8]
mov dword [esi + 0xa8], eax
mov eax, dword [edi + 0xac]
mov dword [esi + 0xac], eax
mov eax, dword [edi + 0xb0]
mov dword [esi + 0xb0], eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x5312b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fffe2
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
cmp esi, ebx
je 0x531316
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x5312ef
inc eax
push eax
push dword [esi]
call fcn.00434bd0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x531307
mov eax, dword [esi]
jmp 0x531309
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00434450
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x24]
mov dword [esi + 0x18], eax
lea edi, [esi + 0x24]
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov al, byte [ebx + 0x20]
mov byte [esi + 0x20], al
cmp edi, ecx
je 0x53136f
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x531348
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00434bd0
lea ecx, [ebx + 0x24]
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x531360
mov eax, dword [edi]
jmp 0x531362
mov eax, edi
xor edx, edx
push ecx
mov ecx, edi
mov word [eax], dx
call fcn.00434450
lea eax, [ebx + 0x3c]
push eax
lea ecx, [esi + 0x3c]
call fcn.005314c0
lea ecx, [ebx + 0x78]
lea edi, [esi + 0x78]
cmp edi, ecx
je 0x5313c5
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x53139b
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00434bd0
lea ecx, [ebx + 0x78]
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x5313b3
mov eax, dword [edi]
jmp 0x5313b5
mov eax, edi
xor edx, edx
push ecx
mov ecx, edi
mov word [eax], dx
call fcn.00434450
lea ecx, [ebx + 0x78]
movzx eax, byte [ecx + 0x18]
mov byte [edi + 0x18], al
movzx eax, byte [ecx + 0x19]
mov byte [edi + 0x19], al
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebx + 0xa8]
mov dword [esi + 0xa8], eax
mov eax, dword [ebx + 0xac]
mov dword [esi + 0xac], eax
mov eax, dword [ebx + 0xb0]
mov dword [esi + 0xb0], eax
mov eax, 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 0x536130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617f13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x536181
mov eax, dword [ebx]
jmp 0x536183
mov eax, ebx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.00434450
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x24]
mov eax, dword [esi + 0x18]
lea edx, [esi + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov al, byte [esi + 0x20]
mov byte [ebx + 0x20], al
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x5361ca
mov eax, dword [ecx]
jmp 0x5361cc
mov eax, ecx
xor edi, edi
push edx
mov word [eax], di
call fcn.00434450
lea eax, [esi + 0x3c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebx + 0x3c]
call fcn.00536290
lea edi, [esi + 0x78]
mov dword [ebx + 0x8c], 7
xor eax, eax
mov dword [ebx + 0x88], 0
push edi
lea ecx, [ebx + 0x78]
mov word [ebx + 0x78], ax
call fcn.00434450
movzx eax, byte [edi + 0x18]
mov ecx, dword [ebp + 8]
mov byte [ebx + 0x90], al
movzx eax, byte [edi + 0x19]
mov byte [ebx + 0x91], al
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x94], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x98], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x9c], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0xa0], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0xa4], eax
mov eax, dword [ecx + 0xa8]
mov dword [ebx + 0xa8], eax
mov eax, dword [ecx + 0xac]
mov dword [ebx + 0xac], eax
mov eax, dword [ecx + 0xb0]
mov dword [ebx + 0xb0], eax
mov eax, ebx
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 0x539150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 8
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
push edi
jb 0x53916b
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x539187
movzx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x539176
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x18]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp dword [ecx + 4], eax
jne 0x5391bd
cmp dword [ecx], eax
jne 0x5391b5
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x5391c5
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x5391c5
cmp dword [ecx], eax
jne 0x5391c8
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edx + 4]
push eax
push esi
call fcn.00539600
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x539f60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618550
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x539fa7
mov edi, dword [ebx]
jmp 0x539fa9
mov edi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x539fca
mov ebx, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x539fb6
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
lea ecx, [esi + 4]
and eax, edx
mov dword [ebp - 0x18], ecx
lea edx, [eax*8]
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], edx
mov edi, dword [eax + edx]
cmp edi, dword [ecx]
jne 0x539fed
mov esi, dword [ecx]
jmp 0x539ff3
mov esi, dword [eax + edx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x53a00c
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.00422bf0
test al, al
jne 0x53a057
cmp esi, edi
jne 0x539ff7
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x53a039
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
add ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
cmp ebx, dword [edx + 4]
mov ebx, dword [ebp + 0xc]
jne 0x53a083
mov dword [ecx], edi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], edi
jmp 0x53a0a5
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push eax
call fcn.00539600
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ecx], esi
jne 0x53a08b
mov dword [ecx], edi
jmp 0x53a0a5
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x53a0a5
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.0053a470
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x53b5d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp edi, eax
je 0x53b5e7
push 0xffffffffffffffff
push 0
push eax
call fcn.00434d60
push edi
call fcn.00591353
add esp, 4
mov dword [edi + 0x20], eax
test eax, eax
jne 0x53b5fe
xor al, al
pop edi
pop ebp
ret 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartSensor
push eax
call esi
push str.StopSensor
push dword [edi + 0x20]
mov dword [edi + 0x24], eax
call esi
push str.FlushSensor
push dword [edi + 0x20]
mov dword [edi + 0x28], eax
call esi
push str.RealTimeFlushSensor
push dword [edi + 0x20]
mov dword [edi + 0x2c], eax
call esi
push str.SessionChange
push dword [edi + 0x20]
mov dword [edi + 0x30], eax
call esi
push str.SetStoreLocation
push dword [edi + 0x20]
mov dword [edi + 0x3c], eax
call esi
push str.SetSalEventHandler
push dword [edi + 0x20]
mov dword [edi + 0x40], eax
call esi
push str.SetSalNotificationHandler
push dword [edi + 0x20]
mov dword [edi + 0x44], eax
call esi
push str.SetSalDynamicExclusionHandler
push dword [edi + 0x20]
mov dword [edi + 0x48], eax
call esi
push str.ResetProcessExemption
push dword [edi + 0x20]
mov dword [edi + 0x4c], eax
call esi
push str.AddProcessExemption
push dword [edi + 0x20]
mov dword [edi + 0x34], eax
call esi
push str.PostConfigStart
push dword [edi + 0x20]
mov dword [edi + 0x38], eax
call esi
push str.SalStartSnapshot
push dword [edi + 0x20]
mov dword [edi + 0x50], eax
call esi
push str.AllowExecuteScript
push dword [edi + 0x20]
mov dword [edi + 0x54], eax
call esi
push str.SetUserSid
push dword [edi + 0x20]
mov dword [edi + 0x58], eax
call esi
push str.GetTelemetryCounters
push dword [edi + 0x20]
mov dword [edi + 0x5c], eax
call esi
push str.ResetTelemetryCounters
push dword [edi + 0x20]
mov dword [edi + 0x60], eax
call esi
push str.ApplySalPolicy
push dword [edi + 0x20]
mov dword [edi + 0x64], eax
call esi
push str.SetSensorConfig
push dword [edi + 0x20]
mov dword [edi + 0x68], eax
call esi
push str.AREventResponse
push dword [edi + 0x20]
mov dword [edi + 0x6c], eax
call esi
push str.GetConfigParser
push dword [edi + 0x20]
mov dword [edi + 0x70], eax
call esi
push edi
mov dword [edi + 0x74], eax
call fcn.0059a61b
push edi
mov dword [edi + 0x18], eax
call fcn.0059aa72
add esp, 8
mov dword [edi + 0x1c], eax
mov al, 1
pop esi
pop edi
pop ebp
ret 4

Function at 0x544810
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x544866
mov ecx, dword [edi + 4]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x544870
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6ba394]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push eax
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00544920
add esp, 0x14
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x544904
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
mov dword [ebp - 0x214], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b168a
mov esp, ebp
pop ebp
ret 8

Function at 0x544b90
Capabilities:
Access the windows event log
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push edi
mov dword [ebp - 4], 0
push dword [esi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
test edi, edi
je 0x544be6
mov ecx, dword [esi + 4]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push 4
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x675ee4
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push 0x675f94
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str._CPEFR_Service_Starting__PID_d__Version_S
push str.CEFRService::OnStart
push 3
call fcn.00587c13
push 0
push 0
push esi
push 0x544c30
push 0
push 0
call fcn.005de265
add esp, 0x2c
mov dword [esi + 0x48], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x547aa0
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6ba394]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x547af1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.00547d40
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b168a
mov esp, ebp
pop ebp
ret
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x547b27
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.00547d40
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b168a
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x63f3e0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 1
push 3
push 0x10
push 4
push str.Check_Point_Forensics_Recorder
push str.CPEFR
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x547b68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateService_failed_w_err_0x_08lx_n
jmp 0x547b72
push str.CPEFR
push str._ws_is_installed._n
call fcn.00547d40
add esp, 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
test edi, edi
je 0x547b8a
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b168a
mov esp, ebp
pop ebp
ret
Function at 0x547ba0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6ba394]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
push 0
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x547c00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.00547d40
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b168a
mov esp, ebp
pop ebp
ret
push 0x10024
push str.CPEFR
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x547c28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed_w_err_0x_08lx_n
jmp 0x547cde
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x547cbb
push str.CPEFR
push str.Stopping__ws.
call fcn.00547d40
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
je 0x547c97
nop dword [eax]
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x547c9a
push 0x63db30
call fcn.00547d40
add esp, 4
push 0x3e8
call edi
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
jne 0x547c70
mov eax, dword [ebp - 0x1c]
push str.CPEFR
cmp eax, 1
jne 0x547cab
push str._n_ws_is_stopped._n
jmp 0x547cb0
push str._n_ws_failed_to_stop._n
call fcn.00547d40
mov ebx, dword [ebp - 0x24]
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x547cd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteService_failed_w_err_0x_08lx_n
jmp 0x547cde
push str.CPEFR
push str._ws_is_removed._n
call fcn.00547d40
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call edi
test esi, esi
je 0x547cf6
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b168a
mov esp, ebp
pop ebp
ret
Function at 0x5510f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b1b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x551137
mov edi, dword [ebx]
jmp 0x551139
mov edi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x55115a
mov ebx, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x551146
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
lea ecx, [esi + 4]
and eax, edx
mov dword [ebp - 0x18], ecx
lea edx, [eax*8]
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], edx
mov edi, dword [eax + edx]
cmp edi, dword [ecx]
jne 0x55117d
mov esi, dword [ecx]
jmp 0x551183
mov esi, dword [eax + edx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x55119c
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.00422bf0
test al, al
jne 0x5511e7
cmp esi, edi
jne 0x551187
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x5511c9
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
add ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
cmp ebx, dword [edx + 4]
mov ebx, dword [ebp + 0xc]
jne 0x551213
mov dword [ecx], edi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], edi
jmp 0x551235
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push eax
call fcn.005513b0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ecx], esi
jne 0x55121b
mov dword [ecx], edi
jmp 0x551235
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x551235
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.00551280
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc