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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.004169da
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], 0x4b7a21
push ebx
add ebx, 8
push ebx
push 8
call fcn.004169da
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.00406eaf
pop ebx
push 0x10
call fcn.004169da
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 + 0xc], 0
push dword [ebp + 8]
call fcn.00408676
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
call fcn.00408676
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
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
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
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
mov eax, str._password_
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, str._username_
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov eax, str._loginName_:__username____passWord_:__password____deviceId_:1711__deviceOs_:_pc___lon_:40__lat_:30__siteId_:_95___sinopec_:false
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408911
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x408141
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x408151
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408161
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x408171
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x408181
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408191
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4081a1
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4081b1
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4081c1
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4081d1
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4081e1
push ebx
call fcn.004169e0
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4081f5
push ebx
call fcn.004169e0
add esp, 4
pop eax
mov dword [ebp - 4], 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 - 0x20], 0
push 0
push dword [ebp - 0x20]
push 8
call fcn.004169da
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x24]
push 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
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
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
push 1
mov eax, str.Accept:_application_json__text_plain____r_nAccept_Language:_zh_CN_zh_q0.9_r_nCache_Control:_no_cache_r_nConnection:_keep_alive_r_nContent_Length:_454_r_nContent_Type:_application_json_charsetUTF_8_r_nHost:_www.baomi.org.cn_r_nOrigin:_https:__www.baomi.org.cn_r_nPragma:_no_cache_r_nSec_Fetch_Dest:_empty_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Site:_same_origin_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_124.0.0.0_Safari_537.36_r_nsec_ch_ua:__Chromium__v_124____Google_Chrome__v_124____Not_A.Brand__v_99__r_nsec_ch_ua_mobile:__0_r_nsec_ch_ua_platform:__Windows_
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
push 1
mov eax, str.https:__www.baomi.org.cn_portal_main_api_loginInNew.do
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401e5a
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x408306
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x408316
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x408326
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x408336
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x408346
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x408356
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x408366
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x408376
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41a350
call fcn.004169e6
add esp, 0x10
call fcn.004169e0
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4083ac
mov eax, 0x4b79bd
push eax
push 1
mov ebx, 0x418300
call fcn.004169e6
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4083d2
push ebx
call fcn.004169e0
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4083e6
push ebx
call fcn.004169e0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 1
lea eax, [ebp - 8]
push eax
call fcn.00406227
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408411
push ebx
call fcn.004169e0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x20
call fcn.004169da
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 - 8]
push eax
lea eax, [ebp - 0x10]
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 0x40846d
push ebx
call fcn.004169e0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408481
push ebx
call fcn.004169e0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408495
push ebx
call fcn.004169e0
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4084a9
push ebx
call fcn.004169e0
add esp, 4
pop ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
mov eax, str.data.nickName
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 + 0x2c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4084f3
push ebx
call fcn.004169e0
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408509
push ebx
call fcn.004169e0
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
mov eax, 0x7d56e7
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 + 0x2c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408553
push ebx
call fcn.004169e0
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408569
push ebx
call fcn.004169e0
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
push eax
push 0x10
call fcn.004169da
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4085a0
push eax
mov ebx, eax
call fcn.004010cd
inc eax
push eax
call fcn.004169da
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4085bf
push eax
mov ebx, eax
call fcn.004010cd
inc eax
push eax
call fcn.004169da
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4085de
push eax
mov ebx, eax
call fcn.004010cd
inc eax
push eax
call fcn.004169da
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
jmp 0x4085e9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4085fa
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40860a
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40861a
push ebx
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004169e0
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40863e
push ebx
call fcn.004169e0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408652
push ebx
call fcn.004169e0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408666
push ebx
call fcn.004169e0
add esp, 4
pop ebx
call fcn.004169e0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8