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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x38
call fcn.0046f5fa
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [ebx], 0x5cc8e8
push ebx
add ebx, 0x24
push ebx
push 8
call fcn.0046f5fa
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x570a24
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0xc
call fcn.0046f5fa
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x5cc9f0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00416988
pop ebx
mov dword [ebp - 8], 0
cmp dword [ebp + 0x90], 0
jne 0x416175
mov dword [ebp + 0x8c], 1
push 1
push dword [ebp + 0x8c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
cmp dword [ebp + 0x40], 0
jne 0x4161a4
mov dword [ebp + 0x3c], 1
jmp 0x4161ac
and dword [ebp + 0x3c], 1
xor dword [ebp + 0x3c], 1
push dword [ebp + 0x3c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc8]
mov eax, 0x5cc4b7
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4161d6
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x416203
mov eax, 0x5cc4b7
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4161fa
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x416279
cmp dword [ebp + 0xc], 1
jne 0x41622c
mov eax, str.POST
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416223
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x416279
cmp dword [ebp + 0xc], 2
jne 0x416255
mov eax, str.HEAD
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41624c
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x416279
cmp dword [ebp + 0xc], 3
jne 0x416279
mov eax, 0x5cc4c5
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416275
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x98], 0
jne 0x416290
mov dword [ebp + 0x94], 1
cmp dword [ebp + 0x94], 0
je 0x4166cf
push 0x517fa9
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402102
add esp, 8
cmp eax, 0
je 0x41632e
push 0x80000301
push 0
push 2
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4162d9
mov eax, 0x517fa9
push eax
push 2
mov ebx, 0x46ffc0
call fcn.0046f5f4
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0x5ca8af
push dword [ebp - 0x10]
call fcn.00402102
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41631d
push ebx
call fcn.0046f5ee
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x41632e
mov eax, 1
jmp 0x416333
mov eax, 0
test eax, eax
je 0x416371
push 0x5ca8af
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401085
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41636b
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push VariantClear
push 0
push str.User_Agent:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4163aa
mov eax, 0x517fa9
push eax
push 4
mov ebx, 0x470270
call fcn.0046f5f4
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x416400
push str.User_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0__r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401085
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4163fa
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push VariantClear
push 0
push str.Accept:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x416439
mov eax, 0x517fa9
push eax
push 4
mov ebx, 0x470270
call fcn.0046f5f4
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41648f
push str.Accept:_text_html__application_xhtmlxml____r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401085
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416489
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push VariantClear
push 0
push str.Accept_Encoding:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4164c8
mov eax, 0x517fa9
push eax
push 4
mov ebx, 0x470270
call fcn.0046f5f4
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41651e
push str.Accept_Encoding:_identity_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401085
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416518
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push VariantClear
push 0
push str.Accept_Language:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x416557
mov eax, 0x517fa9
push eax
push 4
mov ebx, 0x470270
call fcn.0046f5f4
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4165ad
push str.Accept_Language:_zh_cn_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401085
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4165a7
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 1
push VariantClear
push 0
push str.Cache_Control:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4165e6
mov eax, 0x517fa9
push eax
push 4
mov ebx, 0x470270
call fcn.0046f5f4
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41663c
push str.Cache_Control:_no_cache_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401085
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416636
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 1
jne 0x4166cf
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Content_Type:
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x416679
mov eax, 0x517fa9
push eax
push 4
mov ebx, 0x470270
call fcn.0046f5f4
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4166cf
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401085
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4166c9
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0x6c], 0
je 0x416729
fild dword [ebp + 0x6c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x5cc4af]
fstp qword [ebp - 0x18]
fild dword [ebp + 0x6c]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x5cc4af]
fstp qword [ebp - 0x28]
push 1
fld qword [ebp - 0x28]
call fcn.004015cf
push eax
push 1
fld qword [ebp - 0x18]
call fcn.004015cf
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xcc]
jmp 0x416752
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xcc]
cmp dword [ebp + 0x20], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x416791
push 1
push dword [ebp + 0x1c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
mov ebx, eax
test ebx, ebx
je 0x416791
push ebx
call fcn.0046f5ee
add esp, 4
push 1
push dword [ebp + 0x64]
push 1
push dword [ebp + 0x5c]
push 1
push 1
push dword [ebp + 0x54]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xbc]
push 1
push 1
push dword [ebp + 8]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
push 0x517fa9
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00402102
add esp, 8
cmp eax, 0
je 0x416806
push dword [ebp + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416846
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
cmp dword [ebp + 0x80], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4168b2
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xdc]
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x471b10
call fcn.0046f5f4
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0x7c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4168ac
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4168fb
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4168f5
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
cmp dword [ebp + 0x78], 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x416944
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xec]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x74]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41693e
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov ebx, dword [ebp + 0x74]
mov dword [ebx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x416960
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0046f5ee
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416981
push ebx
call fcn.0046f5ee
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x94