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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4e2de7
push ebx
add ebx, 4
push ebx
push 8
call fcn.0041c92c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4e210c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0041c92c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4e210c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 8
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x30], eax
mov edi, eax
mov esi, 0x4e210c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
push 8
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x3c], eax
mov edi, eax
mov esi, 0x4e210c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
push 0
mov ebx, 0x41fcf0
call fcn.0041c926
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x80000301
push 0
push 0xffffffff
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_closesocket
push dword [ebp - 4]
push dword [ebp - 8]
push 3
mov ebx, 0x41f940
call fcn.0041c926
add esp, 0x28
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 1
push 1
push 1
push 1
push 1
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00401ed8
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push str._member_dresult_lotterySSCJSCdate
push dword [0xed8908]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40c12d
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c141
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov eax, str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp_image_apng___q0.8_application_signed_exchange_vb3_q0.7
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, str.Accept
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c18e
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40c19e
push ebx
call fcn.0041c932
add esp, 4
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov eax, str.zh_CN_zh_q0.9_en_q0.8_en_GB_q0.7_en_US_q0.6_zh_TW_q0.5
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c1e0
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40c1f0
push ebx
call fcn.0041c932
add esp, 4
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov eax, str.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
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c232
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40c242
push ebx
call fcn.0041c932
add esp, 4
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov eax, str.gzip__deflate__br
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, str.Accept_Encoding
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c284
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40c294
push ebx
call fcn.0041c932
add esp, 4
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40c2c5
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push 8
call fcn.0041c92c
add esp, 4
mov dword [ebp - 0x54], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
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
push 1
push dword [ebp - 0x1c]
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
push 1
push 0xed890c
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
push 1
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.00402b37
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40c3ea
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40c3fd
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40c410
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40c420
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40c430
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40c440
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40c450
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x54]
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 - 0x80]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c48a
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040b5c7
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c4ae
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x20], 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
lea eax, [ebp - 0x20]
push eax
call fcn.0040b892
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c4f4
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40c504
push ebx
call fcn.0041c932
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x40c517
mov eax, 0x4e210c
push eax
push 1
mov ebx, 0x41f800
call fcn.0041c926
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c53d
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c551
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov eax, str.__tbody_
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
mov eax, str._tbody_
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405c4a
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c5a1
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c5b1
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40c5c5
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
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
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, str.__tr_
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
mov eax, 0x4e2dc6
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040ca74
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40c659
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40c669
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40c679
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c689
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
push eax
lea eax, [ebp - 0x34]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40c963
mov ebx, dword [ebp - 0x30]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0x34]
dec eax
jns 0x40c6c6
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c6d9
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov eax, 0x4e2dcb
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, str.period__
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x48]
call fcn.00405c4a
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40c72c
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c73c
push ebx
call fcn.0041c932
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40c750
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0x34]
dec eax
jns 0x40c771
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c784
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
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
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push 1
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x4e2347
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
mov eax, str._span_class_b
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x48]
call fcn.0040ca74
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40c818
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40c828
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40c838
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40c848
push ebx
call fcn.0041c932
add esp, 4
xor ecx, ecx
lea eax, [ebp - 0x40]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 5
jg 0x40c94b
cmp dword [ebp - 0x40], 1
jne 0x40c8d7
mov ebx, dword [ebp - 0x3c]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0x40]
dec eax
jns 0x40c884
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c897
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebx]
test eax, eax
je 0x40c8bd
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0041c92c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40c8ce
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
jmp 0x40c944
mov ebx, dword [ebp - 0x3c]
call fcn.00402a6b
push ebx
push ecx
mov eax, dword [ebp - 0x40]
dec eax
jns 0x40c8f4
push 4
call fcn.0041c938
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c907
push 1
call fcn.0041c938
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
push dword [ebx]
push 0x4e2de5
push dword [ebp - 0x44]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40c940
push ebx
call fcn.0041c932
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
pop ebx
pop ecx
jmp 0x40c84f
add esp, 8
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00409363
pop eax
pop ebx
pop ecx
jmp 0x40c69b
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c976
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40c996
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c9a6
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c9b6
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40c9c6
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c9e4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c9e0
imul eax, dword [ebx]
jmp 0x40c9d5
mov ecx, eax
test ecx, ecx
je 0x40ca03
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c9fc
push ebx
push eax
call fcn.0041c932
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c9ea
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ca1b
push ebx
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40ca39
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40ca35
imul eax, dword [ebx]
jmp 0x40ca2a
mov ecx, eax
test ecx, ecx
je 0x40ca58
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ca51
push ebx
push eax
call fcn.0041c932
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40ca3f
call fcn.0041c932
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40ca70
push ebx
call fcn.0041c932
add esp, 4
mov esp, ebp
pop ebp
ret