Function at 0x458b30
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5236cf
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x58], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x94], 0x80004005
mov dword [ebp - 0x28], 0x80004005
lea ecx, [ebp - 0x88]
call fcn.004703f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.004703f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004703f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004703f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004703f0
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
call fcn.0048ea00
mov byte [ebp - 4], 7
mov eax, dword [str.ROOTCIMV2]
mov dword [ebp - 0x70], eax
mov ecx, dword [0x536b3c]
mov dword [ebp - 0x6c], ecx
mov edx, dword [0x536b40]
mov dword [ebp - 0x68], edx
mov eax, dword [0x536b44]
mov dword [ebp - 0x64], eax
mov ecx, dword [0x536b48]
mov dword [ebp - 0x60], ecx
mov dx, word [0x536b4c]
mov word [ebp - 0x5c], dx
lea ecx, [ebp - 0x10]
call fcn.004457d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.004703f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004703f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.004703f0
mov byte [ebp - 4], 0xb
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.0045caf0
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0045caf0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x54]
call fcn.0048ea00
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x84]
call fcn.0048ea00
mov byte [ebp - 4], 0xf
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x88]
call fcn.00439b90
push eax
push 0x546f30
push 1
push 0
push 0x547000
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x458ccc
cmp dword [0x572594], 0
je 0x458cc7
int3
jmp 0x459a74
xor eax, eax
jne 0x458cb7
lea ecx, [ebp - 0x88]
call fcn.00471120
movzx ecx, al
test ecx, ecx
je 0x458cf1
cmp dword [0x572594], 0
je 0x458cec
int3
jmp 0x459a74
xor edx, edx
jne 0x458cd0
lea ecx, [ebp - 0x88]
call fcn.0046ade0
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x90]
call fcn.00439b90
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xac]
call fcn.0045c2e0
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xd4]
call fcn.0046ade0
push eax
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xac]
call fcn.0045c390
cmp dword [ebp - 0x28], 0
jge 0x458d8a
cmp dword [0x572594], 0
je 0x458d85
int3
jmp 0x459a74
xor eax, eax
jne 0x458d75
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
lea ecx, [ebp - 0x90]
call fcn.0046ade0
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x458dc6
cmp dword [0x572594], 0
je 0x458dc1
int3
jmp 0x459a74
xor ecx, ecx
jne 0x458db1
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push str.SELECT__FROM_Win32_NetworkAdapterConfiguration_WHERE_SettingID____s_
lea ecx, [ebp - 0x10]
push ecx
call fcn.00428670
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.0046ade0
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x24]
call fcn.00439b90
push eax
push 0
push 0x20
lea ecx, [ebp - 0x10]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0xb0]
call fcn.0045c2e0
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xe0]
call fcn.0046ade0
push eax
push 0x536be0
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xb0]
call fcn.0045c390
cmp dword [ebp - 0x28], 0
jge 0x458e75
cmp dword [0x572594], 0
je 0x458e70
int3
jmp 0x459a74
xor ecx, ecx
jne 0x458e60
lea ecx, [ebp - 0x24]
call fcn.0046ade0
mov dword [ebp - 0xe4], eax
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
call fcn.00439b90
push eax
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x458ebb
cmp dword [ebp - 0x14], 0
jae 0x458ec0
jmp 0x459a74
lea ecx, [ebp - 0x20]
call fcn.00471120
movzx ecx, al
test ecx, ecx
je 0x458ede
cmp dword [0x572594], 0
je 0x458ed9
int3
jmp 0x459a74
xor edx, edx
jne 0x458ec0
lea ecx, [ebp - 0x90]
call fcn.0046ade0
mov dword [ebp - 0xe8], eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.00439b90
push eax
push 0
push 0
push str.Win32_NetworkAdapterConfiguration
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x458f33
cmp dword [0x572594], 0
je 0x458f2e
int3
jmp 0x459a74
xor ecx, ecx
jne 0x458f1e
lea ecx, [ebp - 0x1c]
call fcn.00471120
movzx edx, al
test edx, edx
je 0x458f55
cmp dword [0x572594], 0
je 0x458f50
int3
jmp 0x459a74
xor eax, eax
jne 0x458f37
lea ecx, [ebp - 0x20]
call fcn.0046ade0
mov dword [ebp - 0xec], eax
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push str.__RELPATH
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x458fa2
cmp dword [0x572594], 0
je 0x458f9d
int3
jmp 0x459a74
xor eax, eax
jne 0x458f8d
lea ecx, [ebp + 0x1c]
call fcn.0045ce70
movzx ecx, al
test ecx, ecx
jne 0x459287
push 0
lea ecx, [ebp - 0x8c]
call fcn.0045d000
push 0
lea ecx, [ebp - 0x2c]
call fcn.0045d000
push 0
lea ecx, [ebp - 0x40]
call fcn.0045d000
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
mov dword [ebp - 0xf0], eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.00439b90
push eax
push 0
push 0x536c2c
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x459029
cmp dword [0x572594], 0
je 0x459024
int3
jmp 0x459a74
xor eax, eax
jne 0x459014
lea ecx, [ebp - 0x8c]
call fcn.0046ade0
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x2c]
call fcn.00439b90
push eax
push 0
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
call ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x459075
cmp dword [0x572594], 0
je 0x459070
int3
jmp 0x459a74
xor edx, edx
jne 0x459060
push 0
lea ecx, [ebp + 0x1c]
call fcn.004bfd60
push eax
lea ecx, [ebp - 0x9c]
call fcn.0045caf0
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xa0], 0
jmp 0x4590ae
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
lea ecx, [ebp + 0x1c]
call fcn.004bfd60
cmp dword [ebp - 0xa0], eax
jae 0x4590f0
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.004d1880
mov ecx, eax
call fcn.0046ade0
push eax
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x9c]
call fcn.0045cb60
mov ecx, eax
call fcn.0045c330
jmp 0x45909f
lea ecx, [ebp - 0x9c]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x54]
call fcn.0045c3d0
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
mov dword [ebp - 0xf8], eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0
push str.DNSServerSearchOrder
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x45915a
cmp dword [0x572594], 0
je 0x459146
int3
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9c]
call fcn.0045cb40
jmp 0x459a74
xor edx, edx
jne 0x459136
lea ecx, [ebp - 0x90]
call fcn.0046ade0
mov dword [ebp - 0xfc], eax
push 0
lea ecx, [ebp - 0x40]
call fcn.00439b90
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
push eax
push 0
push 0
push str.SetDNSServerSearchOrder
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
call ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x4591cb
cmp dword [0x572594], 0
je 0x4591b7
int3
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9c]
call fcn.0045cb40
jmp 0x459a74
xor edx, edx
jne 0x4591a7
lea ecx, [ebp - 0x40]
call fcn.0046ade0
mov dword [ebp - 0x100], eax
push 0
push 0
lea eax, [ebp - 0x84]
push eax
push 0
push 0x536cb8
lea ecx, [ebp - 0xb4]
call fcn.0045c2e0
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x108]
call fcn.0046ade0
push eax
mov edx, dword [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xb4]
call fcn.0045c390
mov eax, dword [ebp - 0x7c]
push eax
push str.DNS_return_d
call fcn.0044a070
add esp, 8
cmp dword [ebp - 0x28], 0
jl 0x45925f
cmp dword [ebp - 0x7c], 0
je 0x459273
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9c]
call fcn.0045cb40
jmp 0x459a74
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9c]
call fcn.0045cb40
jmp 0x459a6a
cmp dword [ebp + 0x18], 0
je 0x459480
lea ecx, [ebp - 0x90]
call fcn.0046ade0
mov dword [ebp - 0x10c], eax
push 0
lea ecx, [ebp - 0x40]
call fcn.00439b90
push eax
push 0
push 0
push 0
push 0x536cec
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x4592e8
cmp dword [0x572594], 0
je 0x4592e3
int3
jmp 0x459a74
xor eax, eax
jne 0x4592d3
lea ecx, [ebp - 0x40]
call fcn.0046ade0
mov dword [ebp - 0x110], eax
push 0
push 0
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0x536d04
lea ecx, [ebp - 0xb8]
call fcn.0045c2e0
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x118]
call fcn.0046ade0
push eax
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xb8]
call fcn.0045c390
mov ecx, dword [ebp - 0x7c]
push ecx
push str.DHCP_return_d
call fcn.0044a070
add esp, 8
cmp dword [ebp - 0x28], 0
jl 0x45937c
cmp dword [ebp - 0x7c], 0
je 0x459381
jmp 0x459a74
push 0
lea ecx, [ebp - 0x40]
call fcn.0045d000
lea ecx, [ebp - 0x90]
call fcn.0046ade0
mov dword [ebp - 0x11c], eax
push 0
lea ecx, [ebp - 0x40]
call fcn.00439b90
push eax
push 0
push 0
push 0
push str.RenewDHCPLease
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x4593e2
cmp dword [0x572594], 0
je 0x4593dd
int3
jmp 0x459a74
xor ecx, ecx
jne 0x4593cd
lea ecx, [ebp - 0x40]
call fcn.0046ade0
mov dword [ebp - 0x120], eax
push 0
push 0
lea edx, [ebp - 0x84]
push edx
push 0
push 0x536d5c
lea ecx, [ebp - 0xbc]
call fcn.0045c2e0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x128]
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xbc]
call fcn.0045c390
mov edx, dword [ebp - 0x7c]
push edx
push str.Renew_return_d
call fcn.0044a070
add esp, 8
cmp dword [ebp - 0x28], 0
jl 0x459476
cmp dword [ebp - 0x7c], 0
je 0x45947b
jmp 0x459a74
jmp 0x459a6a
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
mov dword [ebp - 0x12c], eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.00439b90
push eax
push 0
push 0x536d94
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x4594cf
cmp dword [0x572594], 0
je 0x4594ca
int3
jmp 0x459a74
xor ecx, ecx
jne 0x4594ba
lea ecx, [ebp - 0x8c]
call fcn.0046ade0
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x2c]
call fcn.00439b90
push eax
push 0
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x45951b
cmp dword [0x572594], 0
je 0x459516
int3
jmp 0x459a74
xor eax, eax
jne 0x459506
mov ecx, dword [ebp + 0xc]
call fcn.0046ade0
push eax
push 0
lea ecx, [ebp - 0x98]
call fcn.0045cb60
mov ecx, eax
call fcn.0045c330
mov ecx, dword [ebp + 0x10]
call fcn.0046ade0
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.0045cb60
mov ecx, eax
call fcn.0045c330
lea ecx, [ebp - 0x98]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x54]
call fcn.0045c3d0
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
mov dword [ebp - 0x134], eax
push 0
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0x536db0
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x4595b1
cmp dword [0x572594], 0
je 0x4595ac
int3
jmp 0x459a74
xor eax, eax
jne 0x45959c
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x54]
call fcn.0045c3d0
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
mov dword [ebp - 0x138], eax
push 0
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0x536dc4
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x45960d
cmp dword [0x572594], 0
je 0x459608
int3
jmp 0x459a74
xor eax, eax
jne 0x4595f8
lea ecx, [ebp - 0x90]
call fcn.0046ade0
mov dword [ebp - 0x13c], eax
push 0
lea ecx, [ebp - 0x40]
call fcn.00439b90
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
push eax
push 0
push 0
push str.EnableStatic
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x45966f
cmp dword [0x572594], 0
je 0x45966a
int3
jmp 0x459a74
xor eax, eax
jne 0x45965a
lea ecx, [ebp - 0x40]
call fcn.0046ade0
mov dword [ebp - 0x140], eax
push 0
push 0
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0x536df8
lea ecx, [ebp - 0xc0]
call fcn.0045c2e0
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x148]
call fcn.0046ade0
push eax
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc0]
call fcn.0045c390
mov ecx, dword [ebp - 0x7c]
push ecx
push str.ip_return_d
call fcn.0044a070
add esp, 8
cmp dword [ebp - 0x28], 0
jl 0x459703
cmp dword [ebp - 0x7c], 0
je 0x459708
jmp 0x459a74
lea ecx, [ebp + 0x14]
call fcn.00445980
movzx edx, al
test edx, edx
jne 0x459a6a
push 0
lea ecx, [ebp - 0x8c]
call fcn.0045d000
push 0
lea ecx, [ebp - 0x2c]
call fcn.0045d000
push 0
lea ecx, [ebp - 0x40]
call fcn.0045d000
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
mov dword [ebp - 0x14c], eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.00439b90
push eax
push 0
push 0x536e2c
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x45978b
cmp dword [0x572594], 0
je 0x459786
int3
jmp 0x459a74
xor ecx, ecx
jne 0x459776
lea ecx, [ebp - 0x8c]
call fcn.0046ade0
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x2c]
call fcn.00439b90
push eax
push 0
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x4597d7
cmp dword [0x572594], 0
je 0x4597d2
int3
jmp 0x459a74
xor eax, eax
jne 0x4597c2
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.0045caf0
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0x14]
call fcn.0046ade0
push eax
push 0
lea ecx, [ebp - 0xa8]
call fcn.0045cb60
mov ecx, eax
call fcn.0045c330
lea ecx, [ebp - 0xa8]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x54]
call fcn.0045c3d0
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
mov dword [ebp - 0x154], eax
push 0
lea ecx, [ebp - 0x54]
push ecx
push 0
push str.DefaultIPGateway
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x459875
cmp dword [0x572594], 0
je 0x459861
int3
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.0045cb40
jmp 0x459a74
xor eax, eax
jne 0x459851
push 0
push 1
lea ecx, [ebp - 0xa4]
call fcn.0045d090
mov byte [ebp - 4], 0x18
push 0
lea ecx, [ebp - 0xa4]
call fcn.0045cb60
mov dword [eax], 1
lea ecx, [ebp - 0xa4]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x54]
call fcn.0045c3d0
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
mov dword [ebp - 0x158], eax
push 0
lea ecx, [ebp - 0x54]
push ecx
push 0
push str.GatewayCostMetric
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x459918
cmp dword [0x572594], 0
je 0x4598f5
int3
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa4]
call fcn.0045cb40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.0045cb40
jmp 0x459a74
xor eax, eax
jne 0x4598e5
lea ecx, [ebp - 0x90]
call fcn.0046ade0
mov dword [ebp - 0x15c], eax
push 0
lea ecx, [ebp - 0x40]
call fcn.00439b90
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
push eax
push 0
push 0
push str.SetGateways
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x459998
cmp dword [0x572594], 0
je 0x459975
int3
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa4]
call fcn.0045cb40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.0045cb40
jmp 0x459a74
xor eax, eax
jne 0x459965
lea ecx, [ebp - 0x40]
call fcn.0046ade0
mov dword [ebp - 0x160], eax
push 0
push 0
lea ecx, [ebp - 0x84]
push ecx
push 0
push str.ReturnValue
lea ecx, [ebp - 0xc4]
call fcn.0045c2e0
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x168]
call fcn.0046ade0
push eax
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x160]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xc4]
call fcn.0045c390
mov ecx, dword [ebp - 0x7c]
push ecx
push str.gate_return_d
call fcn.0044a070
add esp, 8
cmp dword [ebp - 0x28], 0
jl 0x459a2c
cmp dword [ebp - 0x7c], 0
je 0x459a4c
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa4]
call fcn.0045cb40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.0045cb40
jmp 0x459a74
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa4]
call fcn.0045cb40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.0045cb40
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0
jge 0x459aa0
cmp dword [ebp - 0x28], 0
jge 0x459aa0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
push eax
push str.ChangeAdapterIPWithWMI_hr0x_x
call fcn.0044a070
add esp, 8
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x84]
call fcn.0045c3b0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x54]
call fcn.0045c3b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.0045cb40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x98]
call fcn.0045cb40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.004bfa60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004bfa60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.004bfa60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.004458f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.0045c3b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004bfa60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004bfa60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004bfa60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.004bfa60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004bfa60
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.0045cc90
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x58]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret