joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e590
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x44caa0], 0
je 0x40e5d7
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x44c374
lea ebx, [ebx]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40e5c2
push 0
push edi
push ebx
push eax
call dword [sym.imp.WSOCK32.dll_send]
add esi, 0x8c
cmp esi, 0x44c8ec
jne 0x40e5b0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x44c2f0]
call dword [sym.imp.WSOCK32.dll_send]
pop ebp
ret 8

Function at 0x40e720
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x449868]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [0x44c2f0]
call dword [sym.imp.WSOCK32.dll_recv]
mov esi, eax
cmp esi, 4
jl 0x40e874
cmp esi, 0x3ff
je 0x40e874
cmp esi, 0x400
jae 0x40e889
mov byte [ebp + esi - 0x408], 0
mov eax, dword [ebp - 0x408]
sub eax, 2
je 0x40e830
dec eax
je 0x40e81a
dec eax
jne 0x40e809
lea eax, [ebp - 0x404]
push eax
mov ecx, 0x44c250
call fcn.0040f200
cmp dword [0x44c260], 0x8c
jbe 0x40e809
sub esp, 8
lea eax, [ebp - 0x40c]
push eax
mov ecx, 0x44c250
mov byte [ebp - 0x40c], 0xa
call fcn.0040f320
cmp eax, 0xffffffff
jne 0x40e809
cmp dword [0x44c264], 0x10
mov eax, 0x44c250
cmovae eax, dword [0x44c250]
dec eax
cmp dword [0x44c264], 0x10
push eax
mov edx, 0x44c250
cmovae edx, dword [0x44c250]
push edx
lea eax, [ebp - 0x410]
push eax
mov ecx, 0x44c250
call fcn.0040f240
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041aca0
mov esp, ebp
pop ebp
ret
call fcn.0040f060
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041aca0
mov esp, ebp
pop ebp
ret
push 0x44ca88
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi - 4]
cmp eax, 0x10
jbe 0x40e858
mov ecx, dword [0x44c208]
lea eax, [ebp - 0x404]
push eax
lea ecx, [ecx + 0x14]
call fcn.00411680
push 0x44ca88
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041aca0
mov esp, ebp
pop ebp
ret
test esi, esi
jg 0x40e809
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0041aca0
mov esp, ebp
pop ebp
ret
call fcn.0041cf33
int3
Function at 0x40e890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x449868]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x449868]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
mov dword [esp + 0x30], 0
cmp byte [0x44caa0], 0
push 7
lea ecx, [esp + 0xc]
je 0x40e8f7
push 0x441b5c
jmp 0x40e8fc
push 0x441b64
call fcn.004018a0
cmp byte [0x44c268], 0
jne 0x40e90e
xor ecx, ecx
jmp 0x40e91f
mov ecx, 0x44c268
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e916
sub ecx, edx
push ecx
push 0x44c268
lea ecx, [esp + 0x10]
call fcn.0040f400
push 0x14
push str._:_j
lea ecx, [esp + 0x10]
call fcn.0040f400
cmp dword [esp + 0x1c], 0x10
mov eax, dword [0x44c144]
lea edx, [esp + 8]
cmovae edx, dword [esp + 8]
mov ecx, dword [eax]
push edx
push 0x1b
push eax
call dword [ecx + 0x30]
cmp dword [esp + 0x1c], 0x10
jb 0x40e96d
push dword [esp + 8]
call fcn.0041b458
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041aca0
mov esp, ebp
pop ebp
ret

Function at 0x4101c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4371c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x449868]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov byte [esi + 0x18], 0
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x1c]
mov byte [ebp - 4], 1
push dword [ebp + 0x18]
mov dword [esi + 0x30], 0
push dword [ebp + 0x14]
mov dword [esi + 0x34], 0
mov eax, dword [ecx]
push dword [ebp + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 4]
push dword [ebp + 8]
mov dword [esi + 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x40], eax
mov eax, dword [ecx + 0xc]
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.00410270
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42cd28
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x449868]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041fe99
mov dword [ebp - 0x14], eax
cmp dword [0x44c0c8], edi
jne 0x42ce19
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x42cda6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42cef9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42cef9
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42cef9
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x44c0c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x44c0cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x44c0d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44c0d8], eax
test eax, eax
je 0x42ce16
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44c0d4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42ce3e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42ce31
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42ce53
push 4
pop eax
jmp 0x42cefb
cmp dword [ebp - 0x14], edi
je 0x42ce53
push dword [0x44c0c8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42ce38
mov eax, dword [0x44c0d4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x42ceb1
cmp dword [0x44c0d8], esi
je 0x42ceb1
push eax
call ebx
push dword [0x44c0d8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42ceb1
test eax, eax
je 0x42ceb1
call ecx
test eax, eax
je 0x42cea6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42cea6
test byte [ebp - 8], 1
jne 0x42ceb1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42cee1
mov eax, dword [0x44c0cc]
cmp eax, esi
je 0x42cede
push eax
call ebx
test eax, eax
je 0x42cede
call eax
mov edi, eax
test edi, edi
je 0x42cede
mov eax, dword [0x44c0d0]
cmp eax, esi
je 0x42cede
push eax
call ebx
test eax, eax
je 0x42cede
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x44c0c8]
call ebx
test eax, eax
je 0x42cef9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42cefb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041aca0
leave
ret
Function at 0x430cd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004265d0
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x430d08
xor eax, eax
jmp 0x430d34
cmp esi, dword [ebp - 4]
je 0x430d31
cmp dword [ebp + 0xc], 0
je 0x430d31
push dword [edi + 0x9c]
call fcn.004308de
push dword [edi + 0x9c]
mov esi, eax
call fcn.0042020a
pop ecx
pop ecx
cmp esi, eax
je 0x430d04
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x4010d6
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x428646
call fcn.00416f1d
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, esi
jl 0x40114c
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.004013c3
mov eax, dword [edi]
push esi
push 1
push 0x64
push edi
call dword [eax + 0x20]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x20006
push ebx
push esi
mov dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.AppID
push SysReAllocString
mov dword [ebp - 0x10], esi
call edi
cmp eax, esi
jne 0x401140
lea ecx, [ebp - 0x14]
call fcn.0040712c
cmp eax, esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
je 0x401154
mov edi, eax
lea ecx, [ebp - 0x14]
call fcn.0040712c
mov eax, edi
call fcn.00416ff5
ret 8
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push str.A3CD040A_E706_4836_B7D3_3B364C7BD9F8
mov byte [ebp - 4], 1
push ecx
mov dword [ebp - 0x18], esi
call edi
mov edi, eax
cmp edi, esi
jne 0x401186
lea ecx, [ebp - 0x10]
call fcn.0040712c
mov edi, eax
cmp edi, esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
je 0x401190
lea ecx, [ebp - 0x10]
call fcn.0040712c
jmp 0x401142
mov edi, str.LocalService
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 0xc], esi
je 0x4011cc
push edi
push 0x44f72c
lea eax, [ebp - 0x10]
push eax
call fcn.00408ae8
push str.ServiceParameters
push str._Service
lea eax, [ebp - 0x10]
push eax
call fcn.00408ae8
mov ecx, dword [ebp + 8]
call fcn.00401303
mov eax, dword [ebp + 8]
call fcn.00408926
mov edi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x401186

Function at 0x401303
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x458b30]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
push edi
call fcn.004012c1
test eax, eax
je 0x40132b
xor eax, eax
inc eax
jmp 0x4013b6
push ebx
push esi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
jne 0x40134e
push esi
add edi, 0x30
push edi
push str._PCFILTER__Couldnt_open_service_manager
jmp 0x40139a
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push str.RPCSS
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push 1
push 2
push 0x10
push 0xf01ff
add edi, 0x30
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, esi
jne 0x4013a5
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
push edi
push str._PCFILTER__Couldnt_create_service
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4013b4
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push ebx
call esi
xor eax, eax
inc eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00414511
leave
ret
Function at 0x4013c3
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push esi
mov esi, eax
push esi
call fcn.004012c1
test eax, eax
jne 0x4013d9
inc eax
jmp 0x40146e
push ebp
push edi
push 0xf003f
xor ebp, ebp
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebp
jne 0x401405
push ebp
add esi, 0x30
push esi
push str._PCFILTER__Couldnt_open_service_manager
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x40146c
push ebx
push 0x10020
lea ebx, [esi + 0x30]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebp
jne 0x40142d
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
push ebx
push str._PCFILTER__Couldnt_open_service
push ebp
jmp 0x401463
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, eax
call esi
push edi
call esi
test ebp, ebp
je 0x401459
xor eax, eax
inc eax
jmp 0x40146b
push 0
push ebx
push str._PCFILTER__Service_could_not_be_deleted
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x1c
ret

Function at 0x401473
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x458b30]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push eax
mov esi, ecx
call fcn.00413d6d
xor edi, edi
add esp, 0xc
cmp dword [esi + 0x254], edi
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
je 0x4014e7
add esi, 0x30
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, edi
je 0x4014f4
push edi
lea eax, [ebp - 0x208]
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4014f4
lea eax, [ebp - 0x204]
push eax
call fcn.00414607
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00414511
leave
ret

Function at 0x4015dc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x458b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x22c
push esi
xor ebx, ebx
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.004149e0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], esi
call sub.KERNEL32.dll_Process32FirstW
mov esi, dword [ebp + 8]
jmp 0x40164c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00414e1c
test eax, eax
pop ecx
pop ecx
je 0x401652
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40162c
jmp 0x401655
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00407a4b
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00414511
leave
ret
Function at 0x401675
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x458b30]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, dword [ebp + 0x1bc]
push ebx
push esi
mov esi, 0x22c
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004149e0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x7c]
push eax
push ebx
mov dword [ebp - 0x7c], esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4016e5
push dword [ebp - 0x80]
lea eax, [ebp - 0x58]
push eax
call fcn.00414e1c
test eax, eax
pop ecx
pop ecx
je 0x4016eb
lea eax, [ebp - 0x7c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4016c9
jmp 0x40170d
push dword [ebp - 0x74]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x1b0]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00414511
add ebp, 0x1b4
leave
ret
Function at 0x401727
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428b38
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x458b30]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x458b30]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor esi, esi
push 0x206
lea eax, [esp + 0x2a]
push esi
push eax
mov word [esp + 0x30], si
call fcn.004149e0
add esp, 0xc
push esi
push 0x26
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.JiransoftPCFILTERPCFILTERTray.exe
lea ecx, [esp + 0x20]
call fcn.00408bec
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
xor edi, edi
push ecx
inc edi
mov ecx, eax
mov dword [esp + 0x248], edi
call fcn.0040482c
pop ecx
pop ecx
mov byte [esp + 0x240], 3
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00407a4b
mov dword [esp + 0x14], esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.PCFILTERTray.exe
call fcn.00408bec
call fcn.004015dc
cmp eax, esi
pop ecx
jne 0x401867
call fcn.00403785
xor ebx, ebx
push edi
push str.start
push dword [esp + 0x18]
call fcn.0040285d
test eax, eax
jne 0x40181b
push 0x1f4
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 5
jl 0x4017f5
jmp 0x401867
call fcn.0040ac1e
push eax
lea ecx, [esp + 0x1c]
call fcn.00407a65
lea eax, [esp + 0x18]
push str._PCFILTER__PCFILTERService_:_Run__First_PCFILTERTray
push eax
mov byte [esp + 0x248], 4
call fcn.004082f5
mov ebx, dword [esp + 0x20]
push ebx
mov ecx, 0x45d688
call fcn.00401473
add esp, 0xc
lea ecx, [ebx - 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x240], 3
call fcn.00407a4b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x14], esi
je 0x4017d3
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
mov dword [0x45d62c], esi
call fcn.00407a4b
mov eax, edi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00414511
mov esp, ebp
pop ebp
ret
Function at 0x4025d6
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x428569
call fcn.00416f1d
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.004082d7
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x402673
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
push 0
lea ecx, [ebp - 0x10]
call fcn.004081ca
lea ecx, [esi + esi]
push ecx
push eax
xor esi, esi
inc esi
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00407a4b
lea ecx, [edi - 0x10]
call fcn.00407a4b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00407a4b
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00407a4b
mov eax, esi
call fcn.00416ff5
ret 0xc
xor esi, esi
jmp 0x402640

Function at 0x402677
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4026d0
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
lea ecx, [edi - 0x10]
call fcn.00407a4b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00407a4b
pop edi
mov eax, esi
pop esi
pop ebp
ret 0xc
xor esi, esi
jmp 0x4026b5
Function at 0x4026d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x458b30]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x42860e
call fcn.00416f1d
lea eax, [ebp + 0x21c]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.004082d7
xor edi, edi
push 0x206
lea eax, [ebp + 2]
push edi
mov byte [ebp - 4], 3
push eax
mov word [ebp], di
call fcn.004149e0
mov esi, dword [ebp + 0x214]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40278e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0x218]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402777
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004081a5
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0040802d
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00407a4b
lea ecx, [esi - 0x10]
call fcn.00407a4b
mov ecx, dword [ebp + 0x218]
add ecx, 0xfffffff0
call fcn.00407a4b
mov ecx, dword [ebp + 0x21c]
add ecx, 0xfffffff0
call fcn.00407a4b
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00414511
add ebp, 0x20c
leave
ret 0xc

Function at 0x4027e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x402859
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40282d
mov esi, dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor esi, esi
inc esi
lea ecx, [edi - 0x10]
call fcn.00407a4b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00407a4b
pop edi
mov eax, esi
pop esi
leave
ret 0xc
xor esi, esi
jmp 0x40283e
Function at 0x403bf9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x458b30]
xor eax, ebp
mov dword [ebp + 0x98], eax
push esi
push edi
mov esi, 0x114
push esi
xor edi, edi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.004149e0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
cmp dword [ebp - 0x78], 6
jne 0x403c4e
push str.Kernel32.dll
inc esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
or dword [ebp - 0x80], 0xffffffff
test esi, esi
je 0x403c78
test edi, edi
je 0x403c93
push 0x45099c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403c88
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0xa4]
call eax
jmp 0x403c88
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xa4]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test edi, edi
je 0x403c93
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 0x98]
mov eax, dword [ebp - 0x80]
pop edi
xor ecx, ebp
pop esi
call fcn.00414511
add ebp, 0x9c
leave
ret 4