Function at 0x4095ef
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x461380
call fcn.0045f448
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409657
push ebx
call fcn.0045f454
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x5c
push 1
mov ebx, 0x460230
call fcn.0045f448
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x45fca0
call fcn.0045f448
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 0x5c
push 1
mov ebx, 0x460230
call fcn.0045f448
add esp, 0x10
push 0x80000101
push 0
push eax
push 1
mov ebx, 0x45fca0
call fcn.0045f448
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x3a435c2e
push 1
mov ebx, 0x460450
call fcn.0045f448
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x460d40
call fcn.0045f448
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40971f
mov eax, 0x526e1c
push eax
push 1
mov ebx, 0x4616c0
call fcn.0045f448
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x409745
push ebx
call fcn.0045f454
add esp, 4
push dword [ebp - 0x30]
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov ecx, 3
call fcn.0040119f
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40976e
push ebx
call fcn.0045f454
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40977e
push ebx
call fcn.0045f454
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40978e
push ebx
call fcn.0045f454
add esp, 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x45f8c0
call fcn.0045f448
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0
push 0
push 3
push 0
push dword [ebp - 0x38]
push 0
push dword [ebp - 0x34]
mov eax, 0x1a
call fcn.0045f460
cmp dword [ebp - 0x3c], esp
je 0x409803
push 0x140
push 0x4048d5f
push 6
call fcn.0045f45a
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x409816
push ebx
call fcn.0045f454
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4099fd
lea eax, [ebp - 8]
push eax
call fcn.0040773c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
push eax
call fcn.00409a1d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 0x1c]
push 0x80
push dword [ebp - 0x18]
push 0
push 0
push 0x560000
push dword [ebp - 0xc]
mov eax, 0x1b
call fcn.0045f460
cmp dword [ebp - 0x20], esp
je 0x409889
push 0x231
push 0x4048d5f
push 6
call fcn.0045f45a
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4099d1
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov eax, 3
call fcn.0045f460
cmp dword [ebp - 0x18], esp
je 0x4098c2
push 0x28c
push 0x4048d5f
push 6
call fcn.0045f45a
add esp, 0xc
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 9
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4098ed
mov eax, 0x526e1c
push eax
push 3
mov ebx, 0x461040
call fcn.0045f448
add esp, 0x28
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x409928
mov eax, 0x526e1c
push eax
push 3
mov ebx, 0x460e40
call fcn.0045f448
add esp, 0x28
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x409954
push ebx
call fcn.0045f454
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp ecx, 0x80000101
jne 0x40996c
and eax, 0xff
jmp 0x4099c1
cmp ecx, 0x80000201
jne 0x409977
cwde
jmp 0x4099c1
cmp ecx, 0x80000301
je 0x4099c1
cmp ecx, 0x80000401
je 0x4099c1
mov dword [ebp - 0x2c], eax
cmp ecx, 0x80000501
je 0x4099b1
cmp ecx, 0x80000601
je 0x4099b6
push 0x2d1
push 0x4048d5f
push 2
call fcn.0045f45a
add esp, 0xc
fld dword [ebp - 0x2c]
jmp 0x4099bc
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.0040162f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x409a07
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov eax, 3
call fcn.0045f460
cmp dword [ebp - 0x18], esp
je 0x4099fd
push 0x320
push 0x4048d5f
push 6
call fcn.0045f45a
add esp, 0xc
mov eax, 0xffffffff
jmp 0x409a07
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x409a18
push ebx
call fcn.0045f454
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret