Function at 0x450b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push ebx
push ebp
mov ebp, dword [esp + 0x88]
push esi
push edi
mov edi, dword [esp + 0x9c]
xor esi, esi
mov dword [esp + 0x18], eax
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
and edi, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], edi
je 0x450bdb
lea ebx, [esp + 0x14]
call fcn.0044f170
mov esi, eax
mov eax, ebp
call fcn.0044fc00
test esi, esi
je 0x450bce
cmp eax, 0xffffffff
je 0x450bce
lea ebx, [ebx]
cmp dword [esi + 0x19c], eax
je 0x450bd0
mov esi, dword [esi]
test esi, esi
jne 0x450bc0
xor esi, esi
lea ebx, [esp + 0x14]
call fcn.0044f270
mov ebx, eax
test byte [esp + 0x9c], 2
je 0x450cc2
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push ecx
push edx
mov ecx, esi
call fcn.0044f560
add esp, 8
test eax, eax
je 0x450c67
cmp dword [0x5426d0], 1
jb 0x450cc2
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x450cc2
mov eax, dword [esp + 0x98]
push 0
push eax
lea eax, [esp + 0x1c]
call fcn.004420a0
add esp, 8
push eax
push ecx
mov ecx, dword [esp + 0x9c]
push 0
push ecx
lea eax, [esp + 0x24]
call fcn.004420a0
add esp, 0xc
push eax
push ebp
push str.NETSH:___s___s__s__already_set_
push 1
call fcn.00408640
add esp, 0x14
jmp 0x450cc2
mov edx, dword [esp + 0x98]
push 0
push edx
lea eax, [esp + 0x1c]
call fcn.004420a0
add esp, 8
push eax
mov eax, dword [esp + 0x98]
push ecx
push 0
push eax
lea eax, [esp + 0x24]
call fcn.004420a0
add esp, 0xc
push eax
push ebp
push str._system32_netsh.exe
call fcn.00454050
push eax
push str._s_sc_interface_ip_set_address__s_static__s__s
lea ecx, [esp + 0x38]
call fcn.0041c2c0
push 4
lea edi, [esp + 0x3c]
call fcn.00450610
mov edi, dword [esp + 0x38]
add esp, 0x1c
test byte [esp + 0x9c], 4
je 0x450d91
xor eax, eax
test ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
je 0x450d2b
lea eax, [ebx + 0xc]
jmp 0x450d2d
xor eax, eax
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x38]
push edi
push ebp
push eax
push ecx
lea edx, [ebx + 0x28]
push edx
push 0x524278
call fcn.00450830
add esp, 0x18
test esi, esi
je 0x450d6f
cmp dword [esi + 0x224], 0
je 0x450d6f
lea ebx, [esi + 0x250]
lea ecx, [esi + 0x228]
lea eax, [esp + 0x30]
call fcn.00450ae0
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x4c]
push edi
neg esi
sbb esi, esi
push ebp
lea eax, [esp + 0x38]
and esi, eax
push esi
push ecx
add ebx, 0x3c
push ebx
push str.wins
call fcn.00450830
add esp, 0x18
lea esi, [esp + 0x20]
call fcn.0041bb40
mov eax, dword [esp + 0x14]
test eax, eax
je 0x450db6
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x450da8
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004dcaae
add esp, 0x78
ret