Function at 0x40e183
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
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 1
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 0x40e25b
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x54], 0
jne 0x40e270
mov dword [ebp + 0x50], 1
cmp dword [ebp + 0x50], 0
je 0x40e619
push 0x4d9232
mov ebx, dword [ebp + 0x20]
push dword [ebx]
call fcn.00401eb2
add esp, 8
cmp eax, 0
je 0x40e30b
push 0x80000301
push 0
push 2
push VariantClear
push 0
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e2b6
mov eax, 0x4d9232
push eax
push 2
mov ebx, 0x42d230
call fcn.0042cc36
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 0x4e0a28
push dword [ebp - 0x20]
call fcn.00401eb2
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e2fa
push ebx
call fcn.0042cc2a
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x40e30b
mov eax, 1
jmp 0x40e310
mov eax, 0
test eax, eax
je 0x40e34e
push 0x4e0a28
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e348
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
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 + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e387
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40e3dd
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 + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e3d7
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
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 + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e416
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40e46c
push str.Accept:_text_html__application_xhtmlxml____r_n
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e466
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
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 + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e4a5
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40e4fb
push str.Accept_Encoding:_identity_r_n
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e4f5
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
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 + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e534
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40e58a
push str.Accept_Language:_zh_cn_r_n
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e584
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
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 + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e5c3
mov eax, 0x4d9232
push eax
push 4
mov ebx, 0x42d4e0
call fcn.0042cc36
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40e619
push str.Cache_Control:_no_cache_r_n
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e27
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e613
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
cmp dword [ebp + 0x1c], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40e658
push 1
push dword [ebp + 0x18]
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 0x40e658
push ebx
call fcn.0042cc2a
add esp, 4
cmp dword [ebp + 0x34], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40e697
push 1
push dword [ebp + 0x40]
push 1
push dword [ebp + 0x38]
push 1
push 1
push dword [ebp + 0x30]
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]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
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 + 0x74]
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 0x400
push 2
mov eax, 4
mov ebx, 0x4909b0
call fcn.0042cc54
add esp, 0x1c
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 4
push 2
mov eax, 4
mov ebx, 0x4909b0
call fcn.0042cc54
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x80000301
push 0
push 0
push 3
mov ebx, 0x42ece0
call fcn.0042cc36
add esp, 0x28
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 4
push 2
mov eax, 4
mov ebx, 0x4909b0
call fcn.0042cc54
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0x80000301
push 0
push 8
push 3
mov ebx, 0x42ece0
call fcn.0042cc36
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x42e620
call fcn.0042cc36
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x42e620
call fcn.0042cc36
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x68dc1a
push dword [ebp - 0x1c]
push 0x68dc1a
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x68dc1a
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ecx, 7
call fcn.00401e27
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e850
push ebx
call fcn.0042cc2a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e860
push ebx
call fcn.0042cc2a
add esp, 4
push 0x80000301
push 0
push 0x400
push 0x80000301
push 0
push dword [ebp - 0xc]
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40e889
mov eax, 0x4d9232
push eax
push 3
mov ebx, 0x42ece0
call fcn.0042cc36
add esp, 0x28
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e8ac
push ebx
call fcn.0042cc2a
add esp, 4
push 1
push dword [ebp - 0xc]
push 0x40f55d
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
push 0x4d9232
mov ebx, dword [ebp + 0x20]
push dword [ebx]
call fcn.00401eb2
add esp, 8
cmp eax, 0
je 0x40e8f3
push dword [ebp + 0x20]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e921
push ebx
call fcn.0042cc2a
add esp, 4
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 - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e94b
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x28]
mov dword [ebx], eax
cmp dword [ebp + 0x4c], 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40e9cf
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x42ecd0
call fcn.0042cc36
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40e9b9
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x42ecd0
call fcn.0042cc36
add esp, 0x10
mov ebx, dword [ebp + 0x48]
mov dword [ebx], eax
jmp 0x40e9cf
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xdc]
mov ebx, dword [ebp + 0x48]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov eax, 4
mov ebx, 0x490a10
call fcn.0042cc54
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov eax, 4
mov ebx, 0x490a10
call fcn.0042cc54
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x42ecd0
call fcn.0042cc36
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40ea43
lea eax, [ebp - 0x18]
push eax
call fcn.0040ea96
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov eax, 4
mov ebx, 0x490a10
call fcn.0042cc54
add esp, 0x10
mov eax, 0x4d9232
jmp 0x40ea6e
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 0x40ea8f
push ebx
call fcn.0042cc2a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x50