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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [0x5101d8], 0
je 0x416423
call fcn.0041646f
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.004164ca
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.00416e61
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x416248
push ebx
call fcn.0041d258
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41625c
push ebx
call fcn.0041d258
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x4ac60c
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
test eax, eax
je 0x41628f
mov eax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_
jmp 0x4162ad
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4162ad
push eax
mov ebx, eax
call fcn.00401c3e
inc eax
push eax
call fcn.0041d264
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00416e61
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4162de
push ebx
call fcn.0041d258
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4162f2
push ebx
call fcn.0041d258
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x4ac60c
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x416348
lea eax, [ebp - 8]
push eax
call fcn.00416f9f
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
push dword [ebp - 0x10]
mov eax, 0x33
call fcn.0041d282
mov dword [0x5101d0], eax
jmp 0x4163b9
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0x14]
call fcn.00416e61
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x416379
push ebx
call fcn.0041d258
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.00416f9f
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00416f9f
mov dword [ebp - 0x14], eax
push 0
push 0
push dword [ebp - 0x14]
push 3
push dword [ebp - 0x10]
mov eax, 0x33
call fcn.0041d282
mov dword [0x5101d0], eax
cmp dword [0x5101d0], 0
jle 0x416419
lea eax, [ebp - 4]
push eax
call fcn.00416f9f
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.0041701e
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [0x5101d0]
mov eax, 0x34
call fcn.0041d282
mov dword [0x5101cc], eax
cmp dword [0x5101cc], 1
jge 0x416414
mov dword [0x5101cc], 0
jmp 0x416423
mov dword [0x5101d0], 0
cmp dword [0x5101cc], 0
mov eax, 0
setne al
jmp 0x416437
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x416448
push ebx
call fcn.0041d258
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x416458
push ebx
call fcn.0041d258
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x416468
push ebx
call fcn.0041d258
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14