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

Disassembly:
push 0xffffffffffffffff
push 0x4655a8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4835f0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x80]
mov eax, 0x10
mov esi, 1
mov dword [esp + 0x30], str.TcpTimedWaitDelay
mov dword [esp + 0x34], str.TcpMaxSendFree
mov dword [esp + 0x38], str.NumTcpTablePartitions
mov dword [esp + 0x3c], str.EnablePMTUBHDetect
mov dword [esp + 0x40], str.ForwardBufferMemory
mov dword [esp + 0x44], str.MaxForwardBufferMemory
mov dword [esp + 0x48], str.MaxConnectionsPerServer
mov dword [esp + 0x4c], str.MaxConnectionsPer1_0Server
mov dword [esp + 0x50], 0x1e
mov dword [esp + 0x54], 0xffff
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0xb5400
mov dword [esp + 0x64], 0x1400000
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0xc
call fcn.00434084
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421bf8
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 + 0x2c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x24], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00434084
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421c36
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 + 0x80], ebx
mov byte [esp + 0x78], 1
call fcn.00434084
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421c68
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 + 0x18], eax
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.SYSTEMCurrentControlSetServicesTcpipParameters
mov byte [esp + 0x84], 2
call fcn.0040bad0
lea esi, [esp + 0x28]
call fcn.004268a0
cmp eax, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x421e14
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x421cb5
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x84], 0
jne 0x421d43
mov ecx, dword [esp + eax + 0x50]
mov ebx, dword [esp + eax + 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ebx
call fcn.0040bad0
lea esi, [esp + 0x28]
call fcn.00426db0
push ebx
test eax, eax
jne 0x421cf1
push 0x4735fc
jmp 0x421db6
lea eax, [esp + 0x84]
push 0x47361c
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 + 0x80]
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
jmp 0x421dfe
mov esi, dword [esp + eax + 0x30]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.0040bad0
lea ecx, [esp + 0x24]
call fcn.004264f0
push esi
test eax, eax
jne 0x421db1
lea ecx, [esp + 0x84]
push 0x47363c
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 + 0x80]
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 0x421dfe
push str.__s___.
lea edx, [esp + 0x88]
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 + 0x80]
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 [esp + 0x14]
add eax, 4
cmp eax, 0x18
mov dword [esp + 0x14], eax
jl 0x421cb1
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov dword [esp + 0x30], VariantInit
call fcn.0040bad0
lea esi, [esp + 0x28]
call fcn.004268a0
test eax, eax
je 0x4220d7
cmp byte [esp + 0x84], 0
jne 0x421f94
push 0x10
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push str.MaxConnectionsPerServer
call fcn.0040bad0
call fcn.00426db0
push str.MaxConnectionsPerServer
test eax, eax
jne 0x421ec1
lea eax, [esp + 0x84]
push 0x4735fc
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 + 0x80]
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 0x421f0e
lea edx, [esp + 0x84]
push 0x47361c
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 + 0x80]
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 + 0x8c], esp
push str.MaxConnectionsPer1_0Server
call fcn.0040bad0
lea esi, [esp + 0x28]
call fcn.00426db0
push str.MaxConnectionsPer1_0Server
test eax, eax
jne 0x421f8a
push 0x4735fc
lea ecx, [esp + 0x88]
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 + 0x80]
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 0x4220d5
push 0x47361c
jmp 0x42208d
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push str.MaxConnectionsPerServer
call fcn.0040bad0
lea ecx, [esp + 0x24]
call fcn.004264f0
push str.MaxConnectionsPerServer
test eax, eax
jne 0x422009
lea eax, [esp + 0x84]
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 + 0x80]
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 0x422056
lea edx, [esp + 0x84]
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 + 0x80]
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 + 0x88], esp
push str.MaxConnectionsPer1_0Server
call fcn.0040bad0
lea ecx, [esp + 0x24]
call fcn.004264f0
push str.MaxConnectionsPer1_0Server
test eax, eax
jne 0x422088
push 0x47363c
jmp 0x421f3d
push str.__s___.
lea edx, [esp + 0x88]
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 + 0x80]
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 + 0x78], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x78], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422154
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], 0
mov esi, dword [eax - 0x10]
lea edx, [eax - 0x10]
je 0x4221b5
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x422193
cmp dword [eax - 8], 0
jge 0x422185
push 0x80070057
call fcn.00401200
xor ecx, ecx
mov dword [eax - 0xc], 0
mov word [eax], cx
jmp 0x4221b5
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4221a9
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 0x4221d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8