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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.0042818d
add esp, 4
mov dword [ebp - 0x14], 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 - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
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 0x40e1e0
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0xf
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 - 8]
test ebx, ebx
je 0x40e237
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0xe
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 - 0xc]
test ebx, ebx
je 0x40e28e
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0xc], 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
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e2e5
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x10], 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 - 0xc]
push eax
lea eax, [ebp - 0x14]
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 0x40e341
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e355
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e369
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e37d
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.check_0_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
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 0x40e3c1
push ebx
call fcn.004281a5
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 1
mov eax, str.check_1_
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40e3fc
push ebx
call fcn.004281a5
add esp, 4
push 1
push 1
push 1
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.0040ebb2
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40e426
push ebx
call fcn.004281a5
add esp, 4
push 1
push 1
push 1
push 1
lea eax, [ebp - 0x48]
push eax
call fcn.0040ebb2
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40e450
push ebx
call fcn.004281a5
add esp, 4
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push 1
mov eax, str.check_2_
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x14]
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 - 0x54]
test ebx, ebx
je 0x40e48b
push ebx
call fcn.004281a5
add esp, 4
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
push 1
mov eax, str.check_3_
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40e4c6
push ebx
call fcn.004281a5
add esp, 4
push str.sAreaNameQQ_2525E6_25259C_25258D_2525E5_25258A_2525A1_2525E5_252599_2525A8sPlatId1
push dword [ebp - 0x64]
push str.sCheckparam
push dword [ebp - 0x58]
push str.sArea2sPartition1101sMd5str
push dword [ebp - 0x4c]
push str.sRoleName
push dword [ebp - 0x38]
push str.sRoleId
push dword [ebp - 8]
mov ecx, 0xa
call fcn.004010d7
add esp, 0x28
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e50e
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40e51e
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40e52e
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40e53e
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e552
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x18], 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 - 0x1c]
test ebx, ebx
je 0x40e5a9
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, str.Accept:___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_nReferer:_https:__ffm.qq.com_cp_a20240531ozbyr_index.html_r_nSec_Fetch_Dest:_script_r_nSec_Fetch_Mode:_no_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_047101_Mobile_Safari_537.36_V1_AND_SQ_9.0.30_6038_YYB_D_QQ_9.0.30.15995_NetType_WIFI_WebP_0.3.0_AppId_537211931_Pixel_1080_StatusBarHeight_90_SimpleUISwitch_0_QQTheme_1000_StudyMode_0_CurrentMode_0_CurrentFontScale_1.0_GlobalDensityScale_0.9818182_AllowLandscape_false_InMagicWin_0
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e5c3
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
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 1
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 - 0x20]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00405f33
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40e6bf
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40e6cf
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40e6df
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40e6ef
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40e6ff
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40e70f
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
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x40e745
mov eax, 0x526468
push eax
push 1
mov ebx, 0x429c70
call fcn.0042819f
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40e76b
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e77f
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x24], 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 - 0x24]
push eax
lea eax, [ebp - 0x14]
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 0x40e7db
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e7ef
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e803
push ebx
call fcn.004281a5
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e817
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 - 0x14]
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 0x40e85b
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 0x40e889
push ebx
call fcn.004281a5
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x40e8eb
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 - 0x14]
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 0x40e8ce
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e8e2
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x40e93e
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 - 0x14]
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 0x40e926
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e93a
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040f33e
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e95e
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push dword [0x6f7550]
push 1
mov eax, 5
mov ebx, 0x49bfa0
call fcn.004281b1
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40e999
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 dword [0x6f7550]
push 1
mov eax, 5
mov ebx, 0x49bfc0
call fcn.004281b1
add esp, 0x10
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 0x53bfc5
push dword [ebp - 0x28]
push 0x53c801
push dword [ebp - 0x10]
push 0x53c801
push dword [ebp - 0x30]
mov ecx, 6
call fcn.004010d7
add esp, 0x18
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ea67
push ebx
call fcn.004281a5
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ea7b
push ebx
call fcn.004281a5
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [0x6f7550]
push 1
mov eax, 5
mov ebx, 0x49bfa0
call fcn.004281b1
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40eab6
mov eax, 0x4f9678
push eax
push 0x10005
push 0x1601412e
push 0x520134ba
push 2
mov ebx, 0x42b4b0
call fcn.0042819f
add esp, 0x1c
push 0x80000301
push 0
push dword [0x6f7550]
push 1
mov eax, 5
mov ebx, 0x49bfc0
call fcn.004281b1
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40eb0c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40eb1c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40eb2c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40eb3c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40eb5c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40eb6c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40eb7c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40eb8c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40eb9c
push ebx
call fcn.004281a5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ebac
push ebx
call fcn.004281a5
add esp, 4
mov esp, ebp
pop ebp
ret 4