Function at 0x42c392
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42c3c2
cmp dword [ebp - 8], 0xffffffff
jne 0x42c6bb
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ebp - 0x10], al
movsx ecx, byte [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp ecx, 0x20
jne 0x42c3e4
jmp 0x42c3c8
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
push 0x2e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004b5c90
add esp, 8
test eax, eax
je 0x42c6b2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
push 0x4d1c80
lea eax, [ebp - 0x1c]
push eax
call fcn.004b4b70
add esp, 8
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 0x10], al
movsx ecx, byte [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
test ecx, ecx
je 0x42c597
movsx eax, byte [ebp - 0x10]
cmp eax, 0x2e
jne 0x42c52b
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
push 0x4d1c84
lea eax, [ebp - 0x1c]
push eax
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c496
push 0x4d1c88
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004b4b70
add esp, 8
jmp 0x42c4bc
push 0x4d1c8c
lea edx, [ebp - 0x1c]
push edx
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c4bc
push 0x4d1c90
lea eax, [ebp - 0x1c]
push eax
call fcn.004b4b70
add esp, 8
cmp dword [ebp - 0x38], 0
jne 0x42c4d4
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004b4b70
add esp, 8
jmp 0x42c502
cmp dword [ebp - 0x38], 1
jne 0x42c4ec
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004b4b70
add esp, 8
jmp 0x42c502
cmp dword [ebp - 0x38], 2
jne 0x42c502
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.004b4b70
add esp, 8
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
push 0x4d1c94
lea edx, [ebp - 0x1c]
push edx
call fcn.004b4b70
add esp, 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], 0
jmp 0x42c592
cmp dword [0x4d8584], 1
jle 0x42c548
push 4
movsx ecx, byte [ebp - 0x10]
push ecx
call fcn.004b6198
add esp, 8
mov dword [ebp - 0x3c], eax
jmp 0x42c55d
movsx edx, byte [ebp - 0x10]
mov eax, dword [str.________________________________H]
xor ecx, ecx
mov cx, word [eax + edx*2]
and ecx, 4
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
je 0x42c590
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jle 0x42c57d
jmp 0x42c597
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x10]
mov byte [ecx], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x42c592
jmp 0x42c597
jmp 0x42c435
cmp dword [ebp - 0x38], 3
jne 0x42c5bc
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004b4b70
add esp, 8
cmp dword [ebp - 0x38], 3
jne 0x42c6a9
cmp dword [ebp - 0x30], 0
jl 0x42c6a9
cmp dword [ebp - 0x30], 0xc
jg 0x42c6a9
cmp dword [ebp - 8], 0
jne 0x42c63d
push 0x4d1c98
lea edx, [ebp - 0x20]
push edx
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c63d
push 0x4d1c9c
lea eax, [ebp - 0x24]
push eax
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c63d
push 0x4d1ca0
lea ecx, [ebp - 0x28]
push ecx
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c63d
push 0x4d1ca4
lea edx, [ebp - 0x2c]
push edx
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c63d
mov dword [ebp - 4], 1
jmp 0x42c6a7
cmp dword [ebp - 8], 0xffffffff
jne 0x42c6a0
push 0x4d1ca8
lea eax, [ebp - 0x20]
push eax
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c6a0
push 0x4d1cac
lea ecx, [ebp - 0x24]
push ecx
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c6a0
push 0x4d1cb0
lea edx, [ebp - 0x28]
push edx
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c6a0
push 0x4d1cb4
lea eax, [ebp - 0x2c]
push eax
call fcn.004b47b0
add esp, 8
test eax, eax
jne 0x42c6a0
mov dword [ebp - 4], 1
jmp 0x42c6a7
mov dword [ebp - 4], 0
jmp 0x42c6b0
mov dword [ebp - 4], 0
jmp 0x42c6b9
mov dword [ebp - 4], 0
jmp 0x42c6c2
mov dword [ebp - 4], 1
push 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004b43a0
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret