Function at 0x48608a
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
mov dword [ebp - 0x10], 0
push 0xc
call fcn.0051a775
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], 0x6e797e
push ebx
add ebx, 8
push ebx
push 8
call fcn.0051a775
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.0041091e
pop ebx
mov eax, str.https:__klhadm2.kele_go.cn_klh_fsj_lucky_draw_api_read
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x486122
push ebx
call fcn.0051a77b
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x856c7e
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str.___lon_:
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.__orgId_:_
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push str.___campaignId_:_1000___lat_:
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.___utcCode_:_
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._userId_:_
mov ecx, 0xb
call fcn.00407147
add esp, 0x2c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00483083
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x486189
push ebx
call fcn.0051a77b
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x48619d
push ebx
call fcn.0051a77b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.00482c32
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00483083
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4861f3
push ebx
call fcn.0051a77b
add esp, 4
push str._r_nxweb_xhr:_1_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_107.0.0.0_Safari_537.36_MicroMessenger_7.0.20.1781_0x6700143B__NetType_WIFI_MiniProgramEnv_Windows_WindowsWechat_WMPF_XWEB_8447_r_nContent_Type:_application_json_charsetUTF_8_r_nAccept:___r_nSec_Fetch_Site:_cross_site_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Dest:_empty_r_nReferer:_https:__servicewechat.com_wx2ffe954c1d2e5369_829_page_frame.html_r_nAccept_Language:_zh_CN_zh_q0.9
push dword [ebp - 0x2c]
push str.Host:_klhadm2.kele_go.cn_r_nConnection:_keep_alive_r_nContent_Length:_227_r_ntimestamp:
mov ecx, 3
call fcn.00407147
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x486220
push ebx
call fcn.0051a77b
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x486234
push ebx
call fcn.0051a77b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x70df6e
push dword [ebp - 8]
push str._data_:_
mov ecx, 3
call fcn.00407147
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0051a775
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 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
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.0040b4cf
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x486359
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x486369
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x486379
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x486389
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x486399
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4863a9
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4863b9
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4863c9
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x5208d0
call fcn.0051a787
add esp, 0x10
call fcn.0051a77b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4863ff
mov eax, 0x6155bf
push eax
push 1
mov ebx, 0x51cc00
call fcn.0051a787
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x486425
push ebx
call fcn.0051a77b
add esp, 4
lea eax, [ebp - 0x5c]
push eax
call fcn.0040fef1
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x486441
push ebx
call fcn.0051a77b
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x486455
push ebx
call fcn.0051a77b
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004824db
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x486479
push ebx
call fcn.0051a77b
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x20
call fcn.0051a775
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x18]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4864d5
push ebx
call fcn.0051a77b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4864e9
push ebx
call fcn.0051a77b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4864fd
push ebx
call fcn.0051a77b
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x486511
push ebx
call fcn.0051a77b
add esp, 4
pop ebx
call fcn.0051a77b
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, str.message
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x486555
push ebx
call fcn.0051a77b
add esp, 4
push 0x7104f9
push dword [ebp - 0x20]
call fcn.004070aa
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x486583
push ebx
call fcn.0051a77b
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x48659c
mov eax, 0x856b6e
jmp 0x486607
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, str.message
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4865d7
push ebx
call fcn.0051a77b
add esp, 4
push dword [ebp - 0x20]
push 0x856f6a
mov ecx, 2
call fcn.00407147
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4865ff
push ebx
call fcn.0051a77b
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x486607
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x486618
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x486628
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x486638
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x486648
push ebx
call fcn.0051a77b
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0051a77b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14