Function at 0x40188a
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
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.00424e94
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4f120f
push ebx
add ebx, 8
push ebx
push 8
call fcn.00424e94
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.004089aa
pop ebx
mov eax, str.https:__mxsa.mxbc.net_api_v1_h5_marketing_secretword_confirm
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40193e
push ebx
call fcn.00424e9a
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
call fcn.0040201a
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401971
push ebx
call fcn.00424e9a
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402506
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401995
push ebx
call fcn.00424e9a
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
push 0x13
push 0x16016d04
push 0x52010001
call fcn.00424eb8
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16016d04
push 0x52010001
push 2
mov ebx, 0x4274d0
call fcn.00424eac
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
push 8
push 0x16016d02
push 0x52010001
call fcn.00424eb8
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x4f0ef5
push dword [ebp - 0xc]
push str.___r_n___s__:_2__r_n___stamp__:
push dword [ebp - 0x2c]
push str.___r_n___marketingId__:__1816854086004391938___r_n___round__:__
push dword [ebp - 0x10]
push str.___r_n___sign__:__
push dword [ebp - 0x30]
push str._r_n___secretword__:__
mov ecx, 9
call fcn.0040182e
add esp, 0x24
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401a39
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401a49
push ebx
call fcn.00424e9a
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401a5d
push ebx
call fcn.00424e9a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 8
push 0x16013620
push 0x52010001
call fcn.00424eb8
add esp, 0x10
mov dword [ebp - 0x28], eax
push str._r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_17_4_1_like_Mac_OS_X__AppleWebKit_605.1.15__KHTML__like_Gecko__Mobile_15E148_MicroMessenger_8.0.50_0x18003233__NetType_WIFI_Language_zh_CN_miniProgram_wx7696c66d2245d107_r_nReferer:_https:__mxsa_h5.mxbc.net__r_nContent_Length:_169_r_nConnection:_keep_alive_r_nSec_Fetch_Dest:_empty_r_n
push dword [ebp - 0x28]
push str.Host:_mxsa.mxbc.net_r_nAccept:_application_json__text_plain____r_nSec_Fetch_Site:_same_site_r_nAccept_Language:_zh_CN_zh_Hans_q0.9_r_nAccept_Encoding:_gzip__deflate__br_r_nSec_Fetch_Mode:_cors_r_nContent_Type:_application_json_charsetutf_8_r_nOrigin:_https:__mxsa_h5.mxbc.net_r_nAccess_Token:
mov ecx, 3
call fcn.0040182e
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401aa7
push ebx
call fcn.00424e9a
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401abb
push ebx
call fcn.00424e9a
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
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.00424e94
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
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
push 1
lea eax, [ebp - 0x18]
push eax
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
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00403933
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x401bc1
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x401bd1
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x401be1
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401bf1
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401c01
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401c11
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401c21
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x428b30
call fcn.00424eac
add esp, 0x10
call fcn.00424e9a
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401c58
push ebx
call fcn.00424e9a
add esp, 4
pop eax
mov dword [ebp - 0x1c], 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 - 0x1c]
push eax
call fcn.004082fe
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401c9e
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401cae
push ebx
call fcn.00424e9a
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x401cc1
mov eax, 0x4f11da
push eax
push 1
mov ebx, 0x426aa0
call fcn.00424eac
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401ce7
push ebx
call fcn.00424e9a
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401cfb
push ebx
call fcn.00424e9a
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x20
call fcn.00424e94
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 - 0x20]
push eax
lea eax, [ebp - 0x24]
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 0x401d57
push ebx
call fcn.00424e9a
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401d6b
push ebx
call fcn.00424e9a
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401d7f
push ebx
call fcn.00424e9a
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401d93
push ebx
call fcn.00424e9a
add esp, 4
pop ebx
call fcn.00424e9a
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, str.code
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
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 0x401dd7
push ebx
call fcn.00424e9a
add esp, 4
push 0x4f11e7
push dword [ebp - 0x30]
call fcn.00401620
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 0x401e05
push ebx
call fcn.00424e9a
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x401ecc
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, 0x4f11e9
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
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 0x401e4a
push ebx
call fcn.00424e9a
add esp, 4
push 0x4f11ed
push dword [ebp - 0x30]
push 0x4f11fe
push dword [0x6b3f58]
push 0x4f1208
mov ecx, 5
call fcn.0040182e
add esp, 0x14
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401e82
push ebx
call fcn.00424e9a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x401e95
mov eax, 0x4f0ea4
push eax
push 0x10005
push 0x1601000c
push 0x52010001
push 2
mov ebx, 0x427660
call fcn.00424eac
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401ec7
push ebx
call fcn.00424e9a
add esp, 4
jmp 0x401f84
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, 0x4f11e9
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
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 0x401f07
push ebx
call fcn.00424e9a
add esp, 4
push 0x4f120a
push dword [ebp - 0x30]
push 0x4f11fe
push dword [0x6b3f58]
push 0x4f1208
mov ecx, 5
call fcn.0040182e
add esp, 0x14
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401f3f
push ebx
call fcn.00424e9a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x401f52
mov eax, 0x4f0ea4
push eax
push 0x10005
push 0x1601000c
push 0x52010001
push 2
mov ebx, 0x427660
call fcn.00424eac
add esp, 0x1c
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401f84
push ebx
call fcn.00424e9a
add esp, 4
cmp dword [0x6b3f5c], 1
jne 0x401f96
jmp 0x401f96
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401fa6
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401fb6
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401fc6
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401fd6
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401fe6
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401ff6
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402006
push ebx
call fcn.00424e9a
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00424e9a
add esp, 4
mov esp, ebp
pop ebp
ret