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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
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
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.00407d32
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push str._member_period_lotterySSCJSCgamesDX1_2CDX2_2CDX3_2CDX4_2CDX5_2CDX6_2CDX7_2CDX8_2CDX9_2CDX10_2CDS1_2CDS2_2CDS3_2CDS4_2CDS5_2CDS6_2CDS7_2CDS8_2CDS9_2CDS10_2CGDX_2CGDS_2CLH1_2CLH2_2CLH3_2CLH4_2CLH5_2CB1_2CB2_2CB3_2CB4_2CB5_2CB6_2CB7_2CB8_2CB9_2CB10_2CGDX_2CGDS_2CGYH_
push dword [0xed8908]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4074c4
push ebx
call fcn.0041c932
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
push 1
push 6
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]
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
mov eax, str.User_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_r_nAccept:___r_nAccept_Language:_zh_CN_zh_q0.8_zh_TW_q0.7_zh_HK_q0.5_en_US_q0.3_en_q0.2_r_nX_Requested_With:_XMLHttpRequest
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push 0xed890c
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00402b37
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4075c5
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4075d5
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4075e5
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4075f5
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x407605
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x407615
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x407625
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x407635
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x407645
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x38]
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 - 0x64]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40767c
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0xc8
jne 0x407cbe
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4076a0
mov eax, 0x4e210c
push eax
push 1
mov ebx, 0x41f800
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4076ca
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00407fe3
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4076ee
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.login
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x407723
mov eax, 0x4e1e7c
push eax
push 4
mov ebx, 0x41e850
call fcn.0041c926
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x407773
mov dword [0xed8910], 0
mov eax, 0x4e2599
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401dff
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40776e
push ebx
call fcn.0041c932
add esp, 4
jmp 0x407cb9
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.nextDrawNumber
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4077a4
mov eax, 0x4e1e7c
push eax
push 4
mov ebx, 0x41e850
call fcn.0041c926
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x4077f1
mov dword [0xed892c], 1
push 0x80000301
push 0
push 0x2710
push 1
mov ebx, 0x4205f0
call fcn.0041c926
add esp, 0x10
jmp 0x407cb9
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 0x407cb9
push 1
mov eax, str.currentTime
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40783a
push ebx
call fcn.0041c932
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x407cb4
mov dword [0xed892c], 0
push 1
mov eax, str.currentTime
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40787d
push ebx
call fcn.0041c932
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
push 0x80000301
push 0
push 0xa
push getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4078bd
mov eax, 0x4e1e7c
push eax
push 2
mov ebx, 0x41e560
call fcn.0041c926
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4078e3
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4078f7
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 1
mov eax, str.closeTime
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40792a
push ebx
call fcn.0041c932
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
push 0x80000301
push 0
push 0xa
push getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40796a
mov eax, 0x4e1e7c
push eax
push 2
mov ebx, 0x41e560
call fcn.0041c926
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407990
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4079a4
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 1
mov eax, str.drawTime
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4079d7
push ebx
call fcn.0041c932
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
push 0x80000301
push 0
push 0xa
push getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x407a17
mov eax, 0x4e1e7c
push eax
push 2
mov ebx, 0x41e560
call fcn.0041c926
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407a3d
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407a51
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, str.drawNumber
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407a90
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407aa4
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push 8
push 0x16012c6d
push 0x52010001
call fcn.0041c94a
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x20]
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 0x407aee
push ebx
call fcn.0041c932
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x407bc7
push 0
push dword [ebp - 0x20]
push 0xffffffffffffffff
push 8
push 0x16012c6d
push 0x52010001
call fcn.0041c956
add esp, 0x18
push 0
push 0
push 0
push 1
mov ebx, 0x41e4a0
call fcn.0041c926
add esp, 0x10
push 0x80000301
push 0
push 0x28
push 0x80000301
push 0
push 0x14
push 2
mov ebx, 0x41e4e0
call fcn.0041c926
add esp, 0x1c
mov dword [0xed8924], eax
mov eax, 0x4e1e7c
push eax
mov ebx, dword [0xed8918]
test ebx, ebx
je 0x407b73
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [0xed8918], eax
mov ebx, dword [0xed8930]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407b9a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407b96
imul eax, dword [ebx]
jmp 0x407b8b
mov ecx, eax
test ecx, ecx
je 0x407bb5
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041c932
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407ba0
call fcn.0041c932
add esp, 4
mov eax, 0x4e210c
mov dword [0xed8930], eax
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x407bda
mov eax, 0x4e1e7c
push eax
push 1
mov ebx, 0x41eca0
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x407c03
mov eax, 0x4e1e7c
push eax
push 1
mov ebx, 0x41eca0
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401eb1
mov dword [0xed891c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x407c4e
mov eax, 0x4e1e7c
push eax
push 1
mov ebx, 0x41eca0
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x407c77
mov eax, 0x4e1e7c
push eax
push 1
mov ebx, 0x41eca0
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401eb1
mov dword [0xed8914], eax
jmp 0x407cb4
jmp 0x407cb9
jmp 0x407cbe
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407cce
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x407cde
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 - 0x14]
test ebx, ebx
je 0x407cfe
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407d0e
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407d1e
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407d2e
push ebx
call fcn.0041c932
add esp, 4
mov esp, ebp
pop ebp
ret