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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8476
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x513108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x1c], ebx
test ecx, ecx
jne 0x4721e5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
lea ecx, [ebp - 0x18]
call fcn.00404420
mov dword [ebp - 4], 0
call fcn.00404960
mov ecx, eax
test ecx, ecx
jne 0x47220a
push 0x80004005
call fcn.004046c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.00404960
mov ecx, eax
test ecx, ecx
jne 0x47222e
push 0x80004005
call fcn.004046c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.004392a0
add esp, 0xc
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472277
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472295
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4722b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0xc], 0
je 0x4722de
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x4722db
mov esi, dword [ebp - 0x24]
push ebx
lea ecx, [esi + 0x30]
call fcn.004646b0
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call fcn.004a5310
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
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
lea ecx, [ebp - 0x14]
call fcn.00404420
push str.User_Agent
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00404420
mov byte [ebp - 4], 8
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ecx + 0x28]
call fcn.0046dd80
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472331
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47234f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.https:__www.pdfxd.com_
lea ecx, [ebp - 0x14]
call fcn.00404420
push str.Referer
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00404420
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
add ecx, 0x28
push eax
call fcn.0046dd80
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4723a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4723c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0x18], 0
je 0x472437
push str.application_json
lea ecx, [ebp - 0x14]
call fcn.00404420
push str.Content_Type
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00404420
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
add ecx, 0x28
push eax
call fcn.0046dd80
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472419
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472437
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x14]
mov edx, ebx
push ecx
mov ecx, dword [ebp - 0x24]
push 0
push 0
push 0
call fcn.00472550
add esp, 0x14
mov ebx, eax
mov dword [ebp - 4], 0xd
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x47247c
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x47247c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x47247c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret