Function at 0x408b30
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x5f1358
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov ebp, 7
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov dword [esp + 0x7c], ebx
mov edi, 0xf
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov cl, 1
mov byte [esp + 0x7c], cl
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
mov byte [esp + 0x7c], 2
cmp eax, ebx
je 0x408e8d
cmp dx, word [eax]
je 0x408e8d
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x408bc6
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x3c]
call fcn.0040f730
or ecx, 0xffffffff
lea edi, [esp + 0x14]
mov ebx, esi
mov dword [esp + 0x14], 0x5f
call fcn.0040dd60
cmp eax, 0xffffffff
je 0x408c04
lea ecx, [eax + 1]
mov edx, esi
call fcn.004bcc90
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x408c17
lea eax, [esp + 0x3c]
push str.0123456789.
push eax
call fcn.005b877c
add esp, 8
cmp dword [esp + 0x4c], eax
je 0x408c38
push eax
lea ecx, [esp + 0x3c]
call fcn.004bcd20
add esp, 4
push 0x2e
xor ebx, ebx
lea eax, [esp + 0x20]
push ebx
push eax
lea ecx, [esp + 0x44]
call fcn.004bc3f0
add esp, 0xc
cmp dword [esp + 0x30], ebx
jne 0x408cca
mov byte [esp + 0x7c], 1
cmp dword [esp + 0x34], esi
jb 0x408c6c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004c4802
add esp, 4
xor edx, edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x6c], 0x10
jb 0x408c93
mov eax, dword [esp + 0x58]
push eax
call fcn.004c4802
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x7c], 0xffffffff
cmp dword [esp + 0x50], esi
jb 0x408cbe
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004c4802
add esp, 4
xor edx, edx
mov word [esp + 0x3c], dx
jmp 0x408efe
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x408cd8
lea eax, [esp + 0x20]
push eax
call fcn.005b87db
mov ebp, eax
add esp, 4
cmp ebp, 0xff
ja 0x408d06
push 0x2e
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x44]
call fcn.004bc3f0
add esp, 0xc
cmp dword [esp + 0x30], ebx
jne 0x408d37
mov byte [esp + 0x7c], 1
lea esi, [esp + 0x1c]
call fcn.0040f810
mov byte [esp + 0x7c], bl
lea ecx, [esp + 0x54]
call fcn.0040f080
mov dword [esp + 0x7c], 0xffffffff
lea esi, [esp + 0x38]
call fcn.0040f810
jmp 0x408f06
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x408d45
lea eax, [esp + 0x20]
push eax
call fcn.005b87db
mov edi, eax
add esp, 4
cmp edi, 0xff
ja 0x408d06
push 0x2e
lea ecx, [esp + 0x20]
push 2
push ecx
lea ecx, [esp + 0x44]
call fcn.004bc3f0
add esp, 0xc
cmp dword [esp + 0x30], ebx
je 0x408d06
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x408d81
lea eax, [esp + 0x20]
push eax
call fcn.005b87db
mov esi, eax
add esp, 4
cmp esi, 0xff
ja 0x408d06
push 0x2e
lea edx, [esp + 0x20]
push 3
push edx
lea ecx, [esp + 0x44]
call fcn.004bc3f0
add esp, 0xc
cmp dword [esp + 0x30], ebx
je 0x408d06
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x408dc6
lea eax, [esp + 0x20]
push eax
call fcn.005b87db
add esp, 4
cmp eax, 0xff
ja 0x408d06
push eax
push esi
mov esi, dword [esp + 0x20]
push edi
push ebp
push str._d._d._d._d
mov ecx, esi
call fcn.004bc870
add esp, 0x14
cmp dword [esi + 0x18], 8
jb 0x408dfc
mov eax, dword [esi + 4]
jmp 0x408dff
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x58]
call fcn.004bc9f0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp dword [esp + 0x6c], 0x10
jae 0x408e1b
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
or edi, 0xffffffff
cmp eax, edi
jne 0x408e56
mov byte [esp + 0x7c], 1
lea esi, [esp + 0x1c]
call fcn.0040f810
mov byte [esp + 0x7c], bl
lea ecx, [esp + 0x54]
call fcn.0040f080
mov dword [esp + 0x7c], edi
lea esi, [esp + 0x38]
call fcn.0040f810
jmp 0x408f06
cmp eax, ebx
je 0x408e29
cmp eax, 0x7f000001
je 0x408e29
mov byte [esp + 0x7c], 1
lea esi, [esp + 0x1c]
call fcn.0040f810
mov byte [esp + 0x7c], bl
lea ecx, [esp + 0x54]
call fcn.0040f080
mov dword [esp + 0x7c], edi
lea esi, [esp + 0x38]
call fcn.0040f810
mov al, 1
jmp 0x408f08
mov byte [esp + 0x7c], cl
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x408ea9
mov eax, dword [esp + 0x20]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x6c], 0x10
jb 0x408ed0
mov edx, dword [esp + 0x58]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x7c], 0xffffffff
cmp dword [esp + 0x50], esi
jb 0x408ef7
mov eax, dword [esp + 0x3c]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov word [esp + 0x3c], cx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x6c
ret 4