Function at 0x439870
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x258
push ebx
xor ebx, ebx
lea eax, [esp + 4]
push ebx
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SYSTEMCurrentControlSetServicesTPacket
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x439a9d
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x439a9d
mov ecx, 1
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push ebx
push 0x65b600
push eax
mov dword [esp + 0x2c], ebx
call ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push ebx
push 0x65b608
push eax
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push ebx
push 0x65b610
push edx
call ebp
mov ecx, dword [0x65b81c]
mov eax, dword [str.Extended_Base]
mov dword [esp + 0x34], ecx
mov edx, dword [0x65b820]
mov ecx, 7
mov esi, str.System32Drivers_tpacket.sys
lea edi, [esp + 0x40]
mov dword [esp + 0x30], eax
mov ax, word [0x65b824]
mov dword [esp + 0x38], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.TPacket_Driver]
mov edx, dword [0x65b7ec]
mov word [esp + 0x3c], ax
mov eax, dword [0x65b7f0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
mov cx, word [0x65b7f4]
lea eax, [esp + 0x30]
push 0xe
push eax
mov word [esp + 0x34], cx
mov ecx, dword [esp + 0x18]
push 1
mov dword [esp + 0x30], edx
mov dl, byte [0x65b7f6]
push ebx
push 0x65b620
push ecx
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x46], dl
call ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x40]
push 0x1d
push edx
push 2
push ebx
push 0x65b628
push eax
call ebp
lea ecx, [esp + 0x20]
push 0xf
push ecx
push 1
push ebx
push 0x65b634
mov edx, dword [esp + 0x24]
push edx
call ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x165]
mov byte [esp + 0x164], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, str.NDIS_Wrapper
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x164]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.NDIS
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x164]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x60]
mov esi, ecx
or ecx, 0xffffffff
add esi, 2
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
lea ecx, [esp + 0x64]
push ecx
push 7
push ebx
push 0x65b640
push edx
call ebp
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x164]
push esi
push eax
push 7
push ebx
push 0x65b650
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x258
ret
xor eax, eax
pop ebx
add esp, 0x258
ret