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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 8
call fcn.005cb7e7
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x678929
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
cmp dword [ebp + 8], 0
jne 0x53ac1b
mov dword [ebp - 0x2c], esp
push dword [0x7dcc80]
mov eax, 0x4d
call fcn.005cb7f3
cmp dword [ebp - 0x2c], esp
je 0x53985b
push 0x37
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
mov ebx, dword [0x7dc808]
add ebx, 0x28
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 1
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0x94
mov dword [ebp - 0x2c], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 1
mov ebx, 0x5ccb20
call fcn.005cb7f9
add esp, 0x10
mov dword [0x7dcc84], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x68c9d9
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b9c1
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x5398d5
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [0x7dc808]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0x34]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x30]
call fcn.0040cdd0
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x539930
push ebx
call fcn.005cb7e1
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x539943
mov eax, 0x67883c
push eax
push 1
mov ebx, 0x5cc980
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x539969
push ebx
call fcn.005cb7e1
add esp, 4
push str.u1https:__x5.qq.com_main.shtml
push dword [ebp - 0x44]
push str.clientkey
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push str.https:__ptlogin2.x5.qq.com_jump_keyindex18daid702clientuin
mov ecx, 5
call fcn.0040111d
add esp, 0x14
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x5399a0
push ebx
call fcn.005cb7e1
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
push 1
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
push 1
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0048c258
mov ebx, eax
test ebx, ebx
je 0x539a2b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x539a3b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x539a4b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x539a5b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x539a6b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x539a7b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x539a8b
push ebx
call fcn.005cb7e1
add esp, 4
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Location:
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x539abc
mov eax, 0x67883c
push eax
push 4
mov ebx, 0x5cc7d0
call fcn.005cb7f9
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x539d7a
push 0x678a7e
push dword [ebp - 8]
mov ecx, 2
call fcn.0040111d
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x678a7e
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.Location:
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00428044
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x539b40
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x539b50
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x539b60
push ebx
call fcn.005cb7e1
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x539b73
mov eax, 0x67883c
push eax
push 1
mov ebx, 0x5cd070
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x539b99
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x539bad
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
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
push 1
push 1
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.0048c258
mov ebx, eax
test ebx, ebx
je 0x539c3c
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x539c4c
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x539c5c
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x539c6c
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x539c7c
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x539c8c
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0xa8
mov dword [ebp - 0x2c], ebx
push 0x683c9d
push dword [ebp - 0x10]
mov ecx, 2
call fcn.0040111d
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, 0x683c9d
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, str.p_skey
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00428044
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x539d05
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x539d15
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x539d25
push ebx
call fcn.005cb7e1
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x539d38
mov eax, 0x67883c
push eax
push 1
mov ebx, 0x5cd070
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x539d5e
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x539d74
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0xa4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x683c9d
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.skey
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00428044
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x539ddb
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x539deb
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x539e01
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0x9c
mov dword [ebp - 0x2c], ebx
mov ebx, dword [0x7dc808]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0xa4
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
push dword [ebx]
push str.__skey
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push str.uino0
mov ecx, 4
call fcn.0040111d
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x539e77
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0xa4
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
call fcn.0053ad62
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x539eb1
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, str.2.1.2
push eax
mov ebx, dword [0x7dcc88]
test ebx, ebx
je 0x539ece
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov dword [0x7dcc88], eax
mov eax, str._IDC_name_
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x539eea
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push dword [0x7dcc88]
push 0x68f333
mov ecx, 2
call fcn.0040111d
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040b9c1
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x539f2e
push ebx
call fcn.005cb7e1
add esp, 4
mov dword [ebp - 0x2c], esp
mov eax, 0
call fcn.005cb7f3
cmp dword [ebp - 0x2c], esp
je 0x539f57
push 0xa08
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
mov dword [0x7dc7fc], eax
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0x54
mov dword [ebp - 0x2c], ebx
push 0x68f33f
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push str.zoneid_
mov ecx, 3
call fcn.0040111d
add esp, 0xc
mov dword [ebp - 0x30], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x539fb2
mov eax, 0x67883c
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x539fc6
mov eax, 0x67883c
push eax
push 4
mov ebx, 0x5cc7d0
call fcn.005cb7f9
add esp, 0x34
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x539fec
push ebx
call fcn.005cb7e1
add esp, 4
cmp dword [ebp - 0x34], 0xffffffff
je 0x53ab4d
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0x54
mov dword [ebp - 0x2c], ebx
push 0x68f33f
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push str.zoneid_
mov ecx, 3
call fcn.0040111d
add esp, 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, str.__IDC_
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00428044
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a06b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x53a07b
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x53a08f
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x679d62
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.webscoket_ipport_
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00428044
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x53a0df
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x53a0ef
push ebx
call fcn.005cb7e1
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x678a84
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x53a114
mov eax, 0x67883c
push eax
push 3
mov ebx, 0x5cd330
call fcn.005cb7f9
add esp, 0x28
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x53a13a
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x53a15c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x53a158
imul eax, dword [ebx]
jmp 0x53a14d
mov ecx, eax
test ecx, ecx
je 0x53a17b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x53a174
push ebx
push eax
call fcn.005cb7e1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x53a162
call fcn.005cb7e1
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00403ea1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jle 0x53aa7f
mov ebx, dword [0x7dcc8c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x53a1bd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x53a1b9
imul eax, dword [ebx]
jmp 0x53a1ae
mov ecx, eax
test ecx, ecx
je 0x53a1fd
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a1d8
push ebx
call fcn.005cb7e1
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a1ec
push ebx
call fcn.005cb7e1
add esp, 4
pop ebx
call fcn.005cb7e1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x53a1c3
call fcn.005cb7e1
add esp, 4
mov eax, 0x678929
mov dword [0x7dcc8c], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x679d62
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.webscoket_ipport_
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00428044
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x53a25b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x53a26b
push ebx
call fcn.005cb7e1
add esp, 4
lea eax, [ebp - 0x3c]
push eax
mov eax, str.Host
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x53a295
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x53a2a5
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.keep_alive__Upgrade
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Connection
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a2d7
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a2e7
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.no_cache
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Pragma
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a319
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a329
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.no_cache
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Cache_Control
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a35b
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a36b
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.websocket
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Upgrade
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a39d
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a3ad
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.http:__res.x5.qq.com
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Origin
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a3df
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a3ef
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, 0x68f3c5
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_WebSocket_Version
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a421
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a431
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.Mozilla_5.0__Linux__Android_5.1.1__SM_A530F_Build_LMY48Z__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_39.0.0.0_Safari_537.36
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a463
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a473
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.gzip__deflate
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept_Encoding
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a4a5
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a4b5
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.zh_CN_en_US_q0.8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a4e7
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a4f7
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0x9c
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
mov eax, str.Cookie
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a535
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.com.tencent.gamehelper.xw
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.X_Requested_With
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a567
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a577
push ebx
call fcn.005cb7e1
add esp, 4
push 0x10
call fcn.00418666
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d90d
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a5a0
push ebx
call fcn.005cb7e1
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.0053b337
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a5bc
push ebx
call fcn.005cb7e1
add esp, 4
lea eax, [ebp - 0x34]
push eax
mov eax, str.Sec_WebSocket_Key
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x53a5e6
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x53a5f6
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, str.permessage_deflate__client_max_window_bits
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_WebSocket_Extensions
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x7dcc8c
call fcn.0048d999
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a628
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a638
push ebx
call fcn.005cb7e1
add esp, 4
mov dword [ebp - 0x20], 1
xor ecx, ecx
lea eax, [ebp - 0x24]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 4
jg 0x53a9ca
push 0
push 0
push 0
push 1
mov ebx, 0x5cc110
call fcn.005cb7f9
add esp, 0x10
push 0x80000301
push 0
push 0x64
push 0x80000301
push 0
push 2
push 2
mov ebx, 0x5cc2c0
call fcn.005cb7f9
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0x80000601
push 0x40000000
push 0
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 2
mov ebx, 0x5cbb80
call fcn.005cb7f9
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
ftst
fnstsw ax
test ah, 1
je 0x53a6df
fchs
fcomp qword [0x6788bf]
fnstsw ax
test ah, 0x41
mov eax, 0
setne al
test eax, eax
je 0x53a704
mov eax, 1
jmp 0x53a709
mov eax, 2
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jne 0x53a75d
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.addr_serverId
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x53a747
mov eax, 0x67883c
push eax
push 4
mov ebx, 0x5cc7d0
call fcn.005cb7f9
add esp, 0x34
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x6789ea]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 1
fld qword [ebp - 0x38]
call fcn.00401181
push eax
mov eax, 0x679d62
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.addr_serverId_
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00428044
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x53a7ba
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x53a7ca
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [0x7dc808]
mov ebx, dword [ebx + 0xb4]
add ebx, 0x54
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
push str.zid
push dword [ebp - 0x48]
push str.__type1sid
mov ecx, 4
call fcn.0040111d
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x53a80e
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [0x7dcc90]
test ebx, ebx
je 0x53a825
push ebx
call fcn.005cb7e1
add esp, 4
pop eax
mov dword [0x7dcc90], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004038b4
mov eax, 0
cmp eax, ecx
jl 0x53a853
push 0x131c
push 0x40226fa
push 1
call fcn.005cb7ed
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
call fcn.00528671
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x1c]
call fcn.004038b4
mov eax, 1
cmp eax, ecx
jl 0x53a89b
push 0x133c
push 0x40226fa
push 1
call fcn.005cb7ed
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
test eax, eax
jne 0x53a8b8
mov eax, 0x67883c
push eax
push 1
mov ebx, 0x5ccb20
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [0x7dc8b4]
add ebx, 0x10
mov dword [ebp - 0x40], ebx
push 1
push dword [ebp - 0x40]
push 0x53c052
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push eax
push 0x7dcc94
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x53a910
push ebx
call fcn.005cb7e1
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x53a957
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x68f54d
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b9c1
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a94d
push ebx
call fcn.005cb7e1
add esp, 4
jmp 0x53a9ca
push 0x80000301
push 0
push dword [ebp - 0x24]
push 1
mov ebx, 0x5cdd80
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push 0x68f55d
mov ecx, 2
call fcn.0040111d
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a99e
push ebx
call fcn.005cb7e1
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
call fcn.0040b9c1
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a9c3
push ebx
call fcn.005cb7e1
add esp, 4
pop ebx
pop ecx
jmp 0x53a646
add esp, 8
mov eax, dword [ebp - 0x20]
and eax, 1
xor eax, 1
test eax, eax
je 0x53aa7a
push reloc.WS2_32.dll_getsockname
push 0
push 0x53c071
push 1
mov ebx, 0x5ccb20
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
mov eax, 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x18
push dword [ebp - 0x2c]
push 0
push 0
mov eax, 1
call fcn.005cb7f3
cmp dword [ebp - 0x30], esp
je 0x53aa4b
push 0x14c3
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
mov eax, 2
call fcn.005cb7f3
cmp dword [ebp - 0x3c], esp
je 0x53aa7a
push 0x14c3
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
jmp 0x53ab48
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x68f56d
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b9c1
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53aaac
push ebx
call fcn.005cb7e1
add esp, 4
push reloc.WS2_32.dll_getsockname
push 0
push 0x53c071
push 1
mov ebx, 0x5ccb20
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
mov eax, 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x18
push dword [ebp - 0x2c]
push 0
push 0
mov eax, 1
call fcn.005cb7f3
cmp dword [ebp - 0x30], esp
je 0x53ab19
push 0x156e
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
mov eax, 2
call fcn.005cb7f3
cmp dword [ebp - 0x3c], esp
je 0x53ab48
push 0x156e
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
jmp 0x53ac16
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x68f57f
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b9c1
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53ab7a
push ebx
call fcn.005cb7e1
add esp, 4
push reloc.WS2_32.dll_getsockname
push 0
push 0x53c071
push 1
mov ebx, 0x5ccb20
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
mov eax, 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x18
push dword [ebp - 0x2c]
push 0
push 0
mov eax, 1
call fcn.005cb7f3
cmp dword [ebp - 0x30], esp
je 0x53abe7
push 0x1619
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
mov eax, 2
call fcn.005cb7f3
cmp dword [ebp - 0x3c], esp
je 0x53ac16
push 0x1619
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
jmp 0x53acb7
push reloc.WS2_32.dll_getsockname
push 0
push 0x53c071
push 1
mov ebx, 0x5ccb20
call fcn.005cb7f9
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
mov eax, 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x18
push dword [ebp - 0x2c]
push 0
push 0
mov eax, 1
call fcn.005cb7f3
cmp dword [ebp - 0x30], esp
je 0x53ac88
push 0x169b
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
mov eax, 2
call fcn.005cb7f3
cmp dword [ebp - 0x3c], esp
je 0x53acb7
push 0x169b
push 0x40226fa
push 6
call fcn.005cb7ed
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x53acc7
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x53acd7
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x53ace7
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x53acf7
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x53ad07
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x53ad17
push ebx
call fcn.005cb7e1
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x53ad35
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x53ad31
imul eax, dword [ebx]
jmp 0x53ad26
mov ecx, eax
test ecx, ecx
je 0x53ad54
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x53ad4d
push ebx
push eax
call fcn.005cb7e1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x53ad3b
call fcn.005cb7e1
add esp, 4
mov esp, ebp
pop ebp
ret 4