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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
push 0xc
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 [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 - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, str.https:__api.unipay.qq.com_v1_r_1450000186_trade_record_query
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10022b52
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.api.unipay.qq.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 - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10022b98
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10022ba8
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
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 - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10022bea
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10022bfa
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Mozilla_5.0__Linux__Android_10__VOG_AL00_Build_HUAWEIVOG_AL00__wv__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_89.0.4389.72_MQQBrowser_6.2_TBS_045913_Mobile_Safari_537.36_V1_AND_SQ_8.8.55_2390_YYB_D_A_8085500_QQ_8.8.55.6900_NetType_WIFI_WebP_0.3.0_Pixel_1080_StatusBarHeight_75_SimpleUISwitch_0_QQTheme_1000_InMagicWin_0_StudyMode_0_CurrentMode_0_CurrentFontScale_1.0
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 - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10022c3c
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10022c4c
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x10083cab
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Accept
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
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 - 0x24]
test ebx, ebx
je 0x10022c8e
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10022c9e
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.zh_cn
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
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 - 0x24]
test ebx, ebx
je 0x10022ce0
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10022cf0
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.application_x_www_form_urlencoded__CharsetUTF_8
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 - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10022d32
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10022d42
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.https:__api.unipay.qq.com_v1_r_1450000186_trade_record_query
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 - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10022d84
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10022d94
push ebx
call fcn.10059907
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10022dc5
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 1
push 1
mov eax, str.skey
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.10001cb4
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10022df7
push ebx
call fcn.10059907
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10022e0b
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 4
call fcn.1002318a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 0xa
call fcn.1002318a
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 4
call fcn.1002318a
mov dword [ebp - 0x30], eax
push str.msg_len70
push dword [ebp - 0x30]
push str.session_iduinsession_typeskey__referencrypt_msgcb80f439695ffa7b02781cd703821ff2318c083ac3fa18e0600694e7c798ef871f6ed9de9a0d7c5d9b6896d94f0933b90f33ec818ced211d131bd8296e6370502f0c14bc852b2013f7db0396f0f
push dword [ebp - 0x10]
push str.openkey
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.openid
push dword [ebp - 0x28]
push str._B239_81D74BFCB3D91642923677483webversionMidasTradeRecord1.0r0.690239
push dword [ebp - 0x20]
push str.PageSize50SystemTypeportalpf__mds_pay_account_recordpfkeypfkeyfrom_h51session_token2977A0E2_8D63_
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str.EndUnixTime
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.CmdCodequery2SubCmdCodedefaultPageNum1BeginUnixTime
mov ecx, 0xf
call fcn.10001208
add esp, 0x3c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10022ebd
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10022ecd
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10022edd
push ebx
call fcn.10059907
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10022ef1
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 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
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
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
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
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
push dword [ebp + 8]
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.10012012
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x10022ff4
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x10023004
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10023014
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10023024
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10023034
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10023044
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10023054
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10023064
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10023074
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10023084
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10023094
push ebx
call fcn.10059907
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x100230a7
mov eax, 0x1008389c
push eax
push 1
mov ebx, 0x168
call fcn.1005ba30
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x100230cd
push ebx
call fcn.10059907
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.10008eb3
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x100230e9
push ebx
call fcn.10059907
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100230fd
push ebx
call fcn.10059907
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002311d
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 0x10023122
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10023133
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10023153
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10023163
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10023173
push ebx
call fcn.10059907
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10023183
push ebx
call fcn.10059907
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10