Function at 0x40ce31
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
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.0042818d
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x53c805
push ebx
add ebx, 8
push ebx
push 8
call fcn.0042818d
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.0040e0ba
pop ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov eax, str.https:__comm.ams.game.qq.com_ide_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40cef3
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov eax, str.iChartId289043iSubChartId289043sIdeTokenJaUJ2P
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40cf14
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16014123
push 0x520134ba
push 3
mov eax, 1
mov ebx, 0x4908e0
call fcn.004281b1
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40cf6b
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, str.Accept:_application_json__text_plain____r_nAccept_Encoding:_gzip__deflate__br_r_nAccept_Language:_zh_CN_zh_q0.9_en_US_q0.8_en_q0.7_r_nConnection:_keep_alive_r_nContent_Length:_301_r_nContent_Type:_application_x_www_form_urlencoded_r_nHost:_comm.ams.game.qq.com_r_nOrigin:_https:__app.daoju.qq.com_r_nReferer:_https:__app.daoju.qq.com__r_nSec_Fetch_Dest:_empty_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Site:_same_site_r_nUser_Agent:_Mozilla_5.0__Linux__Android_10__MI_8_Build_QKQ1.190828.002__wv__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_109.0.5414.86_MQQBrowser_6.2_TBS_047001_Mobile_Safari_537.36_TencentDaojucheng_v4.8.0.0_appSource_android_appVersion_156_GDTTangramMobSDK_8.655.3560_GDTMobSDK_8.655.3560_plNo_253_GH_QQConnect_Appinfo_sDeviceID00d4db4c7eabf623bdf5357d6c4b30c15bd9c29ec42c86128271630545446a71firmwareVersion10systemandroidphoneBrandXiaomiphoneVersionMI8displayMetrics1080__2115cpuAArch64_Processor_rev_13__aarch64_netwifi_r_nX_Requested_With:_com.tencent.djcity
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40cf85
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 8
call fcn.0042818d
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push dword [ebp - 0x18]
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00405f33
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40d084
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40d094
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40d0a4
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40d0b4
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40d0c4
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d0d4
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42c970
call fcn.0042819f
add esp, 0x10
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d10b
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x1c], 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
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d98e
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d151
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d161
push ebx
call fcn.004281a5
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40d174
mov eax, 0x526468
push eax
push 1
mov ebx, 0x429c70
call fcn.0042819f
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40d19a
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d1ae
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x20
call fcn.0042818d
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x30]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d20a
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d21e
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d232
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d246
push ebx
call fcn.004281a5
add esp, 4
pop ebx
call fcn.004281a5
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
mov eax, str.jData.step
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d28a
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d29e
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push str.iChartId289108iSubChartId289108sIdeTokenAIJqYlstep
mov ecx, 2
call fcn.004010d7
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40d2ce
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 8
call fcn.0042818d
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push dword [ebp - 0x18]
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00405f33
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40d3cd
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40d3dd
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40d3ed
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40d3fd
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40d40d
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d41d
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42c970
call fcn.0042819f
add esp, 0x10
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d454
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x1c], 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
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d98e
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d49a
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d4aa
push ebx
call fcn.004281a5
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40d4bd
mov eax, 0x526468
push eax
push 1
mov ebx, 0x429c70
call fcn.0042819f
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40d4e3
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d4f7
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x20
call fcn.0042818d
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x30]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d553
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d567
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d57b
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d58f
push ebx
call fcn.004281a5
add esp, 4
pop ebx
call fcn.004281a5
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
mov eax, str.jData.sMsg
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d5d3
push ebx
call fcn.004281a5
add esp, 4
push 0x4f9678
push dword [ebp - 0x38]
call fcn.00401133
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d601
push ebx
call fcn.004281a5
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x40d663
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
mov eax, str.sMsg
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d646
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d65a
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
jmp 0x40d6b6
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
mov eax, str.jData.sMsg
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d69e
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d6b2
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40d6c9
mov eax, 0x4f9678
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16014123
push 0x520134ba
push 4
mov eax, 1
mov ebx, 0x490ad0
call fcn.004281b1
add esp, 0x34
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x53c7e9
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040b590
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d746
push ebx
call fcn.004281a5
add esp, 4
cmp dword [ebp - 0x3c], 0xffffffff
je 0x40d7d9
push reloc.WS2_32.dll_connect
push 0
push 0x53c7fc
push 0x80000301
push 0
push 6
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16014123
push 0x520134ba
push 4
mov eax, 1
mov ebx, 0x490ad0
call fcn.004281b1
add esp, 0x34
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16014123
push 0x520134ba
push 3
mov eax, 1
mov ebx, 0x490af0
call fcn.004281b1
add esp, 0x28
jmp 0x40d7d9
push 0x80000301
push 0
push 1
push 0x20002
push 0x1601411c
push 0x520134ba
push 2
mov eax, 1
mov ebx, 0x490520
call fcn.004281b1
add esp, 0x1c
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16014123
push 0x520134ba
push 3
mov eax, 1
mov ebx, 0x4908e0
call fcn.004281b1
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0x53bfc5
push dword [ebp - 0x2c]
push 0x53c801
push dword [ebp - 0x34]
push 0x53c801
push dword [ebp - 0x30]
mov ecx, 6
call fcn.004010d7
add esp, 0x18
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40d885
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d895
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d8a9
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push dword [0x6f7550]
call fcn.0040e03a
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40d8cb
mov eax, 0x4f9678
push eax
push 0x10005
push 0x1601412e
push 0x520134ba
push 2
mov ebx, 0x42b4b0
call fcn.0042819f
add esp, 0x1c
push dword [0x6f7550]
call fcn.0040e07a
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d908
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40d918
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40d928
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d938
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d948
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d958
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d978
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d988
push ebx
call fcn.004281a5
add esp, 4
mov esp, ebp
pop ebp
ret 4