Function at 0x4af8c0
Capabilities:
Access peb ldr_data
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7b05
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x66d4f4]
xor eax, ebp
mov dword [ebp - 0xa0], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f8], ecx
mov ecx, dword [ebp - 0x2f8]
call fcn.004f8390
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2f8]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x2f8]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x2f8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x2f8]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x2f8]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x2f8]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x2f8]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x30], 0
mov ecx, dword [ebp - 0x2f8]
add ecx, 0x34
call fcn.004125d0
mov byte [ebp - 4], 1
push 0x617bc6
mov ecx, dword [ebp - 0x2f8]
add ecx, 0x40
call fcn.0040b540
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x624364
mov edx, dword [ebp - 0x14]
push edx
call fcn.00417af0
add esp, 4
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2f8]
cmp dword [edx + 4], 0
je 0x4afb1a
push 1
push 2
lea ecx, [ebp - 0x184]
call fcn.0040a750
mov byte [ebp - 4], 3
push str.LOAD_YW_SMP_NETGATEWAY_DLL_SUCCESS
lea eax, [ebp - 0x184]
push eax
call fcn.00409270
add esp, 8
lea ecx, [ebp - 0x2a0]
push ecx
lea ecx, [ebp - 0x184]
call fcn.00408c00
mov dword [ebp - 0x2fc], eax
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x300]
call fcn.0040b520
push eax
push 0x624398
push 0x1b
push 0x6243bc
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a0]
call fcn.0040b640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x184]
call fcn.004094e0
lea ecx, [ebp - 0x100]
call fcn.004449a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xfc]
call fcn.0040b4d0
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx + 4]
push eax
call fcn.0048f220
add esp, 8
lea ecx, [ebp - 0x100]
push ecx
call fcn.00403fd0
mov ecx, eax
call fcn.00475460
push 0x6243cc
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x10], eax
push 0x6243dc
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x20], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x100]
call fcn.00457070
jmp 0x4afbb0
push 1
push 2
lea ecx, [ebp - 0x204]
call fcn.0040a750
mov byte [ebp - 4], 6
push str.LOAD_YW_SMP_NETGATEWAY_DLL_ERROR
lea edx, [ebp - 0x204]
push edx
call fcn.00409270
add esp, 8
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x204]
call fcn.00408c00
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0x308], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x308]
call fcn.0040b520
push eax
push 0x62440c
push 0x28
push 0x624430
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2bc]
call fcn.0040b640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x204]
call fcn.004094e0
mov dword [ebp - 0x18], 0x624440
mov edx, dword [ebp - 0x18]
push edx
call fcn.00417af0
add esp, 4
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2f8]
cmp dword [edx], 0
jne 0x4afc97
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 8]
or ecx, 4
mov edx, dword [ebp - 0x2f8]
mov dword [edx + 8], ecx
push 1
push 2
lea ecx, [ebp - 0x284]
call fcn.0040a750
mov byte [ebp - 4], 8
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.ywSMPFirewall.dll_
lea eax, [ebp - 0x284]
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.0041c7c0
lea ecx, [ebp - 0x2d8]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00408c00
mov dword [ebp - 0x30c], eax
mov edx, dword [ebp - 0x30c]
mov dword [ebp - 0x310], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x310]
call fcn.0040b520
push eax
push str.CEDSFwAuthProxy::CEDSFwAuthProxy
push 0x31
push 0x624494
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2d8]
call fcn.0040b640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x284]
call fcn.004094e0
jmp 0x4afe6a
lea ecx, [ebp - 0xd0]
call fcn.004449a0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040b4d0
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call fcn.0048f220
add esp, 8
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00403fd0
mov ecx, eax
call fcn.00475460
push str.FwAddRomoteAddr
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0xc], eax
push str.FwSetDenyAll
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x14], eax
push str.FwGetFwState
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x18], eax
push str.FwSetRuleEx
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x1c], eax
push str.FwSetFilterUrlJumpPac
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x24], eax
push str.FwSetDoubleSuperIPAddr
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x28], eax
push str.FwSetOtherDllRule
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x2c], eax
push str.FwSetDenyState
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x2f8]
call fcn.004aff30
mov dword [ebp - 0x10], eax
push 1
push 2
lea ecx, [ebp - 0x9c]
call fcn.0040a750
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x9c]
call fcn.00419990
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00408c00
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x318], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x318]
call fcn.0040b520
push eax
push str.eds_kernel_fwstate
call fcn.004040c0
mov ecx, eax
call fcn.0040c660
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2f4]
call fcn.0040b640
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x9c]
call fcn.004094e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.00457070
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xa0]
xor ecx, ebp
call fcn.005bd2d7
mov esp, ebp
pop ebp
ret