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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
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
push 8
call fcn.004cf4f4
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x6f2ea9
push ebx
add ebx, 4
push ebx
push 8
call fcn.004cf4f4
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
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push dword [0x86ec88]
push str.https:__fxg.jinritemai.com_product_tproduct_add_appid1__token
mov ecx, 2
call fcn.0040119b
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45b947
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov eax, 0x6f34f5
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x45b968
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str.fxg.jinritemai.com
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.Host
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x38]
test ebx, ebx
je 0x45b9ae
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45b9be
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str.application_json_charsetUTF_8
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.Content_Type
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x38]
test ebx, ebx
je 0x45ba00
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45ba10
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0xc]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
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 - 0x34]
test ebx, ebx
je 0x45ba4a
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str.https:__fxg.jinritemai.com_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.Referer
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x38]
test ebx, ebx
je 0x45ba8c
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45ba9c
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
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 - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45bacd
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x14], 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
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x45bb2e
push ebx
call fcn.004cf4ee
add esp, 4
push dword [ebp + 8]
push 1
mov eax, 0x6edf6b
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x45bb60
push ebx
call fcn.004cf4ee
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x45bbb2
push ebx
call fcn.004cf4ee
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45bbc6
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00458582
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x6edf7d]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004011ff
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45bc0b
mov eax, 0x6edf6b
push eax
push 2
mov ebx, 0x4cfe90
call fcn.004cf50c
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45bc35
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00458582
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x6edf7d]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004011ff
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45bc7a
mov eax, 0x6edf6b
push eax
push 2
mov ebx, 0x4cfe50
call fcn.004cf50c
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45bca4
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0045c089
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45bcd2
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x20], 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
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
push 1
mov eax, str.Abogus
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x110]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x45bd4c
push ebx
call fcn.004cf4ee
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45bd60
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push str.a_bogus
push dword [ebp - 4]
mov ecx, 3
call fcn.0040119b
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45bd93
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 8
call fcn.004cf4f4
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
push 1
push 0x86ec84
push 1
push dword [ebp + 8]
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.004206f6
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x45be92
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x45bea2
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x45beb2
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x45bec2
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x45bed2
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x45bee2
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x3c]
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 - 0x68]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x45bf19
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x28], 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
lea eax, [ebp - 0x28]
push eax
call fcn.004250c1
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x45bf5f
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x45bf6f
push ebx
call fcn.004cf4ee
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x45bf82
mov eax, 0x6edf85
push eax
push 1
mov ebx, 0x4d1af0
call fcn.004cf50c
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x45bfa8
push ebx
call fcn.004cf4ee
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45bfbc
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x45bfdc
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 0x45bfe1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45bff2
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x45c002
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 0x45c022
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45c042
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45c052
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45c062
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x45c072
push ebx
call fcn.004cf4ee
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x45c082
push ebx
call fcn.004cf4ee
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4