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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x50d108]
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 [0x51391c]
test al, 1
jne 0x474cb7
or eax, 1
mov dword [0x51391c], eax
push 0x364
push 0
push 0x5135b8
mov dword [ebp - 4], 0
call fcn.004a33a0
add esp, 0xc
mov ecx, 0x5135b8
call fcn.0047acc0
push 0x4d9250
call fcn.0048a596
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x513630]
add eax, 0xfffffff0
push eax
call fcn.00404550
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.0048a2e5
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.004664d0
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.00465820
mov edx, eax
mov ecx, ebx
call fcn.00467f30
push ecx
push str.status
lea ecx, [ebp - 0x78]
call fcn.00465820
mov ecx, dword [ebp - 0x54]
mov edx, eax
call fcn.00467f30
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x78]
push eax
call fcn.00476260
test edi, edi
je 0x474d7a
push edi
lea ecx, [ebp - 0x78]
call fcn.00475f30
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.0048a2e5
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.004664d0
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.00465a60
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.0046e880
push 0x4f01f8
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.004043c0
mov byte [ebp - 4], 8
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x474e0c
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 9
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x474e30
push 0x80004005
call fcn.00404660
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.00438ec0
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 0x474e7a
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 0x474e98
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 0x474eb6
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.004643c0
push ebx
push edi
push dword [esi + 0x30]
call fcn.004a2e20
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.004043c0
push str.User_Agent
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.004043c0
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.0046c5e0
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 0x474f33
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 0x474f51
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.004043c0
push str.Referer
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.004043c0
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.0046c5e0
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 0x474fa4
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 0x474fc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.application_json
lea ecx, [ebp - 0x4c]
call fcn.004043c0
push str.Content_Type
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.004043c0
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.0046c5e0
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 0x475015
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 0x475033
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 0x47506d
lock inc dword [esi + 4]
mov esi, dword [edi + 4]
test esi, esi
je 0x475093
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x475093
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x475093
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 [0x513024]
test eax, eax
jne 0x4750cc
push 0x7c
call fcn.0048a2e5
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00471be0
mov byte [ebp - 4], 0x16
mov dword [0x513024], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00471d90
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x475101
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x475101
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x475101
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x475116
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00425790
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00465120
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], vtable.Json::FastWriter.0
cmp eax, 0x10
jb 0x47514f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00425790
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.00465120
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 0x47518f
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.0048a7e3
mov esp, ebp
pop ebp
ret 0x14