Function at 0x4013b5
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
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00402649
cmp dword [ebp + 0x10], 0
jne 0x4019a1
push str.typeid0
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.v1id
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
push 8
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
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 - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push dword [ebp - 0x1c]
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
mov eax, str.http:__1_api_red.xunlei.com_index.php_rusr_stoneInfo
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040290b
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x401573
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401583
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401593
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4015a3
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4015b3
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4015c3
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4015d3
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4015e3
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4015f3
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x20]
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 - 0x54]
test eax, eax
jne 0x401629
mov eax, 0x5a6de3
push eax
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40164f
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401663
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 - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x5a6deb
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4016b2
push ebx
call fcn.00474775
add esp, 4
push 0x5a6ded
push dword [ebp - 0x20]
call fcn.004012f1
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4016e0
push ebx
call fcn.00474775
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x40199c
mov eax, 0x58ff31
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401700
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 8], eax
xor ecx, ecx
lea eax, [ebp - 0x10]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 4
jg 0x40190d
fild dword [ebp - 0x10]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x5a6def]
fstp qword [ebp - 0x24]
push 0x80000601
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x5a6df7
push dword [ebp - 0x28]
push str.info_
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401778
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
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 - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4017a9
push ebx
call fcn.00474775
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4017bc
mov eax, 0x58ff31
push eax
push 1
mov ebx, 0x475f50
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4017e2
push ebx
call fcn.00474775
add esp, 4
fild dword [ebp - 0x10]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x5a6def]
fstp qword [ebp - 0x48]
push 0x80000601
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x4c], eax
push str._.num
push dword [ebp - 0x4c]
push str.info_
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401841
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
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 - 0x58], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x401872
push ebx
call fcn.00474775
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x401885
mov eax, 0x58ff31
push eax
push 1
mov ebx, 0x475f50
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4018ab
push ebx
call fcn.00474775
add esp, 4
push 0x5a6e0a
push dword [ebp - 0x5c]
push 0x5a6e0d
push dword [ebp - 0x38]
push dword [ebp - 8]
mov ecx, 5
call fcn.0040106f
add esp, 0x14
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4018de
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4018ee
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401902
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 8], eax
pop ebx
pop ecx
jmp 0x40170b
add esp, 8
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x401923
mov eax, 0x58ff31
push eax
push 1
mov ebx, 0x474d80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x5a6def]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.0040138e
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40196e
mov eax, 0x58ff31
push eax
push 2
mov ebx, 0x475290
call fcn.00474787
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401998
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
jmp 0x40254a
cmp dword [ebp + 0x10], 1
jne 0x401f78
push str.typeid1
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.v1id
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
push 8
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
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 - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push dword [ebp - 0x1c]
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
mov eax, str.http:__1_api_red.xunlei.com_index.php_rusr_stoneInfo
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040290b
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x401abb
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401acb
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401adb
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401aeb
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401afb
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401b0b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401b1b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401b2b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401b3b
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x20]
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 - 0x54]
test eax, eax
jne 0x401b71
mov eax, 0x5a6de3
push eax
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x401b97
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401bab
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 - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x5a6deb
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401bfa
push ebx
call fcn.00474775
add esp, 4
push 0x5a6ded
push dword [ebp - 0x20]
call fcn.004012f1
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401c28
push ebx
call fcn.00474775
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x401f73
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401c6b
push ebx
call fcn.00474775
add esp, 4
push 0x5a6e1e
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 0x401c93
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401ca7
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 0x12
push 0x16017856
push 0x52010001
call fcn.0047479f
add esp, 0x10
test eax, eax
je 0x401ced
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
push 0x5a6e27
push 2
mov ebx, 0x478bd0
call fcn.00474787
add esp, 0x1c
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401d26
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.cryst
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401d5f
push ebx
call fcn.00474775
add esp, 4
push 0x5d0061
push dword [ebp - 0x2c]
push 0x5d0070
push dword [ebp - 0x20]
push 0x5d0079
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x5d0080
mov ecx, 7
call fcn.0040106f
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401d9e
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401dae
push ebx
call fcn.00474775
add esp, 4
push 1
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5d0083
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0x723de4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401de4
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401df4
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401e2d
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.cryst
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401e66
push ebx
call fcn.00474775
add esp, 4
push 0x5d008e
push dword [ebp - 0x2c]
push 0x5d0070
push dword [ebp - 0x20]
push 0x5d0079
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x5d0080
mov ecx, 7
call fcn.0040106f
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401ea5
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401eb5
push ebx
call fcn.00474775
add esp, 4
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5d00a1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00404e40
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401eda
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401eea
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401f23
push ebx
call fcn.00474775
add esp, 4
push dword [ebp - 0x20]
push 0x5d00a8
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x5d00ae
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401f55
push ebx
call fcn.00474775
add esp, 4
lea eax, [ebp - 0x24]
push eax
push 3
call fcn.00404f26
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f73
push ebx
call fcn.00474775
add esp, 4
jmp 0x40254a
cmp dword [ebp + 0x10], 2
jne 0x40254a
push str.typeid2
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.v1id
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
push 8
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
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 - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push dword [ebp - 0x1c]
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
mov eax, str.http:__1_api_red.xunlei.com_index.php_rusr_stoneInfo
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040290b
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x402092
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4020a2
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4020b2
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4020c2
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4020d2
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4020e2
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4020f2
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402102
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402112
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x20]
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 - 0x54]
test eax, eax
jne 0x402148
mov eax, 0x5a6de3
push eax
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40216e
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402182
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 - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x5a6deb
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4021d1
push ebx
call fcn.00474775
add esp, 4
push 0x5a6ded
push dword [ebp - 0x20]
call fcn.004012f1
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4021ff
push ebx
call fcn.00474775
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x40254a
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402242
push ebx
call fcn.00474775
add esp, 4
push 0x5a6e1e
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 0x40226a
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40227e
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 0x12
push 0x16017856
push 0x52010001
call fcn.0047479f
add esp, 0x10
test eax, eax
je 0x4022c4
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
push 0x5a6e27
push 2
mov ebx, 0x478bd0
call fcn.00474787
add esp, 0x1c
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4022fd
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.cryst
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402336
push ebx
call fcn.00474775
add esp, 4
push 0x5d0061
push dword [ebp - 0x2c]
push 0x5d0070
push dword [ebp - 0x20]
push 0x5d0079
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x5d0080
mov ecx, 7
call fcn.0040106f
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402375
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402385
push ebx
call fcn.00474775
add esp, 4
push 1
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5d0083
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0x723de4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4023bb
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4023cb
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402404
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.cryst
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40243d
push ebx
call fcn.00474775
add esp, 4
push 0x5d008e
push dword [ebp - 0x2c]
push 0x5d0070
push dword [ebp - 0x20]
push 0x5d0079
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x5d0080
mov ecx, 7
call fcn.0040106f
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40247c
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40248c
push ebx
call fcn.00474775
add esp, 4
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5d00a1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00404e40
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4024b1
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4024c1
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4024fa
push ebx
call fcn.00474775
add esp, 4
push dword [ebp - 0x20]
push 0x5d00a8
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x5d00ae
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40252c
push ebx
call fcn.00474775
add esp, 4
lea eax, [ebp - 0x24]
push eax
push 3
call fcn.00404f26
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40254a
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402566
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40256b
push eax
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402580
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402594
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4025a8
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4025bc
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4025d0
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 0x4025e9
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 - 0x14]
test ebx, ebx
je 0x402609
push ebx
call fcn.00474775
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc