joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407adb
Capabilities:
Get common file path

Disassembly:
jmp 0x4a92d0
push 0xffffffffffffffff
push 0x783738
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
mov ecx, 7
mov esi, str.KeepMyFamilySecureProxy.log
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea eax, [esp + 0x50]
push eax
push 0x104
mov dword [esp + 0x168], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x50]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a9350
sub eax, edx
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405920
lea eax, [esp + 0x34]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a9370
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
call fcn.004021c6
push 0x38
call fcn.005645f4
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 1
cmp eax, ebx
je 0x4a93ab
mov ecx, eax
call fcn.0054c3f0
jmp 0x4a93ad
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x164], bl
mov dword [ebp + 0x10], eax
call fcn.00549860
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.0054c540
cmp dword [esp + 0x30], 0x10
jb 0x4a93e1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00564155
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00564b24
add esp, 0x150
ret

Function at 0x407d6a
Capabilities:
Set registry value

Disassembly:
jmp 0x4cdf30
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x4cdf46
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4cdf53
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x407d83
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x4cb620
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x4cb633
push 0x80004005
call fcn.004025ae
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
je 0x4cb69a
mov ecx, dword [edi]
test ecx, ecx
jbe 0x4cb697
mov edx, dword [esp + 0x14]
test edx, edx
jbe 0x4cb692
cmp edx, 2
jbe 0x4cb68b
cmp edx, 7
jne 0x4cb692
cmp ecx, 1
jb 0x4cb692
cmp byte [ecx + esi - 1], 0
jne 0x4cb692
cmp ecx, 1
jbe 0x4cb69a
cmp byte [ecx + esi - 2], 0
jmp 0x4cb690
cmp byte [ecx + esi - 1], 0
je 0x4cb69a
mov eax, 0xd
mov byte [esi], 0
pop esi
pop edi
ret 0xc
Function at 0x407ed2
Capabilities:
Stop service

Disassembly:
jmp 0x4c57b0
push 0xffffffffffffffff
push 0x78593c
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
push 0x33
xor ebx, ebx
mov edi, 0xf
push str.ShutDownService___Trying_to_shutdown_service_status
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00405920
push ebx
lea eax, [esp + 0x18]
push eax
mov ecx, 0x868edc
mov dword [esp + 0x78], ebx
call fcn.0054c860
mov ebp, 0x10
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x2c], ebp
jb 0x4c582e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00564155
add esp, 4
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
cmp esi, ebx
jne 0x4c589f
push 0x28
push str.ShutDownService___Failed_getting_the_SCM
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00405920
push 1
lea edx, [esp + 0x18]
push edx
mov ecx, 0x868edc
mov dword [esp + 0x78], 1
call fcn.0054c860
cmp dword [esp + 0x2c], ebp
jb 0x4c5889
mov eax, dword [esp + 0x18]
push eax
call fcn.00564155
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov ecx, dword [esp + 0x78]
push 0x20
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
cmp edi, ebx
jne 0x4c591c
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x2c
push str.ShutDownService___Failed_getting_the_service
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00405920
push 1
lea edx, [esp + 0x34]
push edx
mov ecx, 0x868edc
mov dword [esp + 0x78], 2
call fcn.0054c860
cmp dword [esp + 0x48], ebp
jb 0x4c5889
mov eax, dword [esp + 0x34]
push eax
call fcn.00564155
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
lea ecx, [esp + 0x4c]
push ecx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, eax
call edi
push esi
call edi
cmp ebp, ebx
setne al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x40850d
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
jmp 0x4a4780
push 0xffffffffffffffff
push 0x782f92
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x20], edi
mov byte [edi + 4], bl
push 0xf0000020
push 1
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4a48ce
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4a48c5
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4a48bc
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4a48ae
xor esi, esi
jmp 0x4a4870
movzx edx, byte [esp + esi + 0x30]
push edx
lea eax, [esp + 0x28]
push 0x7b3778
push eax
call fcn.005670fb
lea eax, [esp + 0x30]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a4890
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.004021c6
inc esi
cmp esi, 0x10
jl 0x4a4870
jmp 0x4a48dc
push str.Error_getting_hash_param
mov ecx, edi
call fcn.00401b1d
jmp 0x4a48dc
push 0x12
push str.Error_hashing_data
jmp 0x4a48d5
push 0x13
push str.Error_creating_hash
jmp 0x4a48d5
push 0x17
push str.Error_acquiring_context
mov ecx, edi
call fcn.00405920
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00564b24
add esp, 0xb0
ret
Function at 0x408594
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x4d98b0
push ecx
push ebx
push ebp
push esi
mov ebp, ecx
xor ebx, ebx
push edi
lea edi, [ebp + 0x2c]
mov dword [esp + 0x10], ebx
cmp dword [edi], ebx
je 0x4d98ef
mov esi, dword [esp + 0x18]
push ebx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x7b9970
mov ecx, esi
mov word [esi + 4], ax
call fcn.00405ef2
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push edi
push ebx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x4d9932
push edi
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4d9932
mov esi, dword [esp + 0x18]
push str.Failed_to_get_token_
mov ecx, esi
call fcn.00403706
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push 0x10
call fcn.00563dd8
mov esi, eax
add esp, 4
lea ecx, [esi + 4]
push ecx
push str.SeDebugPrivilege
push ebx
mov dword [esi], 1
mov dword [esi + 0xc], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4d9982
push esi
call fcn.00565caa
mov esi, dword [esp + 0x1c]
add esp, 4
push str.Failed_to_lookup_SE_DEBUG_NAME_
mov ecx, esi
call fcn.00403706
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push 0x10
call fcn.00563dd8
add esp, 4
lea edx, [esp + 0x10]
push edx
push eax
push 0x10
push esi
mov dword [ebp + 0x30], eax
mov eax, dword [edi]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
push esi
setne bl
call fcn.00565caa
add esp, 4
test bl, bl
jne 0x4d99e1
mov ecx, dword [ebp + 0x30]
push ecx
call fcn.00565caa
mov esi, dword [esp + 0x1c]
add esp, 4
push str.Failed_to_AdjustTokenPrivileges_
mov ecx, esi
mov dword [ebp + 0x30], 0
call fcn.00403706
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x18]
push 0x7b9a3c
mov ecx, esi
call fcn.00403706
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x40860c
Capabilities:
Get common file path

Disassembly:
jmp 0x4ea490
push 0xffffffffffffffff
push 0x788829
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, dword [esp + 0x230]
mov ebx, dword [esp + 0x234]
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
lea ecx, [esp + 0x14]
push ecx
push 0x104
mov dword [esp + 0x230], eax
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x14]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ea520
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00405ef2
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.004019a1
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00564b24
add esp, 0x220
ret
Function at 0x40896d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4a1550
push 0xffffffffffffffff
push 0x782db0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x31], 0
mov ebx, dword [esp + 0x70]
mov ebp, ecx
jne 0x4a15a4
mov ecx, dword [ebx]
lea ecx, [ecx]
cmp dword [eax + 0xc], ecx
jae 0x4a159a
mov eax, dword [eax + 8]
jmp 0x4a159e
mov ebp, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], 0
je 0x4a1590
mov esi, dword [edi]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
test esi, esi
je 0x4a15b5
cmp esi, esi
je 0x4a15ba
call fcn.00565471
cmp ebp, dword [esp + 0x18]
je 0x4a15c7
mov ecx, dword [ebx]
cmp ecx, dword [ebp + 0xc]
jae 0x4a1632
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call fcn.00403094
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0
call fcn.00408a9e
lea eax, [esp + 0x3c]
push eax
push ebp
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x78], 1
call fcn.004080d0
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
call fcn.004039e5
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.004039e5
test esi, esi
jne 0x4a165e
call fcn.00565471
cmp ebp, dword [esi + 0x18]
jne 0x4a1645
call fcn.00565471
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
mov esi, dword [esi]
jmp 0x4a163b
Function at 0x4089b8
Capabilities:
Get common file path

Disassembly:
jmp 0x4a7e50
sub esp, 0x210
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x218]
mov dword [esp + 4], 0
mov word [esp + 8], ax
push 0x104
cmp byte [esp + 0x220], al
jne 0x4a7e96
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x4a7ee8
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 8]
add eax, 0xfffffffe
jmp 0x4a7eb0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a7eb0
mov ecx, dword [str.SysWOW64]
mov edx, dword [0x7b3904]
mov dword [eax], ecx
mov ecx, dword [0x7b3908]
mov dword [eax + 4], edx
mov edx, dword [0x7b390c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b3910]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
push esi
push edi
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a7ef1
mov edx, dword [0x7b3914]
mov dword [edi], edx
lea edi, [esp + 0x10]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a7f10
mov ecx, 0xf
mov esi, 0x7b3918
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], ax
lea eax, [esp + 0x10]
pop edi
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a7f47
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebp
call fcn.00405ef2
mov ecx, dword [esp + 0x210]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00564b24
add esp, 0x210
ret 8
Function at 0x408ac6
Capabilities:
Start service

Disassembly:
jmp 0x4fb080
push 0xffffffffffffffff
push 0x789f3c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x14], ebx
jne 0x4fb0dd
mov esi, dword [esp + 0x7c]
push 0x1b
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push str.CWFP::StartWFP___Wrong_data
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00405920
jmp 0x4fb2a4
push ebx
push edi
call fcn.00405d53
test al, al
je 0x4fb10b
mov esi, dword [esp + 0x7c]
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x7bb84b
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00405920
jmp 0x4fb2a4
push 2
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
cmp esi, ebx
jne 0x4fb130
mov esi, dword [esp + 0x7c]
push str.CWFP::StartWFP___Failed_to_open_SCM
mov ecx, esi
call fcn.004062df
jmp 0x4fb2a4
cmp dword [edi + 0x18], 8
jb 0x4fb13b
mov edi, dword [edi + 4]
jmp 0x4fb13e
add edi, 4
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
jne 0x4fb1b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esp + 0x34]
push edi
push eax
call fcn.004083af
add esp, 8
mov esi, eax
push str.CWFP::StartWFP___Failed_to_open_service_with_error:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], ebx
call fcn.004062df
push esi
mov esi, dword [esp + 0x80]
push eax
push esi
mov byte [esp + 0x80], 1
call fcn.00402fd1
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00402ed7
lea ecx, [esp + 0x34]
call fcn.00402ed7
jmp 0x4fb2a4
push ebx
push ebx
push edi
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x4fb1ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
cmp ebp, ebx
je 0x4fb22e
lea ecx, [esp + 0x18]
push ebp
push ecx
call fcn.004083af
add esp, 8
mov esi, eax
push str.CWFP::StartWFP___Failed_to_start_service_with_error
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 2
call fcn.004062df
push esi
mov esi, dword [esp + 0x80]
push eax
push esi
mov byte [esp + 0x80], 3
call fcn.00402fd1
add esp, 0xc
lea ecx, [esp + 0x34]
call fcn.00402ed7
lea ecx, [esp + 0x18]
call fcn.00402ed7
jmp 0x4fb2a4
mov eax, dword [esp + 0x84]
cmp eax, ebx
jne 0x4fb240
push 0x1388
jmp 0x4fb241
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xa0], esp
push str.CWFP::StartWFP
call fcn.004062df
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x98], 4
call fcn.00408a76
mov ecx, eax
mov dword [esp + 0x98], 0xffffffff
call fcn.00406cd5
mov esi, dword [esp + 0x7c]
push eax
push esi
mov dword [esp + 0x7c], 5
call fcn.00407662
add esp, 8
lea ecx, [esp + 0x50]
call fcn.00403a26
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0xc
Function at 0x408cb0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x4cb5c0
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp], 4
je 0x4cb5fd
mov eax, 0xd
add esp, 8
ret 8
Function at 0x424ea0
Capabilities:
Get common file path

Disassembly:
jmp 0x424ea0
push 0xffffffffffffffff
push 0x7780f8
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x14c]
push 0x104
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x34]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x424f00
mov cx, word [0x7ad5a0]
mov word [edi], cx
lea edi, [esp + 0x34]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x424f17
mov ecx, 7
mov esi, str.KeepMyFamilySecureProxy.ini
lea eax, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424f42
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405920
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x14c], ebx
call fcn.00406bef
add esp, 8
cmp dword [esp + 0x2c], 0x10
jb 0x424f83
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00564155
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00564b24
add esp, 0x134
ret 4
Function at 0x427f80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x427f80
push 0xffffffffffffffff
push 0x778835
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28c]
push 0x208
lea eax, [esp + 0x74]
xor ebx, ebx
push eax
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, 7
xor ecx, ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
xor edx, edx
mov dword [esp + 0x284], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
xor eax, eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x70]
mov byte [esp + 0x284], 1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x428021
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405ef2
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
mov edi, 1
push 0x5c
mov byte [esp + 0x294], 2
mov dword [esp + 0x28], edi
call fcn.00408233
add esp, 0x10
test al, al
je 0x428077
mov byte [esp + 0x17], bl
cmp dword [esp + 0x68], ebx
jne 0x42807c
mov byte [esp + 0x17], 1
mov dword [esp + 0x284], edi
mov edi, 8
cmp dword [esp + 0x34], edi
jb 0x42809b
mov edx, dword [esp + 0x20]
push edx
call fcn.00564155
add esp, 4
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
cmp byte [esp + 0x17], bl
je 0x4280e9
push ebx
xor eax, eax
push 0x7add58
mov ecx, esi
mov word [esi + 4], ax
call fcn.00405ef2
cmp dword [esp + 0x50], edi
jb 0x4280cd
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00564155
add esp, 4
xor edx, edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp dword [esp + 0x6c], edi
jb 0x428133
mov eax, dword [esp + 0x58]
push eax
jmp 0x42812b
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [esp + 0x5c]
mov word [esi + 4], cx
push edx
mov ecx, esi
call fcn.00406f1e
cmp dword [esp + 0x50], edi
jb 0x428111
mov eax, dword [esp + 0x3c]
push eax
call fcn.00564155
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
cmp dword [esp + 0x6c], edi
jb 0x428133
mov edx, dword [esp + 0x58]
push edx
call fcn.00564155
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00564b24
add esp, 0x274
ret