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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
push 0xc
call fcn.0047476f
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x5d00bf
push ebx
add ebx, 4
push ebx
push 8
call fcn.0047476f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040545b
pop ebx
push 8
call fcn.0047476f
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, str.User_Agent:Mozilla_5.0__Linux__Android_4.4.4__2015813_Build_KTU84P__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_35.0.1916.138_Mobile_Mobile_Safari_537.36
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push dword [ebp + 8]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
push 1
mov eax, str.http:__1_api_red.xunlei.com_index.php_rturntable_getconfig
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040290b
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x452a24
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x452a34
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x452a44
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x452a54
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x452a64
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x452a74
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x452a84
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x452a94
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x452aa4
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x47d920
call fcn.00474787
add esp, 0x10
call fcn.00474775
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x452ada
mov eax, 0x5a6de3
push eax
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x452b00
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x452b14
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x5a6deb
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x452b63
push ebx
call fcn.00474775
add esp, 4
push 0x5a6ded
push dword [ebp - 0x14]
call fcn.004012f1
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x452b91
push ebx
call fcn.00474775
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x452c2c
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, str.cost
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x452bd4
push ebx
call fcn.00474775
add esp, 4
push dword [ebp - 0x14]
push 0x64422e
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x452bfc
push ebx
call fcn.00474775
add esp, 4
push 0
push dword [ebp - 0x18]
push 0xffffffffffffffff
push 8
push 0x16019ec9
push 0x52010001
call fcn.00474793
add esp, 0x18
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x452c27
push ebx
call fcn.00474775
add esp, 4
jmp 0x452c49
push 0
push 0x64423d
push 0xffffffffffffffff
push 8
push 0x16019ec9
push 0x52010001
call fcn.00474793
add esp, 0x18
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x452c59
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00474775
add esp, 4
mov esp, ebp
pop ebp
ret 4