Function at 0x401b05
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
push 0xc
call fcn.0041fffd
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4c9d2a
push ebx
add ebx, 4
push ebx
push 8
call fcn.0041fffd
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4c9d1e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0041fffd
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4c9d1e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0xc
call fcn.0041fffd
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4c9d66
push ebx
add ebx, 8
push ebx
push 8
call fcn.0041fffd
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.0040790b
pop ebx
mov eax, str.https:__iwan.yyb.qq.com_trpc.iwan.mission_system_server.MissionSystemSvr_dealSimpleMission_platformId8platformid8acctypeqqmissionIdfOhVuEM_QKgameId24153sPlat1sArea2serverId1310sRoleId184422335223562265
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401c17
push ebx
call fcn.00420003
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x401c40
push eax
mov ebx, eax
call fcn.004019fd
inc eax
push eax
call fcn.0041fffd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401c51
push ebx
call fcn.00420003
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.application_json__text_plain___
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Accept
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401c97
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401ca7
push ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.zh_CN_zh_q0.9_en_US_q0.8_en_q0.7
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401ce9
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401cf9
push ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.keep_alive
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Connection
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401d3b
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401d4b
push ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.iwan.yyb.qq.com
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Host
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401d8d
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401d9d
push ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.https:__ovact.iwan.yyb.qq.com
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Origin
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401ddf
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401def
push ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.https:__ovact.iwan.yyb.qq.com_moka_act_Dad6V1JYD1icETq4AfJPd8w25c_page1_index.html_pageindexovscroll0download_pkgnamescom.tencent.cqsjbook_appids52392530only_openid1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Referer
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401e31
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401e41
push ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.Mozilla_5.0__Linux__Android_9__TAS_AN00_Build_PQ3B.190801.03011045__wv__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_91.0.4472.114_Mobile_Safari_537.36_apiLevel_28_qqdownloader_18_ft_apiLevel_1_0_0_0_yyb_version_8672130_yyb_build_4119_GDTTangramMobSDK_8.600.3343_GDTMobSDK_8.600.3343
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401e83
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401e93
push ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.com.tencent.android.qqdownloader
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.X_Requested_With
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401ed5
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401ee5
push ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401f16
push ebx
call fcn.00420003
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 8
push 0x1604f407
push 0x52010001
call fcn.0042002d
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x4c9978
push dword [ebp - 0x24]
call fcn.00401a68
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f61
push ebx
call fcn.00420003
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x40210e
call fcn.004024a6
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.0041fffd
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push 1
lea eax, [ebp - 0x24]
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
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0040283d
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40206e
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40207e
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40208e
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40209e
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4020ae
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4020be
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4020ce
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x423ab0
call fcn.0041fff7
add esp, 0x10
call fcn.00420003
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402105
push ebx
call fcn.00420003
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x4022ab
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
call fcn.0041fffd
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 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
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0040283d
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x402210
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x402220
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x402230
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x402240
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x402250
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x402260
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402270
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x423ab0
call fcn.0041fff7
add esp, 0x10
call fcn.00420003
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4022a7
push ebx
call fcn.00420003
add esp, 4
pop eax
mov dword [ebp - 0x18], 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
lea eax, [ebp - 0x18]
push eax
call fcn.0040725f
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4022ed
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4022fd
push ebx
call fcn.00420003
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x402310
mov eax, 0x4c9d1e
push eax
push 1
mov ebx, 0x4216b0
call fcn.0041fff7
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402336
push ebx
call fcn.00420003
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40234a
push ebx
call fcn.00420003
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x20
call fcn.0041fffd
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4023a6
push ebx
call fcn.00420003
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4023ba
push ebx
call fcn.00420003
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4023ce
push ebx
call fcn.00420003
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4023e2
push ebx
call fcn.00420003
add esp, 4
pop ebx
call fcn.00420003
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, 0x4c9d26
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
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 0x402426
push ebx
call fcn.00420003
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x40242e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40243f
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40244f
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40246f
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40247f
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40248f
push ebx
call fcn.00420003
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00420003
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4