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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0xc
call fcn.0040e97c
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], 0x4ad5b1
push ebx
add ebx, 4
push ebx
push 8
call fcn.0040e97c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ad2da
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.0040e97c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ad2da
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__community_server.hortorgames.com_community_server_api_v1_vip_boss_gameIdxyzw_mixroleId
mov ecx, 2
call fcn.004013b9
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402b4d
push ebx
call fcn.0040e982
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x4ad3a0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Accept
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402b93
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402ba3
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.gzip__deflate__br
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Accept_Encoding
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402be5
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402bf5
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.zh_CN_zh_q0.9
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402c37
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402c47
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.keep_alive
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Connection
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402c89
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402c99
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.community_server.hortorgames.com
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Host
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402cdb
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402ceb
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.https:__link.hortorgames.com
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Origin
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402d2d
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402d3d
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.https:__link.hortorgames.com_
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Referer
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402d7f
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402d8f
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.empty
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Sec_Fetch_Dest
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402dd1
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402de1
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.cors
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Sec_Fetch_Mode
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402e23
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402e33
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.same_site
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Sec_Fetch_Site
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402e75
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402e85
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_122.0.0.0_Safari_537.36_MicroMessenger_7.0.20.1781_0x6700143B__NetType_WIFI_MiniProgramEnv_Windows_WindowsWechat_WMPF_WindowsWechat_0x63090b19_XWEB_11253
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402ec7
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402ed7
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push dword [ebp + 0xc]
mov eax, 0x4ad304
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402f10
push ebx
call fcn.0040e982
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0040e97c
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x28]
push 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
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]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
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
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
push 0
lea eax, [ebp - 4]
push eax
call fcn.0040326d
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x403038
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x403048
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x403058
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403068
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x403078
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403088
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x403098
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4030a8
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4030b8
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x411520
call fcn.0040e976
add esp, 0x10
call fcn.0040e982
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4030ef
push ebx
call fcn.0040e982
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00407c38
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403113
push ebx
call fcn.0040e982
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403133
push eax
mov ebx, eax
call fcn.0040134e
inc eax
push eax
call fcn.0040e97c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403138
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403149
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403169
push ebx
call fcn.0040e982
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403179
push ebx
call fcn.0040e982
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8