Function at 0x40701e
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
push 8
call fcn.0045b2ca
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x160186aa
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4b1710
call fcn.0045b2ee
add esp, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4070ae
push ebx
call fcn.0045b2be
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 1
push 0x20003
push 0x16016597
push 0x52010001
push 2
mov eax, 1
mov ebx, 0x4b1430
call fcn.0045b2ee
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x566ca6
push dword [ebp - 0x14]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407115
push ebx
call fcn.0045b2be
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x407197
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x160186aa
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4b1710
call fcn.0045b2ee
add esp, 0x28
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407aba
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40717a
push ebx
call fcn.0045b2be
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40718e
push ebx
call fcn.0045b2be
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40720c
mov ebx, dword [0x7a9238]
call fcn.004010a1
push ebx
push ecx
fild dword [ebp + 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5668e4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0040112c
dec eax
jns 0x4071ce
push 4
call fcn.0045b2d0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4071e1
push 1
call fcn.0045b2d0
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.00407aba
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407208
push ebx
call fcn.0045b2be
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x566cab
push dword [ebp - 8]
push 0x566d45
push dword [ebp - 4]
push 0x566d4b
mov ecx, 5
call fcn.00401153
add esp, 0x14
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
mov eax, 0x566d4f
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, 0x566b7a
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, 0x566dfa
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00402919
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4072c4
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4072d4
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4072e4
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4072f4
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407304
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407314
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407324
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407334
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407344
push ebx
call fcn.0045b2be
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.00404a39
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x407360
push ebx
call fcn.0045b2be
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407374
push ebx
call fcn.0045b2be
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x5668de
push dword [ebp - 0xc]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x407a17
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x566e14
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4073c2
mov eax, 0x5668de
push eax
push 4
mov ebx, 0x45be40
call fcn.0045b2c4
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40757d
cmp dword [0x7a925c], 1
jne 0x407400
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.004083f2
jmp 0x407a64
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x407433
push eax
mov ebx, eax
call fcn.004010c1
inc eax
push eax
call fcn.0045b2ca
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407446
push ebx
call fcn.0045b2be
add esp, 4
pop eax
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
push 0x7a9260
push 4
mov eax, 2
call fcn.0045b2b8
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [0x7a9260]
mov dword [ebp - 0x18], ebx
call fcn.004010a1
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0x18]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x407493
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x18]
call fcn.0045b2dc
add esp, 8
mov dword [0x7a9260], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x1c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
push edi
push eax
push 8
call fcn.0045b2ca
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4074ef
push eax
mov ebx, eax
call fcn.004010c1
inc eax
push eax
call fcn.0045b2ca
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
push 0x10001
push 0x601008b
push 0x5201008c
push 1
mov ebx, 0x45f3b0
call fcn.0045b2c4
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x407573
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 0x8075
push 0x1000a
push 0x160186a0
push 0x52010001
push 4
mov ebx, 0x45fc40
call fcn.0045b2c4
add esp, 0x34
jmp 0x407a64
jmp 0x407a64
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x566a03
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4075ae
mov eax, 0x5668de
push eax
push 4
mov ebx, 0x45be40
call fcn.0045b2c4
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x407645
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.004113f6
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x80000006
push 0
push 0x406fff
push 3
mov eax, 4
mov ebx, 0x4ba9f0
call fcn.0045b2ee
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x80000006
push 0
push 0x406920
push 3
mov eax, 4
mov ebx, 0x4ba9f0
call fcn.0045b2ee
add esp, 0x28
jmp 0x407a0d
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5669b4
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x407676
mov eax, 0x5668de
push eax
push 4
mov ebx, 0x45be40
call fcn.0045b2c4
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4077f4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.004113f6
push 8
call fcn.0045b2ca
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x5669b9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, 0x5669c1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
mov eax, 0x5669c3
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00404af0
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407707
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407717
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407735
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407731
imul eax, dword [ebx]
jmp 0x407726
mov ecx, eax
test ecx, ecx
je 0x407754
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40774d
push ebx
push eax
call fcn.0045b2be
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40773b
call fcn.0045b2be
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40776f
mov eax, 0x5668de
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x160186aa
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4b1940
call fcn.0045b2ee
add esp, 0x34
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4077bc
push ebx
call fcn.0045b2be
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x80000006
push 0
push 0x406920
push 3
mov eax, 4
mov ebx, 0x4ba9f0
call fcn.0045b2ee
add esp, 0x28
jmp 0x407a0d
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x566a0c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00405567
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407834
push ebx
call fcn.0045b2be
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x40788c
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x566a15
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00405567
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40787e
push ebx
call fcn.0045b2be
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x40788c
xor eax, eax
jmp 0x407891
mov eax, 1
test eax, eax
je 0x40792e
push 0x80000004
push 0
push 0x566a0c
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x160186aa
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4b1940
call fcn.0045b2ee
add esp, 0x34
push 0x80000004
push 0
push 0x5668de
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x160186aa
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4b1940
call fcn.0045b2ee
add esp, 0x34
jmp 0x407a0d
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x566e1b
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00405567
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40796e
push ebx
call fcn.0045b2be
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4079c5
push 0x80000004
push 0
push 0x566e24
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x160186aa
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4b1940
call fcn.0045b2ee
add esp, 0x34
jmp 0x407a0d
push 0x80000004
push 0
push 0x566e2d
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x160186aa
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4b1940
call fcn.0045b2ee
add esp, 0x34
call fcn.004063b0
jmp 0x407a5f
push 0x80000004
push 0
push 0x566e36
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x160186aa
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4b1940
call fcn.0045b2ee
add esp, 0x34
call fcn.004055ff
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407a74
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407a84
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407a94
push ebx
call fcn.0045b2be
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x407aab
push ebx
call fcn.0045b2be
add esp, 4
pop ebx
call fcn.0045b2be
add esp, 4
mov esp, ebp
pop ebp
ret 4