Function at 0x40b530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428a7a
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x434284]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x434284]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc4]
xor ebx, ebx
push ebx
mov edi, ecx
push 0x42c114
lea esi, [esp + 0x9c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
call fcn.00404580
push ebx
push ebx
sub esp, 0x1c
mov dword [esp + 0xe0], ebx
mov esi, esp
mov dword [esp + 0x60], esp
push 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x42dc90
mov word [esi + 4], bx
call fcn.00404580
sub esp, 0x1c
mov byte [esp + 0xfc], 1
mov esi, esp
mov dword [esp + 0x78], esp
push 0xb
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push str.GatewayBase
mov word [esi + 4], bx
call fcn.00404580
push edi
mov ecx, ebp
mov byte [esp + 0x100], bl
call fcn.0040bdf0
push 0x42c114
push str.GatewayBase
push ebp
mov edx, str.DomainBinding
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0xc]
mov byte [esp + 0xc4], 2
call fcn.004040a0
mov esi, 8
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b657
mov eax, dword [esp + 0x1c]
push eax
call fcn.00416abb
add esp, 4
push str.Enable
push str.GatewayNetworkMode
push ebp
mov edx, str.IPV4
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc4], 3
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b6a1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416abb
add esp, 4
mov eax, dword [esp + 0xa8]
push str.Enable
mov edi, 6
lea ecx, [esp + 0x98]
call fcn.00404c00
mov esi, dword [esp + 0x34]
test eax, eax
push str.Enable
sete dl
push str.GatewayNetworkMode
mov byte [esi + 0x28], dl
push ebp
mov edx, str.IPV6
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc4], 4
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], 8
jb 0x40b715
mov eax, dword [esp + 0x1c]
push eax
call fcn.00416abb
add esp, 4
mov eax, dword [esp + 0xa8]
push str.Enable
mov edi, 6
lea ecx, [esp + 0x98]
call fcn.00404c00
push ebx
push 1
test eax, eax
sete cl
sub esp, 0x1c
mov byte [esi + 0x29], cl
mov esi, esp
mov dword [esp + 0x5c], esp
push 4
mov edi, 7
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.Auth
mov word [esi + 4], bx
call fcn.00404580
sub esp, 0x1c
mov byte [esp + 0xfc], 5
mov esi, esp
mov dword [esp + 0x7c], esp
push 0xb
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.GatewayAuth
mov word [esi + 4], bx
call fcn.00404580
mov edi, dword [esp + 0x74]
lea edx, [edi + 0x2a]
push edx
mov ecx, ebp
mov byte [esp + 0x100], bl
call fcn.0040bdf0
push 1
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x5c], esp
push 9
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push str.Packaging
mov word [esi + 4], bx
call fcn.00404580
sub esp, 0x1c
mov byte [esp + 0xfc], 6
mov esi, esp
mov dword [esp + 0x7c], esp
push 0x10
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push str.GatewayPackaging
mov word [esi + 4], bx
call fcn.00404580
lea eax, [edi + 0x36]
push eax
mov ecx, ebp
mov byte [esp + 0x100], bl
call fcn.0040bdf0
push 0x42c114
push str.GatewayAD
push ebp
mov edx, str.Login
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x42]
mov byte [esp + 0xc4], 7
call fcn.004040a0
mov esi, 8
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b84c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayAD
push ebp
mov edx, str.Logo
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x5e]
mov byte [esp + 0xc4], 8
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b892
mov edx, dword [esp + 0x1c]
push edx
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayAD
push ebp
mov edx, str.Text
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x7a]
mov byte [esp + 0xc4], 9
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b8d8
mov eax, dword [esp + 0x1c]
push eax
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayAD
push ebp
mov edx, str.MainContent
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x96]
mov byte [esp + 0xc4], 0xa
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b921
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayAD
push ebp
mov edx, str.Picture
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0xb2]
mov byte [esp + 0xc4], 0xb
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b96a
mov edx, dword [esp + 0x1c]
push edx
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayAD
push ebp
mov edx, str.Information
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0xce]
mov byte [esp + 0xc4], 0xc
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b9b3
mov eax, dword [esp + 0x1c]
push eax
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayAD
push ebp
mov edx, str.MsgServer
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0xea]
mov byte [esp + 0xc4], 0xd
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40b9fc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayAD
push ebp
mov edx, str.MsgReply
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x106]
mov byte [esp + 0xc4], 0xe
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40ba45
mov edx, dword [esp + 0x1c]
push edx
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayVersion
push ebp
mov edx, str.Ver_Company
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x122]
mov byte [esp + 0xc4], 0xf
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40ba8e
mov eax, dword [esp + 0x1c]
push eax
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayVersion
push ebp
mov edx, str.Ver_Product
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x13e]
mov byte [esp + 0xc4], 0x10
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40bad7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayVersion
push ebp
mov edx, str.Ver_Info
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x15a]
mov byte [esp + 0xc4], 0x11
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40bb20
mov edx, dword [esp + 0x1c]
push edx
call fcn.00416abb
add esp, 4
push 0x42c114
push str.GatewayVersion
push ebp
mov edx, str.Ver_Main
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x176]
mov byte [esp + 0xc4], 0x12
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40bb69
mov eax, dword [esp + 0x1c]
push eax
call fcn.00416abb
add esp, 4
push str.update.doctorcom.com
push str.GatewayServer
push ebp
mov edx, str.VerServer
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x192]
mov byte [esp + 0xc4], 0x13
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40bbb2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416abb
add esp, 4
push 7
push str.VerPort
lea esi, [esp + 0x64]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
call fcn.00404580
mov byte [esp + 0xbc], 0x14
push 0xd
push str.GatewayServer
lea esi, [esp + 0x48]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.00404580
lea ecx, [esp + 0x18]
mov byte [esp + 0xbc], 0x15
call fcn.00412a60
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
push ecx
lea edx, [esp + 0x80]
push edx
push ebp
mov edx, eax
mov byte [esp + 0xcc], 0x16
call fcn.00413ee0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x40bc3c
mov eax, dword [eax + 4]
jmp 0x40bc3f
add eax, 4
push eax
call fcn.00417f31
add esp, 4
cmp dword [esp + 0x90], esi
mov word [edi + 0x1ae], ax
jb 0x40bc65
mov eax, dword [esp + 0x7c]
push eax
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x30], esi
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40bc8f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x40bcb3
mov edx, dword [esp + 0x44]
push edx
call fcn.00416abb
add esp, 4
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
jb 0x40bcde
mov eax, dword [esp + 0x60]
push eax
call fcn.00416abb
add esp, 4
push str.update.doctorcom.com
push str.GatewayServer
push ebp
mov edx, str.TimeServer
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x1b0]
mov byte [esp + 0xc4], 0x17
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40bd27
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00416abb
add esp, 4
push str.Disable
push str.GatewayFunction
push ebp
mov edx, str.Intranet
lea ecx, [esp + 0x24]
call fcn.00414040
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc4], 0x18
call fcn.004040a0
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x30], esi
jb 0x40bd71
mov edx, dword [esp + 0x1c]
push edx
call fcn.00416abb
add esp, 4
mov eax, dword [esp + 0xa8]
push str.Enable
mov edi, 6
lea ecx, [esp + 0x98]
call fcn.00404c00
mov ecx, dword [esp + 0x34]
test eax, eax
sete al
cmp dword [esp + 0xac], 8
mov byte [ecx + 0x1cc], al
jb 0x40bdb7
mov edx, dword [esp + 0x98]
push edx
call fcn.00416abb
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004170e8
add esp, 0xac
ret 4