Function at 0x483590
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4835c1
cmp dword [ebp - 8], 0xffffffff
jne 0x483893
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ebp - 0x1d], al
movsx ecx, byte [ebp - 0x1d]
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp ecx, 0x20
jne 0x4835e3
jmp 0x4835c7
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
push 0x2e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040b9d0
add esp, 8
test eax, eax
je 0x48388a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
push 0x546778
lea eax, [ebp - 0x28]
push eax
call fcn.00443310
add esp, 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x2c]
mov al, byte [edx]
mov byte [ebp - 0x1d], al
movsx ecx, byte [ebp - 0x1d]
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
test ecx, ecx
je 0x48376f
movsx eax, byte [ebp - 0x1d]
cmp eax, 0x2e
jne 0x48372a
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
push 0x54677c
lea eax, [ebp - 0x28]
push eax
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483695
push 0x546780
lea ecx, [ebp - 0x28]
push ecx
call fcn.00443310
add esp, 8
jmp 0x4836bb
push 0x546784
lea edx, [ebp - 0x28]
push edx
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x4836bb
push 0x546788
lea eax, [ebp - 0x28]
push eax
call fcn.00443310
add esp, 8
cmp dword [ebp - 0x30], 0
jne 0x4836d3
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.00443310
add esp, 8
jmp 0x483701
cmp dword [ebp - 0x30], 1
jne 0x4836eb
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00443310
add esp, 8
jmp 0x483701
cmp dword [ebp - 0x30], 2
jne 0x483701
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00443310
add esp, 8
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
push 0x54678c
lea edx, [ebp - 0x28]
push edx
call fcn.00443310
add esp, 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], 0
jmp 0x48376a
movsx ecx, byte [ebp - 0x1d]
push ecx
call fcn.00405a84
add esp, 4
test eax, eax
je 0x483768
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jle 0x483755
jmp 0x48376f
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x1d]
mov byte [ecx], dl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x48376a
jmp 0x48376f
jmp 0x483634
cmp dword [ebp - 0x30], 3
jne 0x483794
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 - 0x28]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00443310
add esp, 8
cmp dword [ebp - 0x30], 3
jne 0x483881
cmp dword [ebp - 0x34], 0
jl 0x483881
cmp dword [ebp - 0x34], 0xc
jg 0x483881
cmp dword [ebp - 8], 0
jne 0x483815
push 0x546790
lea edx, [ebp - 0xc]
push edx
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483815
push 0x546794
lea eax, [ebp - 0x1c]
push eax
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483815
push 0x546798
lea ecx, [ebp - 0x24]
push ecx
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483815
push 0x54679c
lea edx, [ebp - 0x10]
push edx
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483815
mov dword [ebp - 4], 1
jmp 0x48387f
cmp dword [ebp - 8], 0xffffffff
jne 0x483878
push 0x5467a0
lea eax, [ebp - 0xc]
push eax
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483878
push 0x5467a4
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483878
push 0x5467a8
lea edx, [ebp - 0x24]
push edx
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483878
push 0x5467ac
lea eax, [ebp - 0x10]
push eax
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x483878
mov dword [ebp - 4], 1
jmp 0x48387f
mov dword [ebp - 4], 0
jmp 0x483888
mov dword [ebp - 4], 0
jmp 0x483891
mov dword [ebp - 4], 0
jmp 0x48389a
mov dword [ebp - 4], 1
push 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00404340
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret