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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf3dd
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x504108]
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 ebx, ecx
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x50a51c]
test al, 1
jne 0x4702bc
or eax, 1
mov dword [0x50a51c], eax
push 0x334
push 0
push 0x50a1e8
mov dword [ebp - 4], 0
call fcn.0049d8c0
add esp, 0xc
mov ecx, 0x50a1e8
call fcn.00476270
push 0x4d25f0
call fcn.00484c83
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x50a25c]
add eax, 0xfffffff0
push eax
call fcn.00404410
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.004849d2
mov esi, eax
add esp, 8
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00461e70
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.004611c0
mov ecx, dword [ebp - 0x54]
mov edx, eax
call fcn.004638e0
push ecx
push str.status
lea ecx, [ebp - 0x78]
call fcn.004611c0
mov ecx, dword [ebp - 0x4c]
mov edx, eax
call fcn.004638e0
lea eax, [ebp - 0x78]
mov ecx, ebx
push eax
call fcn.00471800
test edi, edi
je 0x47037f
push edi
lea ecx, [ebp - 0x78]
call fcn.004714d0
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.004849d2
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 5
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00461e70
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.00461400
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.00469430
push 0x4e8e90
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00404280
mov byte [ebp - 4], 8
call fcn.004047c0
mov ecx, eax
test ecx, ecx
jne 0x470411
push 0x80004005
call fcn.00404520
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 9
call fcn.004047c0
mov ecx, eax
test ecx, ecx
jne 0x470435
push 0x80004005
call fcn.00404520
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x64]
call fcn.00437f00
add esp, 0xc
mov byte [ebp - 4], 0xc
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 0x47047f
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 - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47049d
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 0x4704bb
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.0045fd30
push ebx
push edi
push dword [esi + 0x30]
call fcn.0049d340
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.00404280
push str.User_Agent
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00404280
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ecx + 0x28]
call fcn.00467190
mov byte [ebp - 4], 0xf
or ebx, 0xffffffff
mov edx, dword [ebp - 0x4c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x470538
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 - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x470556
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.00404280
push str.Referer
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.00404280
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ecx + 0x28]
call fcn.00467190
mov byte [ebp - 4], 0x11
mov eax, ebx
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4705a9
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 - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4705c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5c]
push 0
push 0
push dword [eax + 0x4c]
sub esp, 8
mov dword [ebp - 0x8c], esp
mov edi, esp
mov byte [ebp - 4], 0x13
mov dword [edi], 0
mov dword [edi + 4], 0
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], eax
test esi, esi
je 0x470601
lock inc dword [esi + 4]
mov esi, dword [edi + 4]
test esi, esi
je 0x470627
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x470627
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x470627
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x5c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [edi], eax
mov byte [ebp - 4], 0x14
mov eax, dword [0x509c4c]
test eax, eax
jne 0x470660
push 0x7c
call fcn.004849d2
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.0046c720
mov byte [ebp - 4], 0x14
mov dword [0x509c4c], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0046c8d0
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x470695
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x470695
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x470695
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4706aa
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00425500
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00460ac0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], vtable.Json::FastWriter.0
cmp eax, 0x10
jb 0x4706e3
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00425500
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.00460ac0
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 0x470723
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.00484ed0
mov esp, ebp
pop ebp
ret 0x14