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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41d4d2
sub esp, 0x38
mov ecx, dword [0x97503c]
mov eax, dword [esp + 0x40]
cmp eax, ecx
jae 0x41d4cc
mov edx, dword [0x975038]
mov eax, dword [edx + eax*4]
cmp eax, 0x400
jae 0x41d4c2
mov ecx, dword [0x974ff4]
test byte [ecx], al
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x2c], eax
test byte [eax], al
mov ecx, dword [0x974fb0]
mov dword [esp + 0x1c], ecx
xor edx, edx
jmp 0x41d28b
mov ebx, dword [esp + 0x28]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
cmp edx, 0x40
jge 0x41d2b4
mov dword [esp + 0x28], edx
lea ecx, [eax + edx + 0x21880]
mov dword [esp], ecx
call fcn.00402aa0
movzx eax, byte [esp + 4]
test al, al
je 0x41d27c
mov byte [esp + 0x17], al
xor ecx, ecx
jmp 0x41d2b9
add esp, 0x38
ret
inc ecx
cmp ecx, 8
jae 0x41d27c
mov edx, 1
shl edx, cl
test al, dl
je 0x41d2b8
mov edx, dword [esp + 0x28]
lea ebx, [ecx + edx*8]
cmp ebx, 0x200
jae 0x41d4b6
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + ebx*4 + 0x21000]
mov dword [esp + 0x20], ecx
test byte [ecx], al
lea edx, [ecx + 0x3f]
nop
mov dword [esp], edx
call fcn.00402aa0
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x41d45f
movzx eax, byte [0x994f0a]
test al, al
je 0x41d31c
mov eax, dword [esp + 0x20]
jmp 0x41d336
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
je 0x41d336
lea ebx, [edx + 3]
cmp ecx, ebx
jne 0x41d3f3
lea ecx, [eax + 0x4c]
mov dword [esp + 0x34], ecx
nop
mov dword [esp], ecx
call fcn.0040a350
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x50]
jmp 0x41d36c
nop
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0040a550
movzx eax, byte [esp + 0x17]
mov ecx, dword [esp + 0x24]
jmp 0x41d2b8
mov ecx, dword [ecx]
test ecx, ecx
je 0x41d34f
cmp byte [ecx + 6], 1
jne 0x41d36a
mov edx, dword [eax + 0x44]
test edx, edx
je 0x41d3ee
mov dword [esp + 0x18], ecx
movzx ebx, word [ecx + 4]
mov ebp, eax
mov eax, ebx
mov esi, edx
xor edx, edx
div esi
imul eax, esi
movzx edx, byte [ebp + 0x3e]
mov ebx, dword [ebp + 0xc]
add ebx, eax
test dl, 1
jne 0x41d3b4
mov dword [esp], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0041f590
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], 4
lea eax, [0x937240]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.0041f470
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x41d36a
call fcn.004379d0
mov dword [esp + 0x30], ecx
call fcn.0043af60
lea eax, [0x73ac51]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043b7e0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0043b4c0
call fcn.0043b130
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0043b4c0
call fcn.0043b170
call fcn.0043afc0
lea eax, [0x73e17c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00439230
mov byte [esp + 0x16], al
call fcn.0043af60
lea eax, [0x73bd14]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043b7e0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x16]
movzx eax, al
mov dword [esp], eax
call fcn.0043b4c0
call fcn.0043b170
call fcn.0043afc0
lea eax, [0x74b855]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.00439230
mov eax, ebx
mov ecx, 0x200
call fcn.00468ee0
mov ecx, 0x400
call fcn.00468ee0
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.0041d220