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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xc
call fcn.004f59b5
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b8225
push ebx
add ebx, 4
push ebx
push 8
call fcn.004f59b5
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x67357b
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.004f59b5
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x67357b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__api.dailianmama.com_api_order_orderinfo_orderid
mov ecx, 2
call fcn.00417e1f
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d5fe8
push ebx
call fcn.004f59bb
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.https:__api.dailianmama.com
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Origin
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d6035
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6045
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.https:__api.dailianmama.com
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Referer
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d6087
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6097
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_64.0.3282.140_Safari_537.36_Edge_18.17763
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d60d9
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d60e9
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x90debd
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Accept
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d612b
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d613b
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.zh_CN
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d617d
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d618d
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.qdl_ds_H5_SEMbaidu
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.channel
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d61cf
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d61df
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.H5_PC
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x6b809f
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d6221
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6231
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x6b6124
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.fromApi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d6273
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6283
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.thug
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.roleInfo
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d62c5
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d62d5
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.H5_Windows_10_x64
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.system
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d6317
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6327
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 0xb19bd0
mov eax, str.uInfo
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6362
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.qdlnewapi.qudailianba.com
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Host
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d63a4
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d63b4
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Keep_Alive
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.Connection
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d63f6
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6406
push ebx
call fcn.004f59bb
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d6437
push ebx
call fcn.004f59bb
add esp, 4
pop eax
mov dword [ebp - 0x10], 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]
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
push 1
lea eax, [ebp - 0x10]
push eax
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
lea eax, [ebp - 0x44]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.004d66e1
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4d64ec
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4d64fc
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4d650c
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d651c
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d652c
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4d653c
push ebx
call fcn.004f59bb
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d6550
push ebx
call fcn.004f59bb
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00459448
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d6574
push ebx
call fcn.004f59bb
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, 6
call fcn.00401034
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4d65a1
mov eax, 0x672d08
push eax
push 4
mov ebx, 0x4fa460
call fcn.004f59af
add esp, 0x34
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6b8fa9
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4d65e5
mov eax, 0x672d08
push eax
push 4
mov ebx, 0x4f6650
call fcn.004f59af
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x4d6668
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6b7c9b
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x90fada
push 4
mov ebx, 0x4fa460
call fcn.004f59af
add esp, 0x34
push 0
push 0
push 0
push 0x10001
push 0x60512f4
push 0x520512f3
push 2
mov ebx, 0x4fa740
call fcn.004f59af
add esp, 0x1c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4d6684
push eax
mov ebx, eax
call fcn.00417db4
inc eax
push eax
call fcn.004f59b5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4d6689
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d669a
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d66ba
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d66ca
push ebx
call fcn.004f59bb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d66da
push ebx
call fcn.004f59bb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4