Function at 0x432a60
Capabilities:
Check for time delay via queryperformancecounter
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caf11
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x510a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x2c], 0
mov edi, ecx
mov dword [ebp - 0x1a4], edi
jne 0x432aa9
mov dword [edi + 8], 2
xor eax, eax
jmp 0x432f5a
call fcn.00467e07
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432ac3
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 4], 0
call fcn.00467e07
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432af6
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 1
push ecx
mov ecx, dword [ebx + 0x2c]
call fcn.00412130
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 2
call fcn.00416ed0
add esp, 0x10
test eax, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1b0]
sete byte [ebp - 0x1b1]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432b7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x1b1], 0
je 0x432bd8
mov dword [edi + 8], 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1ac]
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432baf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x1a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x432bd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x432f5a
cmp dword [ebp - 0x1bc], 3
je 0x432bea
mov dword [edi + 8], 5
jmp 0x432b8a
lea ecx, [ebp - 0x1a0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x432c22
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1ac]
add eax, 0xfffffff0
mov dword [edi + 8], 1
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x432ba3
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
cmp dword [ebx + 0x30], 0
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1c4], eax
je 0x432c5a
lea ecx, [ebp - 0x1d8]
push ecx
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov eax, dword [ebx + 4]
add edi, 4
test eax, eax
jne 0x432cc0
mov edx, dword [ebp - 0x1a8]
push ecx
add edx, 0xfffffff0
mov dword [ebp - 0x1bc], esp
mov esi, esp
push edx
call fcn.00412ac0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00431fe0
add esp, 4
test eax, eax
je 0x432cc2
mov eax, dword [ebp - 0x1a4]
mov dword [eax + 8], 6
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x1ac]
call fcn.00412740
lea ecx, [ebp - 0x1a8]
call fcn.00412740
xor eax, eax
jmp 0x432f5a
mov dword [edi], eax
cmp dword [ebx + 0x30], 0
je 0x432cdc
lea esi, [ebp - 0x1d8]
call fcn.00431f90
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx + 0x1c], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [ebp - 0x1b0], esi
cmp esi, 0xffffffff
jne 0x432d04
mov edx, dword [ebp - 0x1a4]
mov dword [edx + 8], 3
jmp 0x432c9d
cmp dword [ebx + 0x30], 0
je 0x432d17
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov ecx, dword [edi]
mov edi, dword [ebp - 0x1b8]
mov edx, dword [ebx + 0x10]
push ecx
mov ecx, edi
call fcn.00432050
add esp, 4
test eax, eax
je 0x432d50
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1a4]
push eax
mov dword [edx + 8], 7
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x432c9d
cmp dword [ebx + 0x30], 0
je 0x432d6c
lea esi, [ebp - 0x1d8]
call fcn.00431f90
mov esi, dword [ebp - 0x1a4]
mov dword [esi + 0x20], eax
jmp 0x432d72
mov esi, dword [ebp - 0x1a4]
cmp di, 0x50
je 0x432d8f
movzx ecx, di
push ecx
push 0x4f6c44
lea edi, [ebp - 0x1a8]
call fcn.004330a0
add esp, 8
cmp dword [ebx + 0x30], 0
je 0x432da2
lea edx, [ebp - 0x1d8]
push edx
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx]
mov edi, dword [ebp - 0x1b0]
push eax
push ecx
push edx
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
mov ecx, dword [ebx + 0x28]
push edi
call fcn.00432140
add esp, 0x18
test eax, eax
je 0x432de4
push edi
mov dword [esi + 8], 8
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x432c9d
cmp dword [ebx + 0x30], 0
je 0x432e13
lea esi, [ebp - 0x1d8]
call fcn.00431f90
mov edx, dword [ebp - 0x1a4]
mov dword [edx + 0x24], eax
cmp dword [ebx + 0x30], 0
mov esi, edx
je 0x432e13
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, edi
call fcn.004323c0
add esp, 4
test eax, eax
je 0x432e38
push edi
mov dword [esi + 8], 9
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x432c9d
cmp dword [ebx + 0x30], 0
je 0x432e54
lea esi, [ebp - 0x1d8]
call fcn.00431f90
mov edx, dword [ebp - 0x1a4]
mov dword [edx + 0x28], eax
mov esi, edx
cmp dword [ebx + 8], 1
je 0x432f1c
cmp dword [ebx + 0x30], 0
je 0x432e71
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
push 4
lea eax, [ebp - 0x1b8]
push eax
push 0x1006
mov dword [ebp - 0x1b8], ecx
mov ecx, dword [ebp - 0x1b0]
push 0xffff
push ecx
mov dword [ebp - 0x1bc], edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x432ed9
lea eax, [esi + 0x18]
push eax
mov eax, dword [ebp - 0x1bc]
push edi
push eax
mov eax, dword [ebp - 0x1b0]
lea edx, [esi + 0x14]
lea ecx, [esi + 0xc]
add esi, 0x10
push eax
call fcn.00432430
add esp, 0x10
test eax, eax
je 0x432ef2
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1b0]
push ecx
mov dword [esi + 8], 0xa
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x432c9d
cmp dword [ebx + 0x30], 0
je 0x432f10
lea esi, [ebp - 0x1d8]
call fcn.00431f90
mov edx, dword [ebp - 0x1a4]
mov dword [edx + 0x2c], eax
mov esi, edx
jmp 0x432f16
mov esi, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x1b0]
cmp dword [esi + 0xc], 0
jbe 0x432f32
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x432f32
push esi
call fcn.004326b0
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [ebp - 0x1ac]
call fcn.00412740
lea ecx, [ebp - 0x1a8]
call fcn.00412740
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004840ae
mov esp, ebp
pop ebp
ret