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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x38
call fcn.0042cc30
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], 0x68daa2
push ebx
add ebx, 0x24
push ebx
push 8
call fcn.0042cc30
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4d9218
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.0042cc30
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], 0x68dbaa
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040ce88
pop ebx
mov dword [ebp - 8], 0
cmp dword [ebp + 0x90], 0
jne 0x40c65b
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 0x40c68a
mov dword [ebp + 0x3c], 1
jmp 0x40c692
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, 0x4e0ad0
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c6bc
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x40c6e9
mov eax, 0x4e0ad0
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c6e0
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40c75f
cmp dword [ebp + 0xc], 1
jne 0x40c712
mov eax, 0x4e0ad4
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c709
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40c75f
cmp dword [ebp + 0xc], 2
jne 0x40c73b
mov eax, 0x4e0ad9
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c732
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40c75f
cmp dword [ebp + 0xc], 3
jne 0x40c75f
mov eax, 0x4e0ade
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c75b
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x98], 0
jne 0x40c776
mov dword [ebp + 0x94], 1
cmp dword [ebp + 0x94], 0
je 0x40cbb5
push 0x4d9232
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401eb2
add esp, 8
cmp eax, 0
je 0x40c814
push 0x80000301
push 0
push 2
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40c7bf
mov eax, 0x4d9232
push eax
push 2
mov ebx, 0x42d230
call fcn.0042cc36
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0x4e0a28
push dword [ebp - 0x10]
call fcn.00401eb2
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 0x40c803
push ebx
call fcn.0042cc2a
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x40c814
mov eax, 1
jmp 0x40c819
mov eax, 0
test eax, eax
je 0x40c857
push 0x4e0a28
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
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 0x40c851
push ebx
call fcn.0042cc2a
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 0x40c890
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40c8e6
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.00401e27
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 0x40c8e0
push ebx
call fcn.0042cc2a
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 0x40c91f
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40c975
push str.Accept:_text_html__application_xhtmlxml____r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
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 0x40c96f
push ebx
call fcn.0042cc2a
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 0x40c9ae
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40ca04
push str.Accept_Encoding:_identity_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
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 0x40c9fe
push ebx
call fcn.0042cc2a
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 0x40ca3d
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40ca93
push str.Accept_Language:_zh_cn_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
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 0x40ca8d
push ebx
call fcn.0042cc2a
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 0x40cacc
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40cb22
push str.Cache_Control:_no_cache_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
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 0x40cb1c
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 1
jne 0x40cbb5
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push 0x4e0c05
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40cb5f
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40cbb5
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
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 0x40cbaf
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0x6c], 0
je 0x40cc0f
fild dword [ebp + 0x6c]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x4e0b3a]
fstp qword [ebp - 0x18]
fild dword [ebp + 0x6c]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x4e0b3a]
fstp qword [ebp - 0x28]
push 1
fld qword [ebp - 0x28]
call fcn.00401e83
push eax
push 1
fld qword [ebp - 0x18]
call fcn.00401e83
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 0x40cc38
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 0x40cc77
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 0x40cc77
push ebx
call fcn.0042cc2a
add esp, 4
cmp dword [ebp + 0x58], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40ccb6
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 0x4d9232
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401eb2
add esp, 8
cmp eax, 0
je 0x40cd06
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 0x40cd46
push ebx
call fcn.0042cc2a
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 0x40cdb2
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, 0x42e620
call fcn.0042cc36
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 0x40cdac
push ebx
call fcn.0042cc2a
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 0x40cdfb
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 0x40cdf5
push ebx
call fcn.0042cc2a
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 0x40ce44
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 0x40ce3e
push ebx
call fcn.0042cc2a
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 0x40ce60
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0042cc2a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ce81
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x94