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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da77d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x516108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [0x51cc44]
test al, 1
jne 0x477127
or eax, 1
mov dword [0x51cc44], eax
push 0x37c
push 0
push 0x51c8c8
mov dword [ebp - 4], 0
call fcn.004a7480
add esp, 0xc
mov ecx, 0x51c8c8
call fcn.0047ed40
push 0x4ddd50
call fcn.0048e6d6
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x51c940]
add eax, 0xfffffff0
push eax
call fcn.00404600
add eax, 0x10
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x70]
and eax, 0xfffffe07
mov dword [ebp - 0x6c], 0
or eax, 7
push 8
mov dword [ebp - 0x70], eax
call fcn.0048e442
mov esi, eax
add esp, 8
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00467090
mov dword [esi], eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x48], vtable.Json::FastWriter.0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x2c], 0
push ecx
push str.action
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.004663e0
mov edx, eax
mov ecx, ebx
call fcn.00468c50
push ecx
push str.status
lea ecx, [ebp - 0x78]
call fcn.004663e0
mov ecx, dword [ebp - 0x54]
mov edx, eax
call fcn.00468c50
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x78]
push eax
call fcn.004786d0
test edi, edi
je 0x4771ea
push edi
lea ecx, [ebp - 0x78]
call fcn.004783a0
mov eax, dword [ebp - 0x80]
and eax, 0xfffffe06
mov dword [ebp - 0x7c], 0
or eax, 6
push 8
mov dword [ebp - 0x80], eax
call fcn.0048e442
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 5
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00467090
mov dword [esi], eax
mov dword [ebp - 0x88], esi
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x88]
call fcn.00466620
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.004708e0
push 0x4f86b0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00404470
mov byte [ebp - 4], 8
call fcn.004049b0
mov ecx, eax
test ecx, ecx
jne 0x47727c
push 0x80004005
call fcn.00404710
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 9
call fcn.004049b0
mov ecx, eax
test ecx, ecx
jne 0x4772a0
push 0x80004005
call fcn.00404710
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x64]
call fcn.00439430
add esp, 0xc
mov byte [ebp - 4], 0xc
or esi, 0xffffffff
mov edx, dword [ebp - 0x4c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4772ea
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 - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477308
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477326
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x64]
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ebx, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
push ebx
lea ecx, [esi + 0x30]
call fcn.00464e80
push ebx
push edi
push dword [esi + 0x30]
call fcn.004a6f00
add esp, 0xc
lea ecx, [ebp - 0x4c]
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.00404470
push str.User_Agent
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.00404470
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ecx + 0x28]
call fcn.0046e640
mov byte [ebp - 4], 0xf
or ebx, 0xffffffff
mov edx, dword [ebp - 0x50]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4773a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4773c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.https:__www.pdfxd.com_
lea ecx, [ebp - 0x4c]
call fcn.00404470
push str.Referer
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.00404470
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ecx + 0x28]
call fcn.0046e640
mov byte [ebp - 4], 0x11
mov eax, ebx
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477414
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477432
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.application_json
lea ecx, [ebp - 0x4c]
call fcn.00404470
push str.Content_Type
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.00404470
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ecx + 0x28]
call fcn.0046e640
mov byte [ebp - 4], 0x13
mov eax, ebx
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x477485
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4774a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x58]
push 0
push 0
push dword [eax + 0x4c]
sub esp, 8
mov dword [ebp - 0x8c], esp
mov edi, esp
mov byte [ebp - 4], 0x15
mov dword [edi], 0
mov dword [edi + 4], 0
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x4774dd
lock inc dword [esi + 4]
mov esi, dword [edi + 4]
test esi, esi
je 0x477503
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x477503
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x477503
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x58]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi], eax
mov byte [ebp - 4], 0x16
mov eax, dword [0x51c294]
test eax, eax
jne 0x47753c
push 0x7c
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00473f00
mov byte [ebp - 4], 0x16
mov dword [0x51c294], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004740b0
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x477571
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x477571
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x477571
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x477586
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00425830
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00465be0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], vtable.Json::FastWriter.0
cmp eax, 0x10
jb 0x4775bf
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00425830
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], vtable.Json::Writer.0
call fcn.00465be0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4775ff
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 - 0x10]
xor ecx, ebp
call fcn.0048e923
mov esp, ebp
pop ebp
ret 0x14