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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5247ab
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c8
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
mov byte [ebp - 0x295], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x38]
call fcn.0041ebc0
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp + 8]
call fcn.00424a90
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x1d4]
call fcn.0045abc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb8]
call fcn.00406bc0
lea ecx, [ebp - 0x294]
call fcn.0049e080
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d4]
call fcn.0041ecb0
push eax
lea ecx, [ebp - 0x294]
call fcn.0049e7b0
lea ecx, [ebp - 0x1d4]
call fcn.0045c2d0
movzx eax, ax
push eax
lea ecx, [ebp - 0x294]
call fcn.0049e850
push str.HTTP_1.1
lea ecx, [ebp - 0x44]
call fcn.00406b80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.0045c9a0
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
push 0x57d8ec
lea ecx, [ebp - 0x140]
call fcn.004989f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.00406bc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.00406bc0
lea ecx, [ebp + 0x20]
call fcn.00424da0
cdq
push edx
push eax
lea ecx, [ebp - 0x140]
call fcn.00499fa0
push 1
lea ecx, [ebp - 0x140]
call fcn.0049a370
push 0x5473d0
lea ecx, [ebp - 0x5c]
call fcn.00406b80
mov byte [ebp - 4], 0xc
push str.User_Agent
lea ecx, [ebp - 0x2c]
call fcn.00406b80
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x140]
call fcn.004a0500
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00406bc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
call fcn.00406bc0
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x294]
call fcn.0049eb40
mov dword [ebp - 0x2a8], eax
lea ecx, [ebp + 0x20]
call fcn.00424da0
test eax, eax
jle 0x41fa9f
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp + 0x20]
call fcn.00424a90
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2b8]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.00423d90
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd0]
call fcn.00406bc0
lea ecx, [ebp - 0xa0]
call fcn.0049a700
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x294]
call fcn.0049f310
mov dword [ebp - 0x2b4], eax
lea ecx, [ebp - 0xa0]
call fcn.0049a030
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c8], edx
cmp dword [ebp - 0x2c8], 0
jl 0x41fbc2
jg 0x41faf9
cmp dword [ebp - 0x2cc], 0
jbe 0x41fbc2
lea ecx, [ebp - 0xa0]
call fcn.0049a030
add eax, 1
adc edx, 0
push eax
call fcn.0044b6ff
add esp, 4
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.00422a60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xa0]
call fcn.0049a030
add eax, 1
adc edx, 0
push edx
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004063a0
push eax
mov ecx, dword [ebp - 0x2b4]
call fcn.004222d0
lea ecx, [ebp - 0x2a0]
call fcn.004063a0
mov esi, eax
lea ecx, [ebp - 0xa0]
call fcn.0049a030
mov byte [esi + eax], 0
lea ecx, [ebp - 0x2a0]
call fcn.004063a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2d4], esp
push eax
call fcn.00406b80
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2d8], edx
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 0x38]
call fcn.00424bd0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2a0]
call fcn.00422b20
lea ecx, [ebp - 0xa0]
call fcn.0041ec90
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
mov byte [ebp - 0x295], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.0049aa50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.00498ad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.0049e6d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d4]
call fcn.0045bc50
jmp 0x41fc24
mov dword [ebp - 4], 1
jmp 0x41fc34
mov dl, byte [ebp - 0x295]
mov byte [ebp - 0x296], dl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004068e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004068e0
mov al, byte [ebp - 0x296]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret