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

Disassembly:
push 0xffffffffffffffff
push 0x4655eb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4835f0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
mov eax, 0x10
mov esi, 1
mov dword [esp + 0x38], str.Tcp1323Opts
mov dword [esp + 0x3c], str.TcpTimedWaitDelay
mov dword [esp + 0x40], str.DefaultTTL
mov dword [esp + 0x44], str.TcpMaxSendFree
mov dword [esp + 0x48], str.NumTcpTablePartitions
mov dword [esp + 0x4c], str.EnablePMTUBHDetect
mov dword [esp + 0x50], str.TcpWindowSize
mov dword [esp + 0x54], str.ForwardBufferMemory
mov dword [esp + 0x58], str.MaxForwardBufferMemory
mov dword [esp + 0x5c], str.MaxConnectionsPerServer
mov dword [esp + 0x60], str.MaxConnectionsPer1_0Server
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 0x1e
mov dword [esp + 0x6c], 0x30
mov dword [esp + 0x70], 0xffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0xfba4
mov dword [esp + 0x80], 0xb5400
mov dword [esp + 0x84], 0x1400000
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0xc
call fcn.00434084
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4215a3
push 0x80004005
call fcn.00401200
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x2c], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00434084
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4215e4
push 0x80004005
call fcn.00401200
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x98], 1
call fcn.00434084
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421616
push 0x80004005
call fcn.00401200
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
xor ecx, ecx
cmp byte [esp + 0xa4], cl
mov byte [esp + 0x98], 2
sete cl
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SYSTEMCurrentControlSetServicesTcpipParameters
call fcn.0040bad0
lea esi, [esp + 0x30]
call fcn.004268a0
cmp eax, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x4217bd
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x421674
mov eax, dword [esp + 0x1c]
cmp byte [esp + 0xa4], 0
jne 0x4216f8
mov edx, dword [esp + eax + 0x64]
mov ebx, dword [esp + eax + 0x38]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
call fcn.0040bad0
lea esi, [esp + 0x30]
call fcn.00426db0
push ebx
test eax, eax
jne 0x4216ac
push 0x4735fc
jmp 0x421765
lea ecx, [esp + 0x1c]
push 0x47361c
push ecx
call fcn.004012d0
mov edx, dword [ebp + 0x2f0]
add esp, 0xc
push 0
push 0
push 0x18b
push edx
call edi
mov ebx, dword [esp + 0x18]
push ebx
push eax
mov eax, dword [ebp + 0x2f0]
push 0x181
push eax
call edi
mov ecx, dword [ebp + 0x2f0]
push 0
push eax
push 0x186
push ecx
jmp 0x4217a7
mov esi, dword [esp + eax + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0040bad0
lea ecx, [esp + 0x2c]
call fcn.004264f0
push esi
test eax, eax
jne 0x421760
lea edx, [esp + 0x1c]
push 0x47363c
push edx
call fcn.004012d0
mov eax, dword [ebp + 0x2f0]
add esp, 0xc
push 0
push 0
push 0x18b
push eax
call edi
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x2f0]
push ebx
push eax
push 0x181
push ecx
call edi
mov edx, dword [ebp + 0x2f0]
push 0
push eax
push 0x186
push edx
jmp 0x4217a7
push str.__s___.
lea eax, [esp + 0x20]
push eax
call fcn.004012d0
mov ecx, dword [ebp + 0x2f0]
add esp, 0xc
push 0
push 0
push 0x18b
push ecx
call edi
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 0x2f0]
push ebx
push eax
push 0x181
push edx
call edi
push 0
push eax
mov eax, dword [ebp + 0x2f0]
push 0x186
push eax
call edi
mov eax, dword [esp + 0x1c]
add eax, 4
cmp eax, 0x20
mov dword [esp + 0x1c], eax
jle 0x421670
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov dword [esp + 0x38], VariantInit
call fcn.0040bad0
lea esi, [esp + 0x30]
call fcn.004268a0
test eax, eax
je 0x421a0e
cmp byte [esp + 0xa4], 0
jne 0x4218e3
push 0x10
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.MaxConnectionsPerServer
call fcn.0040bad0
call fcn.00426db0
push str.MaxConnectionsPerServer
lea ecx, [esp + 0x1c]
test eax, eax
jne 0x421823
push 0x4735fc
jmp 0x421828
push 0x47361c
push ecx
call fcn.004012d0
mov edx, dword [ebp + 0x2f0]
add esp, 0xc
push 0
push 0
push 0x18b
push edx
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x2f0]
push ecx
push eax
push 0x181
push edx
call edi
push 0
push eax
mov eax, dword [ebp + 0x2f0]
push 0x186
push eax
call edi
push 0xc
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.MaxConnectionsPer1_0Server
call fcn.0040bad0
lea esi, [esp + 0x30]
call fcn.00426db0
push str.MaxConnectionsPer1_0Server
test eax, eax
jne 0x4218d9
push 0x4735fc
lea ecx, [esp + 0x20]
push ecx
call fcn.004012d0
mov edx, dword [ebp + 0x2f0]
add esp, 0xc
push 0
push 0
push 0x18b
push edx
call edi
mov ebx, dword [esp + 0x18]
push ebx
push eax
mov eax, dword [ebp + 0x2f0]
push 0x181
push eax
call edi
mov ecx, dword [ebp + 0x2f0]
push 0
push eax
push 0x186
push ecx
jmp 0x421a0c
push 0x47361c
jmp 0x4219ca
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.MaxConnectionsPerServer
call fcn.0040bad0
lea ecx, [esp + 0x2c]
call fcn.004264f0
push str.MaxConnectionsPerServer
test eax, eax
jne 0x42194f
lea eax, [esp + 0x1c]
push 0x47363c
push eax
call fcn.004012d0
mov ecx, dword [ebp + 0x2f0]
add esp, 0xc
push 0
push 0
push 0x18b
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [ebp + 0x2f0]
push 0x181
push eax
call edi
mov ecx, dword [ebp + 0x2f0]
push 0
push eax
push 0x186
push ecx
jmp 0x421996
lea edx, [esp + 0x1c]
push str.__s___.
push edx
call fcn.004012d0
mov eax, dword [ebp + 0x2f0]
add esp, 0xc
push 0
push 0
push 0x18b
push eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x2f0]
push ecx
push eax
push 0x181
push edx
call edi
push 0
push eax
mov eax, dword [ebp + 0x2f0]
push 0x186
push eax
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.MaxConnectionsPer1_0Server
call fcn.0040bad0
lea ecx, [esp + 0x2c]
call fcn.004264f0
push str.MaxConnectionsPer1_0Server
test eax, eax
jne 0x4219c5
push 0x47363c
jmp 0x421892
push str.__s___.
lea edx, [esp + 0x20]
push edx
call fcn.004012d0
mov eax, dword [ebp + 0x2f0]
add esp, 0xc
push 0
push 0
push 0x18b
push eax
call edi
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x2f0]
push ebx
push eax
push 0x181
push ecx
call edi
mov edx, dword [ebp + 0x2f0]
push 0
push eax
push 0x186
push edx
call edi
mov eax, dword [ebp + 0x2f0]
push 0
push 0
push 0x18b
push eax
call edi
mov ecx, dword [ebp + 0x2f0]
push 0x473bc8
push eax
push 0x181
push ecx
call edi
mov edx, dword [ebp + 0x2f0]
push 0
push eax
push 0x186
push edx
call edi
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x98], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a91
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
mov esi, dword [eax - 0x10]
lea edx, [eax - 0x10]
je 0x421af5
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x421ad3
cmp dword [eax - 8], 0
jge 0x421ac5
push 0x80070057
call fcn.00401200
xor ecx, ecx
mov dword [eax - 0xc], 0
mov word [eax], cx
jmp 0x421af5
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x421ae9
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 4]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
add eax, 0x10
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421b11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8