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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x38
call fcn.00421c20
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [ebx], 0x4c5a21
push ebx
add ebx, 4
push ebx
push 8
call fcn.00421c20
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.0040ed93
pop ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, 0x4c50e9
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004066c7
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40ee61
push ebx
call fcn.00421c2c
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ee75
push ebx
call fcn.00421c2c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
call fcn.004061e7
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40eea1
push ebx
call fcn.00421c2c
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x4c50ec
push dword [ebp - 4]
push str.clientKeyH4oWJ5vpvOSUcXqfclientSecretiAmC8UffIPlsdsaTPT3Vxsd57UjjfH52nonce
mov ecx, 4
call fcn.00401096
add esp, 0x10
mov dword [ebp - 0x20], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40eed8
mov eax, 0x4bf9e0
push eax
push 1
mov ebx, 0x423040
call fcn.00421c26
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40eefe
push ebx
call fcn.00421c2c
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.004069d3
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ef2d
push ebx
call fcn.00421c2c
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ef41
push ebx
call fcn.00421c2c
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push str.signature
push dword [ebp - 4]
push str.nonce
push dword [ebp - 8]
push str.https:__mengniu_apig.xiaoyisz.com_mengniu_world_cup_1122_mp_public_api_timestamp_timestamp
mov ecx, 6
call fcn.00401096
add esp, 0x18
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ef81
push ebx
call fcn.00421c2c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40efda
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40efea
push ebx
call fcn.00421c2c
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
push 1
mov eax, 0x4c545c
mov dword [ebp - 0x24], eax
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 + 0x4c]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f026
push ebx
call fcn.00421c2c
add esp, 4
mov eax, str.mengniu_apig.xiaoyisz.com
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Host
mov dword [ebp - 0x24], eax
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 + 0xb0]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f05f
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f06f
push ebx
call fcn.00421c2c
add esp, 4
mov eax, str.keep_alive
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Connection
mov dword [ebp - 0x24], eax
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 + 0xb0]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f0a8
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f0b8
push ebx
call fcn.00421c2c
add esp, 4
push dword [ebp + 8]
mov eax, str.authorization
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f0e8
push ebx
call fcn.00421c2c
add esp, 4
mov eax, str.utf_8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.charset
mov dword [ebp - 0x24], eax
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 + 0xb0]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f121
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f131
push ebx
call fcn.00421c2c
add esp, 4
mov eax, str.Mozilla_5.0__Linux__Android_11__M2012K10C_Build_RP1A.200720.011__wv__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_86.0.4240.99_XWEB_4365_MMWEBSDK_20220903_Mobile_Safari_537.36_MMWEBID_2077_MicroMessenger_8.0.28.2240_0x28001C57__WeChat_arm64_Weixin_NetType_WIFI_Language_zh_CN_ABI_arm64_MiniProgramEnv_android
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x24], eax
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 + 0xb0]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f16a
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f17a
push ebx
call fcn.00421c2c
add esp, 4
mov eax, str.application_json
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.content_type
mov dword [ebp - 0x24], eax
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 + 0xb0]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f1b3
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f1c3
push ebx
call fcn.00421c2c
add esp, 4
mov eax, str.https:__servicewechat.com_wx8e45b2134cbeddff_59_page_frame.html
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Referer
mov dword [ebp - 0x24], eax
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 + 0xb0]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f1fc
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f20c
push ebx
call fcn.00421c2c
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x6c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f251
push ebx
call fcn.00421c2c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f271
push eax
mov ebx, eax
call fcn.0040102b
inc eax
push eax
call fcn.00421c20
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40f276
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f287
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f297
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f2a7
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f2b7
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f2d7
push ebx
call fcn.00421c2c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f2e7
push ebx
call fcn.00421c2c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8