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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push 0x18
call fcn.0047476f
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
push 0xc
call fcn.0047476f
add esp, 4
mov dword [ebp - 0xc], 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 - 0x10], eax
mov edi, eax
mov esi, 0x5a6de3
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push dword [0x723e80]
push 1
mov eax, 4
mov ebx, 0x515bf0
call fcn.0047478d
add esp, 0x10
mov ebx, dword [0x723e84]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x42de6d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x42de69
imul eax, dword [ebx]
jmp 0x42de5e
mov ecx, eax
test ecx, ecx
je 0x42dee2
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42de88
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x42deaa
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x42dea6
imul eax, dword [ebx]
jmp 0x42de9b
mov ecx, eax
test ecx, ecx
je 0x42dec9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x42dec2
push ebx
push eax
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x42deb0
call fcn.00474775
add esp, 4
pop ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x42de73
call fcn.00474775
add esp, 4
mov eax, 0x5a6de3
mov dword [0x723e84], eax
lea eax, [ebp - 4]
push eax
push 0x723e10
call fcn.00402649
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x20], ebx
push 8
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
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 - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
push dword [ebp - 0x20]
push 1
mov eax, str.rmine_2Fproduce_stat
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push 1
push 1
mov eax, str.http:__1_api_red.xunlei.com_index.php
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040290b
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x42dffb
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x42e00b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x42e01b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x42e02b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x42e03b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x42e04b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x42e05b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42e06b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42e07b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x24]
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 - 0x5c]
test eax, eax
jne 0x42e0b1
mov eax, 0x5a6de3
push eax
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x42e0d7
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42e0eb
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x5a6deb
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42e13a
push ebx
call fcn.00474775
add esp, 4
push 0x5a6ded
push dword [ebp - 0x28]
call fcn.004012f1
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42e168
push ebx
call fcn.00474775
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x42e69c
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.hourly_list
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42e1ab
push ebx
call fcn.00474775
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6062dd
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x42e1d0
mov eax, 0x58ff31
push eax
push 3
mov ebx, 0x476180
call fcn.00474787
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42e1f6
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x42e218
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x42e214
imul eax, dword [ebx]
jmp 0x42e209
mov ecx, eax
test ecx, ecx
je 0x42e237
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x42e230
push ebx
push eax
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x42e21e
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
mov ebx, 0x477700
call fcn.00474787
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x477580
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov ebx, eax
pop ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x17
jg 0x42e337
fild dword [ebp - 0x18]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040138e
push 0
push eax
push 0xffffffffffffffff
push 0x1f
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x6062df
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42e304
push ebx
call fcn.00474775
add esp, 4
push 0
push dword [ebp - 0x24]
push 0xffffffffffffffff
push 0x20
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42e32f
push ebx
call fcn.00474775
add esp, 4
pop ebx
pop ecx
inc ecx
jmp 0x42e27a
add esp, 8
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x42e412
fld qword [0x6062e2]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fsub qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040138e
push 0
push eax
push 0xffffffffffffffff
push 0x1f
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x6062df
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42e3de
push ebx
call fcn.00474775
add esp, 4
push 0
push dword [ebp - 0x24]
push 0xffffffffffffffff
push 0x20
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42e409
push ebx
call fcn.00474775
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x42e348
add esp, 0xc
xor ecx, ecx
lea eax, [ebp - 0x18]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x18
jg 0x42e503
mov ebx, dword [ebp - 0x10]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x42e447
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42e45a
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42e477
mov eax, 0x58ff31
push eax
push 1
mov ebx, 0x4758f0
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x28], eax
jle 0x42e4fc
mov ebx, dword [ebp - 0x10]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x42e4b6
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42e4c9
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42e4e6
mov eax, 0x58ff31
push eax
push 1
mov ebx, 0x4758f0
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x1c], eax
pop ebx
pop ecx
jmp 0x42e41c
add esp, 8
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x6062ea
push dword [ebp - 0x20]
push 0x6062f2
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42e552
push ebx
call fcn.00474775
add esp, 4
push 0
push dword [ebp - 0x24]
push 0xffffffffffffffff
push 0xe
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42e57d
push ebx
call fcn.00474775
add esp, 4
push 0x3e8
push 0x3fc00000
push dword [ebp - 0x1c]
call fcn.0042e796
push 0
push eax
push 0xffffffffffffffff
push 0x15
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
push 0
push 5
push 0xffffffffffffffff
push 0x16
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
xor ecx, ecx
lea eax, [ebp - 0x18]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x18
jg 0x42e699
fild dword [ebp - 0x18]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x5a6def]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040138e
push 0
push eax
push 0xffffffffffffffff
push 0x1f
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
mov ebx, dword [ebp - 0x10]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x42e62a
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x42e63d
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42e65a
mov eax, 0x58ff31
push eax
push 1
mov ebx, 0x4758f0
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0xffffffffffffffff
push 0x21
push 0x16014685
push 0x52010001
call fcn.00474793
add esp, 0x18
pop ebx
pop ecx
jmp 0x42e5cc
add esp, 8
push 0x80000301
push 0
push dword [0x723e80]
push 1
mov eax, 4
mov ebx, 0x515c10
call fcn.0047478d
add esp, 0x10
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42e6d4
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42e6e8
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42e6fc
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42e710
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42e724
push ebx
call fcn.00474775
add esp, 4
pop ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42e73d
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x42e76b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x42e767
imul eax, dword [ebx]
jmp 0x42e75c
mov ecx, eax
test ecx, ecx
je 0x42e78a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x42e783
push ebx
push eax
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x42e771
call fcn.00474775
add esp, 4
mov esp, ebp
pop ebp
ret