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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
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 eax, str.https:__comm.ams.game.qq.com_ide_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4158ac
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 0x4158cd
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 - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x415924
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:_314_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 0x41593e
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 1
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
push dword [ebp - 0x34]
push 8
call fcn.0042818d
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
push dword [ebp - 0x18]
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
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
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 - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x415a3d
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x415a4d
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x415a5d
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x415a6d
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x415a7d
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x415a8d
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x38]
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 - 0x60]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x415ac4
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d98e
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x415b0a
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x415b1a
push ebx
call fcn.004281a5
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x415b2d
mov eax, 0x526468
push eax
push 1
mov ebx, 0x429c70
call fcn.0042819f
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x415b53
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x415b67
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 - 0x2c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
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 - 0x2c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x415bc3
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x415bd7
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x415beb
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x415bff
push ebx
call fcn.004281a5
add esp, 4
pop ebx
call fcn.004281a5
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
mov eax, str.jData.dice
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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 - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x415c43
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x415c57
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x415c6e
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
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 - 0x2c], 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 - 0x30], eax
push 0x53bfc5
push dword [ebp - 0x28]
push 0x53c801
push dword [ebp - 0x30]
push 0x53c801
push dword [ebp - 0x2c]
mov ecx, 6
call fcn.004010d7
add esp, 0x18
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x415d57
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x415d67
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x415d7b
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x415d92
mov eax, 0x4f9678
push eax
push 0x10005
push 0x1601412e
push 0x520134ba
push 2
mov ebx, 0x42b4b0
call fcn.0042819f
add esp, 0x1c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x415dc4
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x415dd4
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x415de4
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x415df4
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x415e04
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x415e14
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 0x415e34
push ebx
call fcn.004281a5
add esp, 4
mov esp, ebp
pop ebp
ret 4