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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7a18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4d6750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [0x4dcfc0], 0
mov dword [esp + 0x1c], vtable.xurl_handle.0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x28], 0
jne 0x418467
call fcn.004197b0
test eax, eax
je 0x418467
mov dword [esp + 0x20], 0
jmp 0x4184ef
lea ecx, [esp + 0x10]
call fcn.0041f760
test eax, eax
je 0x41847e
mov dword [esp + 0x20], 0
jmp 0x4184ef
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4184ef
push 1
push 0x34
push eax
call fcn.00419920
mov dword [esp + 0x30], eax
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4184ef
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_36.0.1985.125_Safari_537.36
push 0x2722
push eax
call fcn.00419920
mov dword [esp + 0x30], eax
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4184ef
lea ecx, [esp + 0x1c]
push ecx
push 0x2749
push eax
call fcn.00419920
add esp, 0xc
push sym.ali213Update.exe_private:_static_int___cdecl_xurl_handle::private_xurl_progress_callback_void___long_long___int64___long_long___int64___long_long___int64___long_long___int64__
push 0x4efb
push dword [esp + 0x28]
call fcn.00419920
add esp, 0xc
mov dword [esp + 0x24], eax
push 0x4b72ec
push dword [ebp + 0xc]
mov dword [esp + 0x40], 0
xor esi, esi
call fcn.00488d83
mov edi, eax
add esp, 8
test edi, edi
je 0x41861c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x418613
push dword [ebp + 8]
push 0x2712
push eax
call fcn.00419920
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
sete al
test al, al
je 0x418613
mov eax, dword [esp + 0x20]
test eax, eax
je 0x418613
push edi
push 0x2711
push eax
call fcn.00419920
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
sete al
test al, al
je 0x418613
mov eax, dword [esp + 0x20]
test eax, eax
je 0x418613
push sym.ali213Update.exe_private:_static_unsigned_int___cdecl_xurl_handle::fwrite_header_void_const___unsigned_int__unsigned_int__void__
push 0x4e6f
push eax
call fcn.00419920
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4185b3
lea eax, [esp + 0x1c]
push eax
push 0x272d
push ecx
call fcn.00419920
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x24], eax
call fcn.00419ad0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4185d9
push 0xffffffffffffffff
push 0x3c
push ecx
call fcn.00419920
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
sete al
test al, al
je 0x418613
xorps xmm0, xmm0
movsd qword [esp + 0x14], xmm0
test ecx, ecx
je 0x41860c
lea eax, [esp + 0x14]
push eax
push 0x300008
push ecx
call fcn.00419b80
movsd xmm0, qword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x24], eax
call fcn.004a5931
mov esi, eax
push edi
call fcn.00488f02
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], vtable.xurl_handle.0
test ecx, ecx
je 0x418640
cmp byte [esp + 0x28], 0
jne 0x418640
call fcn.0041f320
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret