Function at 0x432730
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bc4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e6f00]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x14], edi
mov byte [edi + 0x20], bl
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
nop
mov eax, dword [edi + 0x54]
lea esi, [edi + 0x54]
cmp eax, 1
sete al
cmp al, bl
mov dword [esp + 0x24], esi
mov byte [esp + 0x13], al
je 0x4327d0
lea eax, [esp + 0x1c]
mov dword [edi + 0x90], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x98], ebx
mov dword [edi + 0x9c], ebx
add dword [esi + 8], 1
push eax
call fcn.00478d6a
add esp, 4
lea ecx, [edi + 4]
mov dword [esp + 0x18], ecx
call fcn.00432db0
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x4328e3
cmp eax, 0xffffffff
je 0x4328e3
mov ecx, edi
call fcn.00432d60
test eax, eax
je 0x432818
cmp byte [esp + 0x13], bl
je 0x4328e3
mov eax, 1
add dword [esi + 0xc], eax
mov dword [edi + 0x90], eax
jmp 0x4328e3
mov eax, edi
call fcn.00432990
cmp eax, ebx
jle 0x4328c6
cmp eax, dword [edi + 0x4c]
jg 0x4328c6
mov ecx, dword [esp + 0x14]
push eax
lea edi, [esp + 0x48]
call fcn.00432a80
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 1
call fcn.004042e0
mov ecx, edi
mov byte [esp + 0x70], bl
call fcn.00402fa0
cmp dword [esp + 0x3c], ebx
mov edi, dword [esp + 0x14]
jbe 0x4328e3
cmp byte [esp + 0x13], bl
je 0x43287b
lea ebx, [edi + 0x90]
lea esi, [edi + 0x74]
call fcn.004334b0
xor ebx, ebx
cmp dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x2c]
jae 0x43288a
lea ecx, [esp + 0x2c]
mov edx, dword [esp + 0x3c]
push edx
lea esi, [esp + 0x48]
call fcn.0042f0a0
push 0xffffffffffffffff
push ebx
mov eax, esi
mov byte [esp + 0x78], 2
mov ecx, dword [esp + 0x20]
push eax
call fcn.004042e0
mov ecx, esi
call fcn.00402fa0
mov esi, dword [edi + 0x18]
lea ecx, [esp + 0x28]
call fcn.00402fa0
mov eax, esi
jmp 0x432966
cmp eax, 0xffffffff
je 0x4328e3
cmp byte [esp + 0x13], bl
mov byte [edi + 0x20], 1
je 0x4328e3
add dword [esi + 0x14], 1
mov dword [edi + 0x90], 3
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x4328ef
cmp eax, 0xffffffff
jne 0x432921
cmp eax, 0xffffffff
je 0x43291e
cmp eax, ebx
je 0x43291e
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0xffffff7f
push 0xffff
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [edi + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x24], ebx
cmp byte [esp + 0x13], bl
je 0x43294f
lea ebx, [edi + 0x90]
lea esi, [edi + 0x74]
call fcn.004334b0
mov ebx, dword [esp + 0x24]
lea esi, [edi + 0x88]
call fcn.00431990
test al, al
je 0x43294f
mov eax, ebx
call fcn.00431920
cmp dword [esp + 0x40], 0x10
jb 0x432963
mov eax, dword [esp + 0x2c]
push eax
call fcn.00457af4
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00477f65
mov esp, ebp
pop ebp
ret