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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
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 0x20004
push 0x16016764
push 0x52010001
push 1
mov eax, 1
mov ebx, 0x503360
call fcn.00497d73
add esp, 0x10
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40b872
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push reloc.WS2_32.dll_connect
push 0
push 0x534783
push 0x80000301
push 0
push 3
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x5032e0
call fcn.00497d73
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40b7ff
add esp, 0xc
push 0x20004
push 0x16016764
push 0x52010001
push 1
mov eax, 1
mov ebx, 0x503360
call fcn.00497d73
add esp, 0x10
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40c097
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push 0x80000301
push 0
push 7
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x5030f0
call fcn.00497d73
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b91d
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push 0x80000301
push 0
push 8
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x5030f0
call fcn.00497d73
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b98c
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push 0x80000301
push 0
push 0xb
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x5030f0
call fcn.00497d73
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b9fb
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.004010cb
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40ba28
mov eax, 0x534783
push eax
push reloc.WS2_32.dll_connect
push 0
push str._itemId_
push reloc.WS2_32.dll_connect
push 0
push str._deviceSource_:_CCE___orderSource_:_product.detail.page___buyConfig_:_lineGrouped_:true__multipleCoupon_:true__isAssetEnable_:true__autoUseIntegral_:true__recommendItem_:true__orderLineList_:__skuId_:_skuId___itemId_:_itemId___quantity_:_quantity___installmentNumber_:1__integralOrderPayType_:1___divisionIds_:_110000_110100_110105___addressId_:null__couponParams_:____benefitParams_:____extraParam_:_integralOrderPayType_:1__recommendItem_:null__activityCalculateOption_:
push 6
mov ebx, 0x499180
call fcn.00497d61
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ba6a
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.004010cb
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40ba97
mov eax, 0x534783
push eax
push reloc.WS2_32.dll_connect
push 0
push str._skuId_
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40bab7
mov eax, 0x534783
push eax
push 6
mov ebx, 0x499180
call fcn.00497d61
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40bae1
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.004010cb
push reloc.WS2_32.dll_connect
push 0
push 0x534837
push reloc.WS2_32.dll_connect
push 0
push str._quantity_
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40bb26
mov eax, 0x534783
push eax
push 6
mov ebx, 0x499180
call fcn.00497d61
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40bb50
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.00497d5b
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
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
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
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
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
mov eax, str.Pragma:_no_cache_r_nAccept:_application_json_r_nx_requested_with:_XMLHttpRequest_r_nSec_Fetch_Site:_same_origin_r_ndevice_type:_CCE_r_nAccept_Language:_zh_CN_zh_Hans_q0.9_r_nCache_Control:_no_cache_r_nSec_Fetch_Mode:_cors_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_16_6_1_like_Mac_OS_X__AppleWebKit_605.1.15__KHTML__like_Gecko__Mobile_20G81_NebulaSDK_1.8.100112_Nebula_cgbCreditBank_8.2.0.0_UnionPay_1.0_fantasy_WK_PSDType_0__mPaaSClient_2311081758_r_nContent_Type:_application_json__charsetUTF_8_r_nbusiness_version:_20230908_r_nSec_Fetch_Dest:_empty_r_nbusiness_version:_20230519
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 1
mov eax, str.https:__mall.cgbchina.com.cn_api_trade_buy_render_order
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00404f9e
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40bc61
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40bc71
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40bc81
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40bc91
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40bca1
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40bcb1
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40bcc1
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40bcd1
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x49ca80
call fcn.00497d61
add esp, 0x10
call fcn.00497d55
add esp, 4
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00409746
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40bd36
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40bd46
push ebx
call fcn.00497d55
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40bd56
push ebx
call fcn.00497d55
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40bd69
mov eax, 0x534ca7
push eax
push 1
mov ebx, 0x499d70
call fcn.00497d61
add esp, 0x10
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40bd8f
push ebx
call fcn.00497d55
add esp, 4
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40bda3
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x5352c6
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40bdd8
mov eax, 0x534783
push eax
push 4
mov ebx, 0x498810
call fcn.00497d61
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x40c00f
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push 0x80000301
push 0
push 2
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x5030f0
call fcn.00497d73
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40be63
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040b3a2
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40be90
push ebx
call fcn.00497d55
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bea4
push ebx
call fcn.00497d55
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x534783
push dword [ebp - 0x10]
call fcn.00403fd1
add esp, 8
cmp eax, 0
je 0x40bf2e
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40bee6
mov eax, 0x534783
push eax
push 0x80000301
push 0
push 0xb
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x5032e0
call fcn.00497d73
add esp, 0x34
jmp 0x40c00f
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push reloc.WS2_32.dll_connect
push 0
push 0x534783
push 0x80000301
push 0
push 0xb
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x5032e0
call fcn.00497d73
add esp, 0x34
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push reloc.WS2_32.dll_connect
push 0
push 0x5352d1
push 0x80000301
push 0
push 3
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x5032e0
call fcn.00497d73
add esp, 0x34
mov eax, 0x5352d1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401d91
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c00f
push ebx
call fcn.00497d55
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x534748]
fstp qword [ebp - 0x2c]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40c034
mov eax, 0x534783
push eax
push 0x80000301
push 0
push 0xb
fld qword [ebp - 0x2c]
call fcn.00401278
push 0x80000301
push 0
push eax
push 0x20004
push 0x16016764
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x5032e0
call fcn.00497d73
add esp, 0x34
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 0x1388
call fcn.0040492d
pop eax
pop ebx
pop ecx
jmp 0x40b8a4
add esp, 0xc
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
push 0x2710
call fcn.0040492d
jmp 0x40b875