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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da3ef
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x663a90]
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 - 0x68], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
call fcn.00408f50
mov ecx, dword [eax + 0x70]
sub ecx, 0x10
call fcn.00403880
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x74]
and eax, 0xfffffe07
mov dword [ebp - 0x70], 0
or eax, 7
push 8
mov dword [ebp - 0x74], eax
call fcn.0058a1e0
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00482130
mov dword [esi], eax
mov dword [ebp - 0x7c], esi
push ecx
push str.action
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00481550
mov edx, eax
mov ecx, edi
call fcn.004833a0
push ecx
push str.status
lea ecx, [ebp - 0x7c]
call fcn.00481550
mov edx, eax
mov ecx, ebx
call fcn.004833a0
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x7c]
push eax
call fcn.004982e0
push dword [ebp - 0x58]
lea eax, [ebp - 0x7c]
push eax
call fcn.00498080
mov eax, dword [ebp - 0x8c]
and eax, 0xfffffe06
mov dword [ebp - 0x88], 0
or eax, 6
push 8
mov dword [ebp - 0x8c], eax
call fcn.0058a1e0
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 3
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00482130
mov dword [esi], eax
mov dword [ebp - 0x94], esi
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x94]
call fcn.00481760
mov dword [ebp - 0x4c], vtable.Json::FastWriter.0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0048dc80
push 0x639da0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.004035d0
mov byte [ebp - 4], 7
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x49725f
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 8
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x497283
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x64]
call fcn.00408b40
add esp, 0xc
mov byte [ebp - 4], 0xb
or esi, 0xffffffff
mov edx, dword [ebp - 0x50]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4972cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, esi
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4972eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, esi
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x497309
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x64]
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp - 0x1c]
cmovae edi, dword [ebp - 0x2c]
push ebx
lea ecx, [esi + 0x30]
call fcn.00486f70
push ebx
push edi
push dword [esi + 0x30]
call fcn.005a3320
add esp, 0xc
lea ecx, [ebp - 0x50]
push str.Mozilla_5.0__Windows_NT_6.2__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_49.0.2623.110_Safari_537.36_XunduPDF_49.0.2623.110
call fcn.004035d0
push str.User_Agent
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.004035d0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ecx + 0x28]
call fcn.00485f10
mov byte [ebp - 4], 0xe
or ebx, 0xffffffff
mov edx, dword [ebp - 0x54]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x497386
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4973a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.https:__www.pdfxd.com_
lea ecx, [ebp - 0x50]
call fcn.004035d0
push str.Referer
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.004035d0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ecx + 0x28]
call fcn.00485f10
mov byte [ebp - 4], 0x10
mov eax, ebx
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4973f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x497415
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 8
mov dword [ebp - 0x98], esp
mov edi, esp
mov byte [ebp - 4], 0x12
mov dword [edi], 0
mov dword [edi + 4], 0
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x497445
lock inc dword [esi + 4]
mov esi, dword [edi + 4]
test esi, esi
je 0x49746b
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x49746b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x49746b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x80]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi], eax
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x13
mov esi, dword [eax + 0x4c]
mov eax, dword [0x6813c8]
test eax, eax
jne 0x4974aa
push 0x7c
call fcn.0058a1e0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00488ed0
mov byte [ebp - 4], 0x13
mov dword [0x6813c8], eax
push 0
push 0
push esi
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.004891f0
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x4974e4
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4974e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4974e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4974f9
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00403cf0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x4c], vtable.Json::FastWriter.0
cmp eax, 0x10
jb 0x497527
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403cf0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x4c], vtable.Json::Writer.0
call fcn.00480ef0
lea ecx, [ebp - 0x7c]
call fcn.00480ef0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x497572
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00589cd3
mov esp, ebp
pop ebp
ret 0x14