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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524705
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x592bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 4], 0
push 0x58115d
lea ecx, [ebp - 0x440]
call fcn.00407770
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x518]
call fcn.00417310
mov byte [ebp - 4], 2
push 0x5818c8
lea ecx, [ebp - 0x428]
call fcn.00407770
mov byte [ebp - 4], 3
push 0x50
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x518]
call fcn.00417b80
movzx ecx, al
test ecx, ecx
jne 0x41959b
lea ecx, [ebp - 0x518]
call fcn.00417da0
push 0x58115e
mov ecx, dword [ebp + 8]
call fcn.00407770
mov edx, dword [ebp - 0x4a4]
or edx, 1
mov dword [ebp - 0x4a4], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407540
mov eax, dword [ebp + 8]
jmp 0x41999c
lea eax, [ebp + 0xc]
push eax
push 0x5819a8
lea ecx, [ebp - 0x4a0]
push ecx
call fcn.0040e0b0
add esp, 0xc
mov dword [ebp - 0x4c8], eax
mov edx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4cc], edx
mov byte [ebp - 4], 4
push str..lastest_HTTP_1.1_r_nUser_Agent:_Mozilla_5.0__Macintosh__Intel_Mac_OS_X_10_12_6__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_60.0.3112.90_Safari_537.36_r_nHost:
mov eax, dword [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0x488]
push ecx
call fcn.0040e270
add esp, 0xc
mov dword [ebp - 0x4d0], eax
mov edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x4d4], edx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x4d4]
push ecx
lea edx, [ebp - 0x470]
push edx
call fcn.0040e2b0
add esp, 0xc
mov dword [ebp - 0x4d8], eax
mov eax, dword [ebp - 0x4d8]
mov dword [ebp - 0x4dc], eax
mov byte [ebp - 4], 6
push 0x5818dc
mov ecx, dword [ebp - 0x4dc]
push ecx
lea edx, [ebp - 0x458]
push edx
call fcn.0040e270
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x470]
call fcn.00407540
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x488]
call fcn.00407540
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4a0]
call fcn.00407540
push 1
push 5
lea ecx, [ebp - 0x458]
call fcn.004071b0
push eax
lea ecx, [ebp - 0x458]
call fcn.00407190
push eax
lea ecx, [ebp - 0x518]
call fcn.00417d70
movzx eax, al
test eax, eax
jne 0x41971d
lea ecx, [ebp - 0x518]
call fcn.00417da0
push 0x58115f
mov ecx, dword [ebp + 8]
call fcn.00407770
mov ecx, dword [ebp - 0x4a4]
or ecx, 1
mov dword [ebp - 0x4a4], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407540
mov eax, dword [ebp + 8]
jmp 0x41999c
mov dword [ebp - 0x4b8], 0
push 0
push 0
lea edx, [ebp - 0x4b8]
push edx
lea eax, [ebp - 0x518]
push eax
call fcn.00419070
add esp, 0x10
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x4b4], xmm0
mov ecx, dword [ebp - 0x4c4]
or ecx, dword [ebp - 0x4c0]
je 0x419772
cmp dword [ebp - 0x4b8], 0xc8
je 0x4197ec
lea ecx, [ebp - 0x518]
call fcn.00417da0
push 0x581166
mov ecx, dword [ebp + 8]
call fcn.00407770
mov edx, dword [ebp - 0x4a4]
or edx, 1
mov dword [ebp - 0x4a4], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407540
mov eax, dword [ebp + 8]
jmp 0x41999c
mov byte [ebp - 0x4a5], 0
mov eax, dword [ebp - 0x4b0]
cmp eax, dword [ebp - 0x4c0]
ja 0x419925
jb 0x419819
mov ecx, dword [ebp - 0x4b4]
cmp ecx, dword [ebp - 0x4c4]
jae 0x419925
lea edx, [ebp - 0x4a5]
push edx
push 0xa
lea eax, [ebp - 0x410]
push eax
push 0x3ff
lea ecx, [ebp - 0x518]
call fcn.00417cd0
mov dword [ebp - 0x4ac], eax
cmp dword [ebp - 0x4ac], 0
jg 0x4198c2
lea ecx, [ebp - 0x518]
call fcn.00417da0
push 0x581167
mov ecx, dword [ebp + 8]
call fcn.00407770
mov ecx, dword [ebp - 0x4a4]
or ecx, 1
mov dword [ebp - 0x4a4], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407540
mov eax, dword [ebp + 8]
jmp 0x41999c
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4bc], edx
cmp dword [ebp - 0x4bc], 0x400
jae 0x4198dc
jmp 0x4198e1
call fcn.004e67d3
mov eax, dword [ebp - 0x4bc]
mov byte [ebp + eax - 0x410], 0
mov eax, dword [ebp - 0x4ac]
cdq
add eax, dword [ebp - 0x4b4]
adc edx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b0], edx
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x440]
call fcn.00407470
jmp 0x4197f3
lea ecx, [ebp - 0x518]
call fcn.00417da0
lea edx, [ebp - 0x440]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407680
mov eax, dword [ebp - 0x4a4]
or eax, 1
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407540
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6445
mov esp, ebp
pop ebp
ret