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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0xa
jg 0x40f83a
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x40f49a
push eax
mov ebx, eax
call fcn.00401bbe
inc eax
push eax
call fcn.00466c0f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f4ab
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
call fcn.0040a95c
mov dword [ebp - 0x28], eax
push str._r_nX_Requested_With:_com.bitplay.art_r_nAccept_Language:_zh_CN_zh_q0.9_en_US_q0.8_en_q0.7
push dword [ebp - 0x28]
push str.Host:_cash.yeepay.com_r_nConnection:_keep_alive_r_nUpgrade_Insecure_Requests:_1_r_nUser_Agent:_Mozilla_5.0__Linux__Android_11__GM1910_Build_RKQ1.201022.002__wv__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_89.0.4389.72_MQQBrowser_6.2_TBS_046133_Mobile_Safari_537.36_ibox_app__iBoxWebView_iboxVersion1.0.15__r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9_image_avif_image_webp_image_apng_image_tpg___q0.8_application_signed_exchange_vb3_q0.9_r_nsource:_0_r_ntimestamp:
mov ecx, 3
call fcn.00401c29
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40f4f7
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f50b
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0xc], 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
push dword [ebp - 0x2c]
push 8
call fcn.00466c0f
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
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
push 1
push 1
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0xc]
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 dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00404e57
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40f60c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40f61c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40f62c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40f63c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40f64c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40f65c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f66c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x46c4e0
call fcn.00466c27
add esp, 0x10
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f6a3
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x10], 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
lea eax, [ebp - 0x10]
push eax
call fcn.004095ff
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f6e9
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40f6f9
push ebx
call fcn.00466c15
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40f70c
mov eax, 0x510e87
push eax
push 1
mov ebx, 0x468870
call fcn.00466c27
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f732
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f746
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5113dd
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Location:
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407fda
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f796
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f7a6
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f7ba
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.token
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040460b
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f7fe
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f812
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x510a44
push dword [ebp - 0x20]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40f834
jmp 0x40f83a
pop ecx
jmp 0x40f471
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40f859
push eax
mov ebx, eax
call fcn.00401bbe
inc eax
push eax
call fcn.00466c0f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40f85e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f86f
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f87f
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f88f
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40f89f
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f8af
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f8bf
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f8cf
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4