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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0xc
call fcn.004202fe
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4ccf85
push ebx
add ebx, 8
push ebx
push 8
call fcn.004202fe
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.0040a65e
pop ebx
push 0xffffffffffffffff
push 8
push 0x1602ccb6
push 0x52010001
call fcn.00420322
add esp, 0x10
mov dword [ebp - 0xc], eax
push str.boost_id7Pi46ai2ff4
push dword [ebp - 0xc]
push str.gid0gameId0share_key
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.https:__act.iwan.qq.com_trpc.iwan.mission_system_server.MissionSystemSvr_dealSimpleMission_platformId8platformid8acctypeqqmissionId
mov ecx, 5
call fcn.0040405e
add esp, 0x14
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40babd
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 8
call fcn.004202fe
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push 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
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
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
push 1
mov eax, str.Host:_act.iwan.qq.com_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:121.0__Gecko_20100101_Firefox_121.0_r_nAccept:_application_json_r_nAccept_Language:_zh_CN_zh_q0.8_zh_TW_q0.7_zh_HK_q0.5_en_US_q0.3_en_q0.2_r_nOrigin:_https:__a.iwan.qq.com_r_nDNT:_1_r_nConnection:_keep_alive_r_nSec_Fetch_Dest:_empty_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Site:_same_site
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push dword [ebp + 8]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.00404166
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bbc8
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40bbd8
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40bbe8
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40bbf8
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40bc08
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40bc18
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40bc28
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40bc38
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40bc48
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x424150
call fcn.004202f8
add esp, 0x10
call fcn.00420304
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x40bc7e
mov eax, 0x4cc90e
push eax
push 1
mov ebx, 0x421a30
call fcn.004202f8
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40bca4
push ebx
call fcn.00420304
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.0040a036
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40bcc0
push ebx
call fcn.00420304
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bcd4
push ebx
call fcn.00420304
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x20
call fcn.004202fe
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bd30
push ebx
call fcn.00420304
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bd44
push ebx
call fcn.00420304
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bd58
push ebx
call fcn.00420304
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40bd6c
push ebx
call fcn.00420304
add esp, 4
pop ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
mov eax, 0x4d3dd3
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bdb0
push ebx
call fcn.00420304
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40bdb8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bdc9
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00420304
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8