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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.004a67dd
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], 0x570455
push ebx
add ebx, 4
push ebx
push 8
call fcn.004a67dd
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x56ec6e
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.004a67dd
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x56ec6e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x57065e
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__partner.huoli.com_distribution_api_search_flight_list_access_token
mov ecx, 3
call fcn.0040986a
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x447994
push ebx
call fcn.004a67e3
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
push str.___acCode_:_MF_
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str.___flyNo_:_
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push str.___date_:_
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.___arrCode_:_
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str._depCode_:_
mov ecx, 9
call fcn.0040986a
add esp, 0x24
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4479f0
push ebx
call fcn.004a67e3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.partner.huoli.com
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Host
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447a36
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447a46
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.keep_alive
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Connection
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447a88
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447a98
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x5706fa
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Content_Length
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447ada
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447aea
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.application_json__text_plain___
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Accept
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447b2c
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447b3c
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.User_Agent
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447b7e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447b8e
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.application_json
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Content_Type
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447bd0
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447be0
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.https:__dms.huoli.com
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Origin
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447c22
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447c32
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.same_site
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Sec_Fetch_Site
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447c74
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447c84
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.cors
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Sec_Fetch_Mode
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447cc6
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447cd6
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.empty
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Sec_Fetch_Dest
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447d18
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447d28
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.https:__dms.huoli.com_merchant_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Referer
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447d6a
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447d7a
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.zh_CN_zh_q0.9
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Accept_Language
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 + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447dbc
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447dcc
push ebx
call fcn.004a67e3
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x447dfd
push ebx
call fcn.004a67e3
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.004a67dd
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push 0xf
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 - 0x14]
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 - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00436d8e
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x447efe
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x447f0e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x447f1e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x447f2e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x447f3e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x447f4e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x447f5e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4acfb0
call fcn.004a67d7
add esp, 0x10
call fcn.004a67e3
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x447f95
push ebx
call fcn.004a67e3
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
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
lea eax, [ebp - 0x18]
push eax
call fcn.0043c649
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x447fdb
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x447feb
push ebx
call fcn.004a67e3
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x447ffe
mov eax, 0x56ec6e
push eax
push 1
mov ebx, 0x4a8ec0
call fcn.004a67d7
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x448024
push ebx
call fcn.004a67e3
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x448038
push ebx
call fcn.004a67e3
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x448058
push eax
mov ebx, eax
call fcn.00401015
inc eax
push eax
call fcn.004a67dd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x44805d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44806e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x44807e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x44809e
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4480ae
push ebx
call fcn.004a67e3
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4480be
push ebx
call fcn.004a67e3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14