Function at 0x40aecc
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
push 0xc
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4e25db
push ebx
add ebx, 8
push ebx
push 8
call fcn.0041c92c
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.00408347
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 8
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00407d32
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push str._member_dayResult_lotterySSCJSC_
push dword [0xed8908]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40afaa
push ebx
call fcn.0041c932
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 dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.0041c92c
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
push 1
push 6
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
push dword [ebp - 0x4c]
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
mov eax, str.Accept:___r_nAccept_Encoding:_gzip__deflate__br_r_nAccept_Language:_zh_CN_zh_q0.9_r_nContent_Type:_application_json_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_110.0.0.0_Safari_537.36_Edg_110.0.1587.41_r_nX_Requested_With:_XMLHttpRequest
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
push 0xed890c
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.00402b37
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b0ab
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40b0bb
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40b0cb
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40b0db
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40b0eb
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40b0fb
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b10b
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b11b
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b12b
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41cc90
call fcn.0041c926
add esp, 0x10
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b162
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0xc8
jne 0x40b438
lea eax, [ebp - 4]
push eax
call fcn.0040b5c7
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b193
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040b892
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40b1d9
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b1e9
push ebx
call fcn.0041c932
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40b1fc
mov eax, 0x4e210c
push eax
push 1
mov ebx, 0x41f800
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b222
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b236
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x40b438
push 1
mov eax, 0x4e1e7c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b283
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40b430
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x4e1fdf]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x41f800
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x34], eax
push str._.drawNumber
push dword [ebp - 0x34]
push 0x4e2baf
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b308
push ebx
call fcn.0041c932
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b33b
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b351
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 4
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x4e1fdf]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x41f800
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x34], eax
push str._.result
push dword [ebp - 0x34]
push 0x4e2baf
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b3bf
push ebx
call fcn.0041c932
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b3f2
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b408
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, 4
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.00409363
pop eax
pop ebx
pop ecx
jmp 0x40b295
add esp, 0xc
call fcn.0040bf81
mov ebx, dword [0xed8934]
call fcn.00402a52
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x40b560
mov ebx, dword [0xed8934]
call fcn.00402a6b
mov eax, 0
cmp eax, ecx
jl 0x40b471
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
push 0xffffffffffffffff
push 8
push 0x16012c6f
push 0x52010001
call fcn.0041c94a
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x24]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b4c3
push ebx
call fcn.0041c932
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x40b560
mov ebx, dword [0xed8934]
call fcn.00402a6b
mov eax, 0
cmp eax, ecx
jl 0x40b4ee
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
push 0
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0xffffffffffffffff
push 8
push 0x16012c6f
push 0x52010001
call fcn.0041c956
add esp, 0x18
mov ebx, dword [0xed8934]
call fcn.00402a6b
mov eax, 0
cmp eax, ecx
jl 0x40b536
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x20], ebx
push 0
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0xffffffffffffffff
push 8
push 0x16019013
push 0x52010001
call fcn.0041c956
add esp, 0x18
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b570
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b580
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b5a4
push ebx
call fcn.0041c932
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b5b8
push ebx
call fcn.0041c932
add esp, 4
pop ebx
call fcn.0041c932
add esp, 4
mov esp, ebp
pop ebp
ret 0x10