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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
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
cmp dword [ebp + 0x50], 0
jne 0x41da33
mov dword [ebp + 0x4c], 5
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5a5546
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41da66
mov eax, 0x5a44b1
push eax
push 4
mov ebx, 0x4bc0e0
call fcn.004bb3a0
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x41da8d
mov dword [ebp + 0x4c], 0xf
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5a554c
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x41dac0
mov eax, 0x5a44b1
push eax
push 4
mov ebx, 0x4bc0e0
call fcn.004bb3a0
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41dafa
mov eax, 0x5a5557
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41daf6
push ebx
call fcn.004bb388
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
mov ebx, 0x4be6a0
call fcn.004bb3a0
add esp, 4
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x54]
call fcn.0041e018
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push 0x5a44b4
push dword [ebp - 4]
mov ecx, 3
call fcn.004010c1
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.004bb38e
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp + 0x4c]
push 1
push dword [ebp + 0x54]
push 1
push dword [ebp + 0x44]
push 1
push dword [ebp + 0x3c]
push 1
push dword [ebp + 0x5c]
push 1
push dword [ebp + 0x34]
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x1c]
push 1
push dword [ebp + 0x14]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408292
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41dbf4
push ebx
call fcn.004bb388
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4c04e0
call fcn.004bb3a0
add esp, 0x10
call fcn.004bb388
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.00403fb6
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41dc33
push ebx
call fcn.004bb388
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41dc47
push ebx
call fcn.004bb388
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x4be6a0
call fcn.004bb3a0
add esp, 4
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 8]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fdiv qword [0x5a47c5]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
mov ebx, 0x4bbb80
call fcn.004bb3a0
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5a55d7
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41dcd4
mov eax, 0x5a44b1
push eax
push 4
mov ebx, 0x4bc0e0
call fcn.004bb3a0
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x41dd15
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41dd10
push eax
mov ebx, eax
call fcn.00401056
inc eax
push eax
call fcn.004bb38e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41dfc0
lea eax, [ebp - 0x14]
push eax
call fcn.0041d831
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41dd35
push ebx
call fcn.004bb388
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x5a4dbd
push dword [ebp - 0x18]
call fcn.0040111d
add esp, 8
cmp eax, 0
jne 0x41df4c
mov ebx, dword [ebp + 0x5c]
cmp dword [ebx], 0x199
je 0x41dd92
mov ebx, dword [ebp + 0x5c]
cmp dword [ebx], 0x191
je 0x41dd92
mov ebx, dword [ebp + 0x5c]
cmp dword [ebx], 0xcc
je 0x41dd92
mov ebx, dword [ebp + 0x5c]
cmp dword [ebx], 0xc8
je 0x41dd92
xor eax, eax
jmp 0x41dd97
mov eax, 1
test eax, eax
je 0x41ddc0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41ddbb
push eax
mov ebx, eax
call fcn.00401056
inc eax
push eax
call fcn.004bb38e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41dfc0
cmp dword [0xf65350], 4
je 0x41de09
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
call fcn.0041cdd4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41de03
push ebx
call fcn.004bb388
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x54]
call fcn.0041e018
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push 0x5a44b4
push dword [ebp - 4]
mov ecx, 3
call fcn.004010c1
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.004bb38e
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp + 0x4c]
push 1
push dword [ebp + 0x54]
push 1
push dword [ebp + 0x44]
push 1
push dword [ebp + 0x3c]
push 1
push dword [ebp + 0x5c]
push 1
push dword [ebp + 0x34]
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x1c]
push 1
push dword [ebp + 0x14]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408292
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41deee
push ebx
call fcn.004bb388
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4c04e0
call fcn.004bb3a0
add esp, 0x10
call fcn.004bb388
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.00403fb6
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41df2d
push ebx
call fcn.004bb388
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41df41
push ebx
call fcn.004bb388
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0xa
jle 0x41df9f
cmp dword [0xf65350], 4
je 0x41df9f
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
call fcn.0041cdd4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41df99
push ebx
call fcn.004bb388
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41dfbb
push eax
mov ebx, eax
call fcn.00401056
inc eax
push eax
call fcn.004bb38e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41dfc0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41dfd1
push ebx
call fcn.004bb388
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41dfe1
push ebx
call fcn.004bb388
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41dff1
push ebx
call fcn.004bb388
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41e001
push ebx
call fcn.004bb388
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41e011
push ebx
call fcn.004bb388
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x5c