Function at 0x409081
Capabilities:
Reference 114dns dns server
Reference alidns dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004f1a09
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x5b3c76
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
push 1
push 0xffffffffffffffff
push 6
push 0x161413b3
push 0x52010001
call fcn.004f1a33
add esp, 0x18
push 0
push 0x5b4008
push 0xffffffffffffffff
push 0xa
push 0x161413b3
push 0x52010001
call fcn.004f1a33
add esp, 0x18
mov dword [0x6e3750], 1
mov ebx, dword [0x6e3714]
add ebx, 0x1c
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 1
mov ebx, 0x4f41a0
call fcn.004f1a15
add esp, 0x10
mov dword [ebp - 0x24], eax
push str.___audio_1___cleanmode_1
push dword [ebp - 0x24]
push str.dnconsole.exe_globalsetting___fps
mov ecx, 3
call fcn.004010fa
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40916d
push ebx
call fcn.004f1a0f
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x28]
push eax
call fcn.0040a209
mov ebx, eax
test ebx, ebx
je 0x4091b7
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4091c7
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4091d7
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4091e7
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 3
mov eax, 0x5b404b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.cloneFromSmallDisk
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0xffffffff
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409220
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409230
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 3
mov eax, 0x5b4063
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.windowsAlignType
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0xffffffff
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409269
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409279
push ebx
call fcn.004f1a0f
add esp, 4
mov eax, dword [0x6e3728]
cmp dword [0x6e3710], eax
jge 0x4095e0
fild dword [0x6e3710]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x5b3bfa]
fstp qword [ebp - 0x2c]
push 0x80000601
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
mov ebx, 0x4f41a0
call fcn.004f1a15
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x5b407a
mov ecx, 2
call fcn.004010fa
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4092e7
push ebx
call fcn.004f1a0f
add esp, 4
push 0x10
push 0x186a0
lea eax, [ebp - 0x34]
push eax
mov eax, 0x5b4085
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00415e98
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x409316
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x409326
push ebx
call fcn.004f1a0f
add esp, 4
push 0x5b4098
push dword [0x6e3754]
mov ecx, 2
call fcn.004010fa
add esp, 8
mov dword [ebp - 0x20], eax
push 0
mov ebx, 0x4f2080
call fcn.004f1a15
add esp, 4
mov dword [ebp - 0x24], eax
push 0
mov ebx, 0x4f2080
call fcn.004f1a15
add esp, 4
mov dword [ebp - 0x28], eax
push str..exe_r_nDel__0_r_nExit
push dword [0x6e3758]
push dword [0x6e3754]
push str..exe_r_n_ping_127.0.0.1__n_5__nul_r_nstart
push dword [0x6e3758]
push dword [0x6e3754]
push str..exe_r_n_ping_127.0.0.1__n_5__nul_r_nstart
push dword [0x6e3758]
push dword [0x6e3754]
push str._r_n_ping_127.0.0.1__n_5__nul_r_nstart
push dword [ebp - 0x28]
push str._r_n_ping_127.0.0.1__n_5__nul_r_nTaskkill___f__im
push dword [ebp - 0x24]
push str._echo_off_r_n_ping_127.0.0.1__n_5__nul_r_nTaskkill___f__im
mov ecx, 0xe
call fcn.004010fa
add esp, 0x38
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4093d3
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4093e3
push ebx
call fcn.004f1a0f
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4093f6
mov eax, 0x5b3a7c
push eax
push 1
mov ebx, 0x4f3460
call fcn.004f1a15
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40941c
push ebx
call fcn.004f1a0f
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40942f
mov eax, 0x5b3c76
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x409443
mov eax, 0x5b3a7c
push eax
push 2
mov ebx, 0x4f4e50
call fcn.004f1a15
add esp, 0x1c
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409466
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x409476
push ebx
call fcn.004f1a0f
add esp, 4
push 0x5b4098
push dword [0x6e3754]
mov ecx, 2
call fcn.004010fa
add esp, 8
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4094bc
mov eax, 0x5b3a7c
push eax
push 3
mov ebx, 0x4f1f00
call fcn.004f1a15
add esp, 0x28
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4094df
push ebx
call fcn.004f1a0f
add esp, 4
push 0
call fcn.004f1a3f
add esp, 4
push 0x80000301
push 0
push dword [0x6e3710]
push 1
mov ebx, 0x4f41a0
call fcn.004f1a15
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [0x6e3728]
push 1
mov ebx, 0x4f41a0
call fcn.004f1a15
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x5b3ebf
push dword [ebp - 0x20]
push 0x5b4167
mov ecx, 4
call fcn.004010fa
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40955d
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40956d
push ebx
call fcn.004f1a0f
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x409580
mov eax, 0x5b3a7c
push eax
push 0x80000301
push 0
push 0
push 0x40002
push 0x160131c4
push 0x52010001
push 3
mov eax, 3
mov ebx, 0x55ba50
call fcn.004f1a2d
add esp, 0x28
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4095c3
push ebx
call fcn.004f1a0f
add esp, 4
push 0
mov ebx, 0x4f5c00
call fcn.004f1a15
add esp, 4
inc dword [0x6e3710]
jmp 0x409279
push 1
mov eax, str.networkSettings.networkSwitching
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.00415f19
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40960b
push ebx
call fcn.004f1a0f
add esp, 4
push 0x5b3b96
push dword [ebp - 0x24]
call fcn.00401a62
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409639
push ebx
call fcn.004f1a0f
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x409e6a
push 1
mov eax, str.networkSettings.networkAddress
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.00415f19
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40966e
push ebx
call fcn.004f1a0f
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409682
push ebx
call fcn.004f1a0f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
mov eax, str.networkSettings.networkGateway
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.00415f19
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4096b1
push ebx
call fcn.004f1a0f
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4096c5
push ebx
call fcn.004f1a0f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
mov eax, str.networkSettings.networkSubnetMask
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.00415f19
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4096f4
push ebx
call fcn.004f1a0f
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409708
push ebx
call fcn.004f1a0f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x5b41fb
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x409731
mov eax, 0x5b3a7c
push eax
push 3
mov ebx, 0x4f32d0
call fcn.004f1a15
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409769
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x409765
imul eax, dword [ebx]
jmp 0x40975a
mov ecx, eax
test ecx, ecx
je 0x409788
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x409781
push ebx
push eax
call fcn.004f1a0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40976f
call fcn.004f1a0f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
mov eax, dword [0x6e3710]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x409e62
mov ebx, dword [ebp - 0x10]
call fcn.00401aff
mov eax, 0
cmp eax, ecx
jl 0x4097df
push 0x85b
push 0x401fb5e
push 1
call fcn.004f1a1b
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401aff
mov eax, 1
cmp eax, ecx
jl 0x40980f
push 0x85b
push 0x401fb5e
push 1
call fcn.004f1a1b
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401aff
mov eax, 2
cmp eax, ecx
jl 0x40983f
push 0x85b
push 0x401fb5e
push 1
call fcn.004f1a1b
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401aff
mov eax, 3
cmp eax, ecx
jl 0x40986f
push 0x8df
push 0x401fb5e
push 1
call fcn.004f1a1b
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40988c
mov eax, 0x5b3a7c
push eax
push 1
mov ebx, 0x4f2b90
call fcn.004f1a15
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [0x5b3bfa]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x4f41a0
call fcn.004f1a15
add esp, 0x10
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 0x5b41fb
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5b41fb
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x5b41fb
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ecx, 7
call fcn.004010fa
add esp, 0x1c
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x409924
push ebx
call fcn.004f1a0f
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409938
push ebx
call fcn.004f1a0f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 1
mov eax, str.networkSettings.networkSwitching
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.00415f19
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409965
push ebx
call fcn.004f1a0f
add esp, 4
push 0x5b3b96
push dword [ebp - 0x24]
call fcn.00401a62
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409993
push ebx
call fcn.004f1a0f
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x409c7a
push 1
mov eax, str.networkSettings.networkAddress
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.00415f19
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4099c6
push ebx
call fcn.004f1a0f
add esp, 4
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0x14]
call fcn.00403176
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4099e4
push ebx
call fcn.004f1a0f
add esp, 4
push 1
mov eax, str.networkSettings.networkAddress
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.00415f19
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409a0d
push ebx
call fcn.004f1a0f
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x24]
call fcn.00401a62
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409a3a
push ebx
call fcn.004f1a0f
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x409c4f
push 1
push 1
push 1
push dword [ebp - 0x14]
call fcn.004161e6
mov eax, 0x5b41fd
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp - 0x1c]
call fcn.00403176
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409a7b
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, str.networkSettings.networkAddress
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409aaa
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
lea eax, [ebp - 8]
push eax
mov eax, str.networkSettings.networkGateway
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409ad9
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, str.networkSettings.networkSubnetMask
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409b08
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
mov eax, str.114.114.114.114
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkDNS1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409b3f
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409b4f
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
mov eax, str.223.5.5.5
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkDNS2
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409b86
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409b96
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 3
mov eax, 0x5b404b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkStatic
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409bcd
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409bdd
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 3
mov eax, 0x5b404b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkSwitching
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409c14
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409c24
push ebx
call fcn.004f1a0f
add esp, 4
mov eax, 0x5b427c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp - 0x14]
call fcn.00403176
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409c4a
push ebx
call fcn.004f1a0f
add esp, 4
jmp 0x409c75
mov eax, 0x5b4281
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp - 0x14]
call fcn.00403176
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409c75
push ebx
call fcn.004f1a0f
add esp, 4
jmp 0x409e5a
push 1
push 2
push 1
push dword [ebp - 0x14]
call fcn.004161e6
mov eax, 0x5b4286
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp - 0x1c]
call fcn.00403176
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409cb1
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, str.networkSettings.networkAddress
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409ce0
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
lea eax, [ebp - 8]
push eax
mov eax, str.networkSettings.networkGateway
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409d0f
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, str.networkSettings.networkSubnetMask
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409d3e
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
mov eax, str.114.114.114.114
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkDNS1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409d75
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409d85
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 4
mov eax, str.223.5.5.5
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkDNS2
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409dbc
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409dcc
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 3
mov eax, 0x5b404b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkStatic
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409e03
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409e13
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 3
mov eax, 0x5b404b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkSwitching
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409e4a
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409e5a
push ebx
call fcn.004f1a0f
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x4097a9
add esp, 0xc
jmp 0x409f70
mov eax, dword [0x6e3710]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x409f6d
push 1
mov eax, str.networkSettings.networkSwitching
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call fcn.00415f19
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409eaf
push ebx
call fcn.004f1a0f
add esp, 4
push 0x5b3b96
push dword [ebp - 0x24]
call fcn.00401a62
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409edd
push ebx
call fcn.004f1a0f
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x409f65
push 1
push 3
push 1
push dword [ebp - 0x14]
call fcn.004161e6
mov eax, 0x5b4286
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp - 0x1c]
call fcn.00403176
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409f1e
push ebx
call fcn.004f1a0f
add esp, 4
push 1
push 3
mov eax, 0x5b4063
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.networkSettings.networkSwitching
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0040bcd9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409f55
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409f65
push ebx
call fcn.004f1a0f
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x409e78
add esp, 0xc
push 1
call fcn.00417938
mov ebx, dword [0x6e3714]
add ebx, 0x20
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0
push 0
push 0x5b4292
push 0xffffffffffffffff
push 0xa
push 0x161413b2
push 0x52010001
call fcn.004f1a33
add esp, 0x18
mov ebx, dword [0x6e3714]
add ebx, 0x30
mov dword [ebp - 0x20], ebx
mov eax, 0x5b429b
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409fd0
push ebx
call fcn.004f1a0f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [0x6e3710]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40a17d
mov ebx, dword [0x6e371c]
call fcn.00401aff
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40a01c
push 0x1248
push 0x401fb5e
push 4
call fcn.004f1a1b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a039
push 0x1248
push 0x401fb5e
push 1
call fcn.004f1a1b
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0
mov ebx, dword [0x6e371c]
call fcn.00401aff
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40a079
push 0x1277
push 0x401fb5e
push 4
call fcn.004f1a1b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a096
push 0x1277
push 0x401fb5e
push 1
call fcn.004f1a1b
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
mov ebx, dword [0x6e371c]
call fcn.00401aff
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40a0ca
push 0x12a0
push 0x401fb5e
push 4
call fcn.004f1a1b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a0e7
push 0x12a0
push 0x401fb5e
push 1
call fcn.004f1a1b
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x24], ebx
push 1
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x1c]
push 0x43cce8
call fcn.0041b341
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [0x6e371c]
call fcn.00401aff
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40a137
push 0x12d7
push 0x401fb5e
push 4
call fcn.004f1a1b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a154
push 0x12d7
push 0x401fb5e
push 1
call fcn.004f1a1b
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x20], ebx
push 1
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x1c]
push 0x43dcf7
call fcn.0041b341
pop eax
pop ebx
pop ecx
jmp 0x409fe4
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a190
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a1a0
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a1b0
push ebx
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40a1ce
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a1ca
imul eax, dword [ebx]
jmp 0x40a1bf
mov ecx, eax
test ecx, ecx
je 0x40a1ed
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40a1e6
push ebx
push eax
call fcn.004f1a0f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a1d4
call fcn.004f1a0f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a205
push ebx
call fcn.004f1a0f
add esp, 4
mov esp, ebp
pop ebp
ret