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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4721b0
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x491040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1ec], esi
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [ebp - 0x224], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], edi
call fcn.004061b0
sub esp, 0x10
mov dword [esi + 0x80], eax
mov ecx, esp
mov dword [ebp - 0x1e8], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x4838cc
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.00416690
mov dword [ebp - 4], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00412290
xorps xmm0, xmm0
mov esi, eax
movups xmmword [ebp - 0x204], xmm0
mov byte [ebp - 0x204], 0
movq qword [ebp - 0x1fc], xmm0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1fc]
push dword [ebp - 0x204]
call fcn.00414660
mov byte [ebp - 0x204], 5
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f8], edi
mov dword [ebp - 4], 2
lea edx, [ebp - 0x204]
mov ecx, esi
call fcn.00417b80
mov byte [ebp - 0x1e1], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
push dword [ebp - 0x204]
call fcn.00414660
cmp byte [ebp - 0x1e1], 0
je 0x40f9ff
mov esi, dword [ebp - 0x1ec]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e8], esp
xorps xmm0, xmm0
push 2
movups xmmword [ecx], xmm0
push 0x4838d0
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.00416690
mov dword [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x40]
call fcn.00412290
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00415340
mov edi, eax
mov dword [ebp - 4], 6
mov ecx, SysReAllocString
mov esi, dword [ebp - 0x224]
mov edx, dword [esi + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x4100a4
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40f90f
mov eax, dword [esi]
push 1
push 0x4838d4
push edx
push eax
push ecx
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x220]
call fcn.00418480
push edi
lea edx, [ebp - 0x220]
mov dword [ebp - 0x1f0], 4
lea ecx, [ebp - 0x28]
call fcn.004159f0
add esp, 4
mov byte [ebp - 4], 7
mov edi, 4
mov dword [ebp - 0x1f0], edi
and edi, 0xfffffffb
mov dword [ebp - 0x1f0], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x220]
call fcn.00414300
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call fcn.00414300
push 0x4838d8
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.004153f0
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push eax
call fcn.004100c0
test al, al
je 0x40f9e4
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x1e8], esp
push eax
call fcn.00413080
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1ec]
call fcn.004096a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.00414300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00414300
jmp 0x40fa05
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.00414300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
jmp 0x410082
mov esi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 4], 0xc
mov eax, SysReAllocString
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 2
jb 0x4100a9
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40fa3b
mov eax, dword [esi]
push 2
push 0x4838e8
push ecx
push eax
push ecx
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x40]
call fcn.00418480
or edi, 1
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1f0], edi
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
push ecx
cmova eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1e8]
push eax
call dword [0x4791e8]
call dword [ebp - 0x1e8]
and edi, 0xfffffffe
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1f0], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00414300
cmp dword [ebp - 0x1e8], 0xffffffff
je 0x40fe58
mov dword [ebp - 0x208], 0
nop word [eax + eax]
test byte [ebp - 0x1e0], 0x10
je 0x40fe0a
mov ecx, 0x4838ec
lea eax, [ebp - 0x1b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40faf8
test dl, dl
je 0x40faf4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40faf8
add eax, 2
add ecx, 2
test dl, dl
jne 0x40fad8
xor eax, eax
jmp 0x40fafd
sbb eax, eax
or eax, 1
test eax, eax
je 0x40fe0a
mov ecx, 0x4838f0
lea eax, [ebp - 0x1b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40fb30
test dl, dl
je 0x40fb2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40fb30
add eax, 2
add ecx, 2
test dl, dl
jne 0x40fb10
xor eax, eax
jmp 0x40fb35
sbb eax, eax
or eax, 1
test eax, eax
je 0x40fe0a
mov dword [ebp - 4], 0xd
mov eax, SysReAllocString
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x4100a4
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40fb61
mov eax, dword [esi]
push 1
push str._tt
push ecx
push eax
push ecx
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x244]
call fcn.00418480
lea eax, [ebp - 0x1b4]
or edi, 0x40
push eax
lea edx, [ebp - 0x244]
mov dword [ebp - 0x1f0], edi
lea ecx, [ebp - 0x28]
call fcn.00415490
add esp, 4
mov byte [ebp - 4], 0xe
and edi, 0xffffffbf
mov dword [ebp - 0x1f0], edi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x244]
call fcn.00414300
mov byte [ebp - 4], 0x10
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 1
jb 0x4100a4
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push 0x4838f8
push ecx
push eax
push ecx
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x25c]
call fcn.00418480
push dword [ebp - 0x1f4]
or edi, 0x10
lea edx, [ebp - 0x25c]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1f0], edi
call fcn.00415950
add esp, 4
mov byte [ebp - 4], 0x11
and edi, 0xffffffef
mov dword [ebp - 0x1f0], edi
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x25c]
call fcn.00414300
lea eax, [ebp - 0x58]
push eax
call fcn.004100c0
test al, al
je 0x40fdef
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x22c], esp
push 1
movups xmmword [ecx], xmm0
push 0x4838fc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x1ec]
call fcn.00412290
xorps xmm0, xmm0
mov esi, eax
movups xmmword [ebp - 0x204], xmm0
mov byte [ebp - 0x204], 0
movq qword [ebp - 0x1fc], xmm0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1fc]
push dword [ebp - 0x204]
call fcn.00414660
mov byte [ebp - 0x204], 5
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f8], 0
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x204]
mov ecx, esi
call fcn.00417b80
mov byte [ebp - 0x1e1], al
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1fc]
push dword [ebp - 0x204]
call fcn.00414660
cmp byte [ebp - 0x1e1], 0
je 0x40fd16
push dword [ebp - 0x208]
mov ecx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x28]
push eax
call fcn.0040e530
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x228], esp
push 1
movups xmmword [ecx], xmm0
push 0x483900
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00416690
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x1ec]
call fcn.00412290
xorps xmm0, xmm0
mov esi, eax
movups xmmword [ebp - 0x218], xmm0
mov byte [ebp - 0x218], 0
movq qword [ebp - 0x210], xmm0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x210]
push dword [ebp - 0x218]
call fcn.00414660
mov byte [ebp - 0x218], 5
mov dword [ebp - 0x210], 2
mov dword [ebp - 0x20c], 0
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x218]
mov ecx, esi
call fcn.00417b80
mov byte [ebp - 0x1e1], al
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x210]
push dword [ebp - 0x218]
call fcn.00414660
cmp byte [ebp - 0x1e1], 0
je 0x40fde9
push dword [ebp - 0x208]
mov ecx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x28]
push eax
call fcn.0040a110
inc dword [ebp - 0x208]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x58]
call fcn.00414300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00414300
mov eax, dword [ebp - 0x1ec]
mov esi, dword [eax + 0x98]
lea eax, [ebp - 0x1e0]
push eax
push dword [ebp - 0x1e8]
mov ecx, esi
call dword [0x4791e8]
call esi
test eax, eax
je 0x40fe3c
mov esi, dword [ebp - 0x224]
jmp 0x40fac0
mov eax, dword [ebp - 0x1ec]
push dword [ebp - 0x1e8]
mov esi, dword [eax + 0x9c]
mov ecx, esi
call dword [0x4791e8]
call esi
mov esi, dword [ebp - 0x1ec]
mov ecx, dword [esi + 0x80]
call fcn.00426090
push 0x48
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.0044d070
add esp, 0xc
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
push 0x94
push 0x483908
call fcn.00416690
mov dword [ebp - 4], 0x1b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00408520
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x28]
call fcn.00414300
sub esp, 0x10
lea eax, [esi + 0x70]
mov ecx, esp
mov dword [ebp - 0x228], esp
push eax
call fcn.004123a0
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xa0]
call fcn.00408710
mov eax, dword [ebp - 0x1ec]
xor esi, esi
xor edi, edi
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x1e8], eax
test eax, eax
je 0x40ff35
mov ecx, eax
call fcn.00405670
mov edi, dword [ebp - 0x1e8]
mov edi, dword [edi]
push edi
push 1
call fcn.004506bf
mov esi, eax
mov eax, dword [ebp - 0x1e8]
push edi
mov ecx, dword [eax + 0x48]
push dword [ecx + 0x48]
push esi
call fcn.0044d210
add esp, 0x14
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x1e8], eax
test eax, eax
je 0x40ff75
mov edx, 1
mov ecx, eax
call fcn.004047a0
mov ecx, dword [ebp - 0x1e8]
mov edx, 1
call fcn.00403ea0
push dword [ebp - 0x1e8]
call fcn.00451a6e
add esp, 4
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x210], 0
push str._Up_b
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x20c], 0
movups xmmword [ebp - 0x220], xmm0
call fcn.00416690
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x220]
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00408da0
mov byte [ebp - 0x1e1], al
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x220]
call fcn.00414300
cmp byte [ebp - 0x1e1], 0
jne 0x410052
nop dword [eax]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x210], 0
push str._Up_b
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x20c], 0
movups xmmword [ebp - 0x220], xmm0
call fcn.00416690
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x220]
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00408da0
mov byte [ebp - 0x1e1], al
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x220]
call fcn.00414300
cmp byte [ebp - 0x1e1], 0
je 0x40ffe0
push esi
call fcn.00451a6e
add esp, 4
mov dword [ebp - 4], 0x20
push dword [ebp - 0x88]
mov esi, dword [ebp - 0x64]
mov ecx, esi
call dword [0x4791e8]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00414300
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004347ab
mov esp, ebp
pop ebp
ret 8
call fcn.004068e0
call fcn.004068e0
int3