Function at 0x4585e9
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.004cf4f4
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], 0x6eeb93
push ebx
add ebx, 4
push ebx
push 8
call fcn.004cf4f4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x6edf85
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.004cf4f4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x6edf85
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
mov dword [ebp - 0x20], 0
mov eax, 0x6f34f5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4586a5
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str.product_idundefinedappid1_bidffa_goods_lid
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__fxg.jinritemai.com_product_tproduct_formatTpl_version2category_leaf_id
mov ecx, 3
call fcn.0040119b
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4586dc
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.fxg.jinritemai.com
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Host
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
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 - 0x2c]
test ebx, ebx
je 0x458729
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x458739
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 4]
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 0x458773
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.application_json_charsetUTF_8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Content_Type
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
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 - 0x2c]
test ebx, ebx
je 0x4587b5
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4587c5
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.https:__fxg.jinritemai.com_ffa_g_create_entrancecreate
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Referer
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
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 - 0x2c]
test ebx, ebx
je 0x458807
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x458817
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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 - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x458848
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
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
push dword [ebp - 0x2c]
push 8
call fcn.004cf4f4
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
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 - 0x14]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
push 0x86ec84
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.004206f6
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x458948
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x458958
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x458968
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x458978
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x458988
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x458998
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4d5810
call fcn.004cf50c
add esp, 0x10
call fcn.004cf4ee
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4589cf
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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
lea eax, [ebp - 0x18]
push eax
call fcn.004250c1
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x458a15
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x458a25
push ebx
call fcn.004cf4ee
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x458a38
mov eax, 0x6edf85
push eax
push 1
mov ebx, 0x4d1af0
call fcn.004cf50c
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x458a5e
push ebx
call fcn.004cf4ee
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x458a72
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x458a92
push eax
mov ebx, eax
call fcn.00401130
inc eax
push eax
call fcn.004cf4f4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x458a97
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x458aa8
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x458ab8
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x458ad8
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x458ae8
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x458af8
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x458b08
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4