Function at 0x450830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
xor ecx, ecx
push edi
xor edi, edi
xor eax, eax
xor edx, edx
xor esi, esi
cmp dword [ebp + 0x1c], edi
mov ebx, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
je 0x45087c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push eax
push ecx
call fcn.00450770
add esp, 8
test eax, eax
jne 0x4508ec
cmp dword [0x54252c], edi
mov dword [esp + 0x10], 1
jne 0x4508b3
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x4508b3
push 0x42b
push str..win32.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [0x54252c]
push edx
push eax
push str._system32_netsh.exe
push ecx
push str._s_sc_interface_ip_delete__s__s_all
lea ecx, [esp + 0x34]
call fcn.0041c2c0
add esp, 0x14
push 2
lea edi, [esp + 0x24]
call fcn.00450610
mov ebx, dword [esp + 0x28]
add esp, 4
xor edi, edi
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
jle 0x450a7b
cmp dword [esp + 0x10], 0
jne 0x45096c
cmp dword [ebp + 0x1c], 0
je 0x45096c
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx + edi*4]
push edx
call fcn.004507e0
add esp, 4
test eax, eax
je 0x45096f
cmp dword [0x5426d0], 1
jb 0x450a67
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x450a67
mov eax, dword [ebx + edi*4]
push 0
push eax
lea eax, [esp + 0x14]
call fcn.004420a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
push 0x524208
push 1
call fcn.00408640
add esp, 0x1c
jmp 0x450a67
mov ebx, dword [ebp + 0xc]
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], str._s_sc_interface_ip_add__s__s__s
jne 0x450986
mov dword [esp + 0x18], str._s_sc_interface_ip_set__s__s_static__s
mov esi, dword [ebx + edi*4]
push 0x44
mov edi, 0x40
xor ebx, ebx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
je 0x450acc
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [esp + 0xc], eax
add eax, 4
xor ecx, ecx
push esi
mov byte [eax], bl
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x5103a4
lea esi, [esp + 0x38]
call fcn.00402ff0
mov eax, dword [esp + 0x44]
add esp, 8
test eax, eax
je 0x4509fb
cmp dword [esp + 0x38], ebx
jl 0x4509fb
mov edx, dword [esp + 0x34]
lea esi, [edx + eax]
jmp 0x4509fd
xor esi, esi
cmp dword [0x54252c], 0
jne 0x450a2d
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x450a2d
push 0x42b
push str..win32.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [0x54252c]
push esi
push eax
mov eax, dword [esp + 0x20]
push ecx
push str._system32_netsh.exe
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.0041c2c0
push 2
lea edi, [esp + 0x3c]
call fcn.00450610
mov edi, dword [esp + 0x38]
add esp, 0x1c
add dword [esp + 0x14], 1
add edi, 1
cmp edi, dword [ebp + 0x10]
mov dword [esp + 0x1c], edi
jl 0x4508fe
mov ebx, dword [esp + 0x24]
mov edi, dword [sym.imp.MSVCR80.dll_free]
xor esi, esi
test ebx, ebx
jbe 0x450a9b
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + esi*4]
push edx
call edi
add esi, 1
add esp, 4
cmp esi, ebx
jb 0x450a87
mov eax, dword [esp + 0x28]
push eax
call edi
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call edi
mov eax, dword [esp + 0x10]
add esp, 4
test eax, eax
je 0x450ac5
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x450ab7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp fcn.00408a80