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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
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
push 0xc
call fcn.00466c0f
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x511369
push ebx
add ebx, 8
push ebx
push 8
call fcn.00466c0f
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.0040ed79
pop ebx
mov dword [ebp - 0x24], 0
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 5
jg 0x40f3ab
push dword [ebp + 0xc]
call fcn.0040f42e
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ee88
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x510a44
push dword [ebp - 4]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40f3a5
mov eax, str.https:__cash.yeepay.com_newh5_ajax_request_wallet_pay
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40eebb
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
push dword [ebp + 8]
call fcn.0040f8d6
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push str.bindIdpayTypeWALLET_BALANCEtradePassword
push dword [ebp - 4]
push str.token
mov ecx, 4
call fcn.00401c29
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40ef01
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ef15
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, str.Host:_cash.yeepay.com_r_nConnection:_keep_alive_r_nAccept:_application_json__text_plain____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_nContent_Type:_application_x_www_form_urlencoded_r_nOrigin:_https:__cash.yeepay.com_r_nX_Requested_With:_com.bitplay.art_r_nSec_Fetch_Site:_same_origin_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Dest:_empty_r_nReferer:_https:__cash.yeepay.com_newwap_mobile_cashier_index.html_r_nAccept_Language:_zh_CN_zh_q0.9_en_US_q0.8_en_q0.7
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ef2f
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x14], 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]
push 8
call fcn.00466c0f
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
push 1
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
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00404e57
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40f030
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40f040
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40f050
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40f060
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40f070
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f080
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40f090
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x34]
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 - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f0c7
push ebx
call fcn.00466c15
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
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004095ff
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f10d
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f11d
push ebx
call fcn.00466c15
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40f130
mov eax, 0x510e87
push eax
push 1
mov ebx, 0x468870
call fcn.00466c27
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f156
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f16a
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x20
call fcn.00466c0f
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x28]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f1c6
push ebx
call fcn.00466c15
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f1da
push ebx
call fcn.00466c15
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f1ee
push ebx
call fcn.00466c15
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f202
push ebx
call fcn.00466c15
add esp, 4
pop ebx
call fcn.00466c15
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, str.errormsg
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f246
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f25c
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, str.bizStatus
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f29d
push ebx
call fcn.00466c15
add esp, 4
push str.success
push dword [ebp - 0x30]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f2cb
push ebx
call fcn.00466c15
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x40f2e6
mov dword [ebp - 0x24], 1
jmp 0x40f3ab
mov dword [ebp - 0x24], 0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x53291e
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40f31e
mov eax, 0x510a44
push eax
push 4
mov ebx, 0x467550
call fcn.00466c27
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x40f393
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x53292b
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40f36f
mov eax, 0x510a44
push eax
push 4
mov ebx, 0x467550
call fcn.00466c27
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x40f393
xor eax, eax
jmp 0x40f398
mov eax, 1
test eax, eax
je 0x40f3a5
jmp 0x40f3ab
pop ecx
jmp 0x40ee5e
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x40f3b6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f3c7
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f3d7
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f3e7
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40f3f7
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f407
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f417
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00466c15
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10