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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push 0xc
call fcn.1005990d
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 8
call fcn.1005990d
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.1005990d
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], 0x1008408a
push ebx
add ebx, 4
push ebx
push 8
call fcn.1005990d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10083543
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.1005990d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10083543
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push dword [ebp + 0xc]
call fcn.10009215
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10031839
push ebx
call fcn.10059907
add esp, 4
pop ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
call fcn.1000b21c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10031869
push ebx
call fcn.10059907
add esp, 4
pop ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], ebx
push 1
push 1
push 1
push 1
push dword [ebp - 0x28]
call fcn.1000c344
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100318a9
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x28], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.1005ba30
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.1005ba30
add esp, 0x10
mov dword [ebp - 0x34], eax
push 1
push 1
push 1
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.1000c344
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
call fcn.10004131
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
call fcn.10004131
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push str.261_
push dword [ebp - 0x40]
push str.callback
push dword [ebp - 0x38]
push str.sAreaName
push dword [ebp - 0x34]
push 0x10083c40
push dword [ebp - 0xc]
push str.tempAreaname
push dword [ebp - 0x2c]
push str.https:__comm.aci.game.qq.com_main_gamednfsCloudApiNameams.gameattr.roletempArea
mov ecx, 0xc
call fcn.10001208
add esp, 0x30
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10031993
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100319a3
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x100319b3
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100319c3
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100319d3
push ebx
call fcn.10059907
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100319e7
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x10083cab
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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]
test ebx, ebx
je 0x10031a2d
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10031a3d
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.zh_CN_zh_q0.9
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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]
test ebx, ebx
je 0x10031a7f
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10031a8f
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.https:__dnf.qq.com_
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Referer
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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]
test ebx, ebx
je 0x10031ad1
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10031ae1
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_112.0.0.0_Safari_537.36
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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]
test ebx, ebx
je 0x10031b23
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10031b33
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10031b64
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0x18], 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]
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
push 1
push 1
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
push dword [ebp + 8]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.1000d025
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10031bfb
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10031c0b
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10031c1b
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10031c2b
push ebx
call fcn.10059907
add esp, 4
push htons
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x10031c3e
mov eax, 0x10083543
push eax
push 1
mov ebx, 0x168
call fcn.1005ba30
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10031c64
push ebx
call fcn.10059907
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10031c78
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
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 - 0x1c]
push eax
call fcn.1000f47b
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10031caf
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10031cbf
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x10083d6c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str._webplat_msg
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000255d
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10031d0b
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10031d1b
push ebx
call fcn.10059907
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10031d2f
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10031d4f
push eax
mov ebx, eax
call fcn.1000119d
inc eax
push eax
call fcn.1005990d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10031d54
push eax
mov ebx, dword [ebp - 4]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10031d69
push ebx
call fcn.10059907
add esp, 4
pop ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10031d86
push ebx
call fcn.10059907
add esp, 4
pop ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10031d9f
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10031daf
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10031dcf
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10031ddf
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10031def
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10031dff
push ebx
call fcn.10059907
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8