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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push 8
push 0x1601244a
push 0x52010001
call fcn.0040aba3
add esp, 0x10
mov dword [ebp - 0x14], eax
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401406
mov eax, 0x49bf4c
push eax
push 1
mov ebx, 0x40b3d0
call fcn.0040ab79
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40142c
push ebx
call fcn.0040ab85
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x40c790
call fcn.0040ab79
add esp, 0x10
mov eax, str.http:__weixin.schwarzkopfclub.com.cn_strawberry_index_lottery
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40145e
push ebx
call fcn.0040ab85
add esp, 4
pop eax
mov dword [ebp - 4], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x49bf8b]
fstp qword [ebp - 0x20]
push 0x80000301
push 0
push 1
fld qword [ebp - 0x20]
call fcn.00401270
push 0x80000301
push 0
push eax
push 0x30004
push 0x1601243d
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x470020
call fcn.0040ab97
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4014cd
push ebx
call fcn.0040ab85
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push 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
push 1
mov eax, 0x49bf93
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
mov eax, str.lack_E6_B0_94_E8_B4_A8not_lack_E9_A2_9C_E5_80_BCyaono
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 1
push 1
mov eax, str.http:__weixin.schwarzkopfclub.com.cn_strawberry_index_save_text
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00401b01
mov ebx, eax
test ebx, ebx
je 0x401567
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401577
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401587
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401597
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4015a7
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4015b7
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4015c7
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4015d7
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4015e7
push ebx
call fcn.0040ab85
add esp, 4
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push 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
push 1
mov eax, 0x49bf93
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.0040495f
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401678
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401688
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401698
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4016a8
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4016b8
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4016c8
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4016d8
push ebx
call fcn.0040ab85
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4016ec
push ebx
call fcn.0040ab85
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004049ec
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401710
push ebx
call fcn.0040ab85
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x40c060
call fcn.0040ab79
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x49c21a
push dword [ebp - 0xc]
push 0x49c25b
push dword [ebp - 0x14]
push 0x49c268
mov ecx, 5
call fcn.00401302
add esp, 0x14
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401768
push ebx
call fcn.0040ab85
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40177b
mov eax, 0x49bf4c
push eax
push 0x10005
push 0x1601243f
push 0x52010001
push 2
mov ebx, 0x40c700
call fcn.0040ab79
add esp, 0x1c
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4017ad
push ebx
call fcn.0040ab85
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x49bf8b]
fstp qword [ebp - 0x20]
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4017d2
mov eax, 0x49bf4c
push eax
push 0x80000301
push 0
push 2
fld qword [ebp - 0x20]
call fcn.00401270
push 0x80000301
push 0
push eax
push 0x30004
push 0x1601243d
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4701f0
call fcn.0040ab97
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str._success___result_:_code_:_
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401846
mov eax, 0x49bf4c
push eax
push 4
mov ebx, 0x40b200
call fcn.0040ab79
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x401a6e
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x49c28c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str._success___result_:_code_:_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402fa6
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4018b2
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4018c2
push ebx
call fcn.0040ab85
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4018d6
push ebx
call fcn.0040ab85
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
mov ebx, 0x40af60
call fcn.0040ab79
add esp, 4
mov dword [ebp - 0x14], eax
push 0x49c290
push dword [ebp - 0x14]
mov ecx, 2
call fcn.00401302
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401917
push ebx
call fcn.0040ab85
add esp, 4
push 0
mov ebx, 0x40af60
call fcn.0040ab79
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x49c290
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401302
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401954
push ebx
call fcn.0040ab85
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401967
mov eax, 0x49bf4c
push eax
push 1
mov ebx, 0x40c1b0
call fcn.0040ab79
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40198d
push ebx
call fcn.0040ab85
add esp, 4
push 0x49c2a2
push dword [ebp - 0x10]
mov ecx, 2
call fcn.00401302
add esp, 8
mov dword [ebp - 0x28], eax
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4019b8
mov eax, 0x49bf4c
push eax
push 1
mov ebx, 0x40ba90
call fcn.0040ab79
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4019de
push ebx
call fcn.0040ab85
add esp, 4
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.0040135e
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401a04
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401a14
push ebx
call fcn.0040ab85
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401a27
mov eax, 0x49c2a5
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401a3b
mov eax, 0x49bf4c
push eax
push 2
mov ebx, 0x40c220
call fcn.0040ab79
add esp, 0x1c
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401a5e
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401a6e
push ebx
call fcn.0040ab85
add esp, 4
inc dword [0x5914c8]
push 0x30004
push 0x1601243d
push 0x52010001
push 1
mov eax, 2
mov ebx, 0x470230
call fcn.0040ab97
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [0x5914c8]
cmp dword [ebp - 0x18], eax
jl 0x401abb
push dword [0x5914c8]
call fcn.004013b5
jmp 0x401abb
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401acb
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401adb
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401aeb
push ebx
call fcn.0040ab85
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401afb
push ebx
call fcn.0040ab85
add esp, 4
mov esp, ebp
pop ebp
ret 4