Function at 0x418450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7a79
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x3ac]
mov ecx, pe_nt_image_headers32
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4d8ed4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov word [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4f0f44
call fcn.0044cb00
lea ecx, [ebp - 0x50]
call fcn.0041a620
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3a0]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00419680
mov dword [ebp - 0x3a8], eax
mov edx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3ac], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x50]
call fcn.00417870
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a0]
call fcn.00417830
lea eax, [ebp - 0x380]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00418db0
mov dword [ebp - 0x3a8], eax
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3ac], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3ac]
push edx
lea ecx, [ebp - 0x50]
call fcn.0041a850
mov byte [ebp - 0x389], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x380]
call fcn.00417830
movzx eax, byte [ebp - 0x389]
test eax, eax
je 0x4186b6
lea ecx, [ebp - 0x50]
call fcn.0041a670
movzx eax, word [eax + 0x24]
cmp eax, 1
jl 0x41866e
lea ecx, [ebp - 0x50]
call fcn.0041a670
cmp dword [eax + 0x28], 0
jne 0x418648
push 0x200
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.0045ea40
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push str._c_netsh_ipsec_static_add_filter_filterlist
lea ecx, [ebp - 0x258]
push ecx
call fcn.0045e190
add esp, 0xc
mov esi, esp
push 0
push 0
lea eax, [ebp - 0x258]
push eax
push str.cmd.exe
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, esp
call fcn.0045dfa0
push 0x200
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.0045ea40
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push 0x4bd248
lea ecx, [ebp - 0x258]
push ecx
call fcn.0045e190
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0xff
push 4
push 0x4ec460
call fcn.004487b0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0041a670
mov dword [eax + 0x28], 1
mov dword [ebp - 0x36c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00417830
mov eax, dword [ebp - 0x36c]
jmp 0x41872f
lea ecx, [ebp - 0x50]
call fcn.0041a670
add eax, 0x24
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x3a8]
mov cx, word [eax]
add cx, 1
mov edx, dword [ebp - 0x3a8]
mov word [edx], cx
mov dword [ebp - 0x360], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00417830
mov eax, dword [ebp - 0x360]
jmp 0x41872f
lea ecx, [ebp - 0x288]
call fcn.004187d0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x288]
call fcn.00422690
mov word [ebp - 0x268], 1
mov dword [ebp - 0x264], 0
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00418a50
mov ecx, eax
call fcn.00418860
mov dword [ebp - 0x354], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00418820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00417830
mov eax, dword [ebp - 0x354]
push edx
mov ecx, ebp
push eax
lea edx, [0x41876c]
call fcn.0045dfd0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e500
add esp, 0x3ac
cmp ebp, esp
call fcn.0045dfa0
mov esp, ebp
pop ebp
ret 4